This is a Next.js project bootstrapped with create-next-app.
- Search for GitHub repositories using natural language.
- Uses trufflepig, an end to end semantic search API, to index GitHub repositories and provide accurate search results.
To get started you'll need to create a Trufflepig account and obtain an API key as well as a GitHub access token. You can follow the instructions in the trufflepig documentation to set up your account and obtain your API key.
Run the development server:
npm run dev
Then open http://localhost:3000 with your browser to see the result.
To index GitHub repositories, we used the trufflepig API. This API provides a simple and efficient way to index unstructured data and perform semantic search. index_github.ipynb contains the code we used to index GitHub repositories in trufflepig.
You can use this repo as an example of how to quickly setup a custom semantic search engine on your unstructured dataset.