Find answers from the community

Updated 3 months ago

Hello everyone,

Hello everyone,

I already got a VectorStoreIndex with custom chat history setup.

How do I add a system prompt or something similar? To give the bot some name and restrictions?

Im really frustrated and would be so happy if anyone could help
L
N
9 comments
Depends on what your setup looks like tbh

You might need to modify the query engine prompts to include your system prompt, if you are returning that directly
Could condense_plus_context chatmode be the solution?
Let me try one more time before I get back here 😦
yea you can just pass a system prompt kwarg to that
Omg I think it works
Amazing project btw, have used this in several prod systems
great! Glad it works. And I'm glad you are enjoying using the framework ❤️ :LlamaIndex:
This was it
Attachment
image.png
Add a reply
Sign up and join the conversation on Discord