Embeddings issue in the generate_user_intent action for Topical Rails use case #1245
roldanjorge
started this conversation in
General
Replies: 0 comments
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.
-
Hi, I am currently using
nemoguardrails==0.11.0
. I am using Topical rails and I am having issues originating from thegenerate_user_intent
method in the generation.py file.The issue is that when the method self.user_message_index.search(...) is called it always returns the same embedding corresponding to the same user input in my colang file. This embedding is stored in the results and eventually used as part of the examples that are an message to the GENERATE_USER_INTENT prompt . Instead of returning the same embedding, I am expecting more embeddings from my colang file similar to the user message. This issue is causing significant performance drops because the example used in the prompt is always the same.
Beta Was this translation helpful? Give feedback.
All reactions