Skip to content
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

conversational mode #45

Closed
lostmygithubaccount opened this issue Mar 5, 2024 · 0 comments
Closed

conversational mode #45

lostmygithubaccount opened this issue Mar 5, 2024 · 0 comments
Labels

Comments

@lostmygithubaccount
Copy link
Member

re-implement conversational mode for the bot

there is currently a conversational: bool input to the bot that defaults to False. this work would, when setting that to True:

  • use all (or the relevant subset) of messages and attachments as input to the bot's flows
  • may or may not include smart methods to avoid context length issues, improve accuracy, decrease time to response, etc.

why?

right now, if I ask a bot w/ access to the IMDB database:

bot("what are the top rated movies?")

I get a response w/ a bunch of irrelevant movies

as a follow-up, if I ask:

bot("with at least 100k ratings")

the bot has no context of the previous message and results. ideally, it would "know" that I'm talking about appending instructions to the previous message, re-use the CodeAttachment from that preivous message, etc.

how?

could naively pass in all messages to the Flows. would need some way to pick out relevant messages (see Marvin classification, extraction methods)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant