-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Langchain Genie #5
Conversation
Signed-off-by: Prithvi Kannan <[email protected]>
Signed-off-by: Prithvi Kannan <[email protected]>
Signed-off-by: Prithvi Kannan <[email protected]>
Signed-off-by: Prithvi Kannan <[email protected]>
Signed-off-by: Prithvi Kannan <[email protected]>
Signed-off-by: Prithvi Kannan <[email protected]>
return {"messages": [AIMessage(content="")]} | ||
|
||
|
||
def GenieAgent(genie_space_id, genie_agent_name="Genie", description=""): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding description
to the interface, but TBD on how this will be used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
genie = Genie(genie_space_id) | ||
|
||
message = f"I will provide you a chat history, where your name is {genie_agent_name}. Please help with the described information in the chat history.\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question here: Are we expecting users to use the genie agent name in their questions? Will the questions be something like:
"Use Genie to get me my financial records"
Will this also work when users ask "Get my financial records"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ideal end state is that the user can just specify "Get my financial records". This name is needed so that in a multi-agent (and in the future multi-user) chat array agents can identify who said what.
Create a
GenieAgent
indatabricks_langchain