Find answers from the community

Updated 2 months ago

Kwargs

ContextChatEngine.from_defaults() ignores kwargs πŸ˜›
L
i
7 comments
Kwargs are just there because of kwargs abuse during index.as_chat_engine lol
What were you trying to pass in?
An override for the context string
I ended up overloading the constructor since I already had a subclass
Ah yea, it's a little hard-coded at the moment, makes sense.

The system prompt passed in gets appended to it though
yep, but the LLM has an unfortunate habit of saying "not in the context" which to an end-user is like "what the heck is a context"
so i changed the default context to use the word "information below" instead of "context below" so it stops mentioning it
Add a reply
Sign up and join the conversation on Discord