Quickstart
Do your first search in three steps.
1. Create a project
- Create an account.
- Open Projects and click Create project. Give the project a name.
- On the Connectors tab, add files, a folder, a zip file, a GitHub repository or files from Google Drive.
The project page shows the project ID, with a button to copy it.
2. Copy your key
In the app, open API keys and copy the key. The key starts with grape_. Keep it in an environment variable:
export GRAPE_KEY=grape_...
export PROJECT=your-project-id3. Search
curl -X POST https://grape-inc.in/v1/projects/$PROJECT/search \
-H "Authorization: Bearer $GRAPE_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "How many hearts does an octopus have?", "limit": 2}'Send the passages in hits to your LLM. Code examples shows the brief-first prompts that the benchmark measures. Read the brief of the project one time. Search. Then answer, or search again with the words of the documents.