Semantic search demonstration over quantamagazine.org content.
- JDK 11 or above
- Maven
- Create an account and a corpus in Vectara Console.
- Go to Vectara Console Authentication menu and create an App Client
- Note down the following three things from App Client page in Console.
- App Client ID
- App Client Secret
- Auth URL (This is available near the top of the page)
- Also note down your Vectara customer/account ID and the Corpus ID (of the corpus you want to index data to, or query.)
- Update the configuration file at src/main/resources/vectara.properties
- To crawl and index Quanta Magazine articles for year 2020 (you only need to do this once).
mvn package -P index
- To run the server
mvn package -P server
- Open a browser and go to
http://localhost:8080