Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 2 months ago
0
Follow
Kwargs
Kwargs
Inactive
0
Follow
i
isaackogan
last year
Β·
ContextChatEngine.from_defaults() ignores kwargs π
L
i
7 comments
Share
Open in Discord
L
Logan M
last year
Kwargs are just there because of kwargs abuse during index.as_chat_engine lol
L
Logan M
last year
What were you trying to pass in?
i
isaackogan
last year
An override for the context string
i
isaackogan
last year
I ended up overloading the constructor since I already had a subclass
L
Logan M
last year
Ah yea, it's a little hard-coded at the moment, makes sense.
The system prompt passed in gets appended to it though
i
isaackogan
last year
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"
i
isaackogan
last year
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
Join on Discord