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

Simpler context management for LLMs #147

Open
chadbailey59 opened this issue May 16, 2024 · 2 comments
Open

Simpler context management for LLMs #147

chadbailey59 opened this issue May 16, 2024 · 2 comments

Comments

@chadbailey59
Copy link
Contributor

As mentioned in Discord, Pipecat bots don't automatically maintain an LLM context object for you; instead, you have to use a bunch of aggregators and other tools to manage that yourself.

We originally built that because there were plenty of use cases where you didn't necessarily want to automatically store everything the user or bot said in the context, but we should consider adding an 'easy mode' that does this for you.

@ramishi
Copy link

ramishi commented May 22, 2024

Will you please consider adding https://dify.ai/ supports? it will solve the context issue and overall LLOMps solution.

@TomTom101
Copy link
Contributor

Langchain's message history comes in handy here, see the langchain example. You can store the history per speaker, summarize long conversations, persist in a database etc.

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

No branches or pull requests

3 participants