typesense / typesense/typesense-website
can't create a Conversation Search(Build-in RAG) model
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 66
- Forks
- 201
- Avg merge
- 12d 17h
- Merged PRs (30d)
- 4
Description
I can't create a model. I am following the documentation:
1 -> first step ok: {"message": "A collection with name conversation_store already exists."}%
2 step: {"message": "Gemini API error: "}%
and this is what I use to get the error(changed the API Key of course with the one I recently created in ai studio:
curl 'http://localhost:8108/conversations/models'
-X POST
-H 'Content-Type: application/json'
-H "X-TYPESENSE-API-KEY: xyz"
-d '{
"id": "conv-model-1",
"model_name": "google/gemini-2.0-flash",
"history_collection": "conversation_store",
"api_key": "AIaksdjfadsjbf",
"system_prompt": "You are an assistant for question-answering. You can only make conversations based on the provided context. If a response cannot be formed strictly using the provided context, politely say you do not have knowledge about that topic.",
"max_bytes": 16384
}'
{"message": "Gemini API error: "}%
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the documented Conversation Search model creation request with the provided curl command and compare the successful collection-creation step with the Gemini API error in step 2. Check whether the documented model_name and API key format match the request; done means the model is created without the Gemini error.
Written by the indexing model from the issue text.
Assessment
- Domain
- ai, api, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100