How to pass user data in the user question? #291
Unanswered
swati-ncash
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discussed in #280
Originally posted by swati-ncash March 7, 2024
If a user asks a question like "what is my address?" then I should be able to send user id in the question so that only my data is fetched. this can be done by replacing 'my' with user id and send it to generate_sql. This works. But what if the question doesnt have any such prononon that can replaced then how to send user identifier in the question to LLM.
Also, def generate_sql(self, question: str, **kwargs) -> str: has **kwargs. How to use these?
Beta Was this translation helpful? Give feedback.
All reactions