QuivrHQ / quivr

Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisation! Any LLM: GPT4, Groq, Llama. Any Vectorstore: PGVector, Faiss. Any Files. Anyway you want.
https://core.quivr.com
Other
36.69k stars 3.59k forks source link

[Bug]: the knowledge counter is stuck at 1000 #3137

Open atulgrover opened 2 months ago

atulgrover commented 2 months ago

What happened?

A bug happened! image [Bug]: the knowledge counter is stuck at 1000

Relevant log output

No response

Twitter / LinkedIn details

No response

linear[bot] commented 2 months ago

CORE-187 [Bug]: the knowledge counter is stuck at 1000

dosubot[bot] commented 2 months ago

The knowledge counter is limited to a maximum value of 1000 for the model "mistral/mistral-small" due to a condition in the code:

case "mistral/mistral-small":
  return 1000;

You can find this condition in the defineMaxTokens.ts file [1].

To continue talking to Dosu, mention @dosu.

StanGirard commented 2 months ago

Hey Mate,

You can go to backend/supabase/config.toml and increase the max rows to 2000. Be careful it has some performance issues ->

image.png

Then simply supabase stop && supabase start and you'll be good to go