Prerequisites
- Sign up for a Relace account.
- Create an API key.
- Connect to the Relace GitHub App.
1
Import GitHub Project
We’ll start by creating a new Relace Repo using GitHub as a Behind the scenes, we clone your repo and kick of an asychronous job to intelligently chunk and index the codebase with our code embeddings model.This process is usually fast, but for very large repositories (i.e. 100+ MB), it can take upwards of 5 minutes.
source
.2
Perform Semantic Search
You can now use the The response will be a list of objects that provide a relevance score for each file.For more details, see our API reference.
retrieve
endpoint to score files based on relevance to a query in natural language!