Vector Database Search Interrupted by Lengthy System Prompts #6391
Unanswered
chalitbkb
asked this question in
Troubleshooting
Replies: 1 comment 1 reply
-
@danny-avila Could you please provide the reason for closing this thread? I hope you closed it by mistake and understand my explanation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
A bug was identified where setting a longer "system prompt" prevents vector data searches from being executed or skips the vector search component, while still processing the "system prompt" normally. However, when I tested with a smaller, not excessively long system prompt, vector data searches proceeded as usual.
Version Information
grep librechat
Steps to Reproduce
Create a System Prompt:
Initiate Vector Data Search:
Observe the Behavior:
Modify the System Prompt:
Retry Vector Data Search:
Compare Results:
What browsers are you seeing the problem on?
No response
Relevant log output
Screenshots
- When a large system prompt is set, the vector search is skipped
- Reducing the length of the system prompt allows vector search to function normally
Therefore, configuring system prompts to be longer based on user requirements should not impact vector searches.
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions