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

Feature request: Add built-in support for conversational API calls with context #235

Open
kuafucode opened this issue Oct 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kuafucode
Copy link

Some people expect APIs to behave like chatgpt to keep conversation in memory between API calls in a session, and to their surprise, this is often not built in in many models. A general approach to implement conversational api calls like in a chatbot is to include the whole chat history in prompting and RAGing it.

I think it would be helpful to add a model agnostic interface to serve as persistent layer and RAG processor, it would same a lot of wheel re-inventing, and easier to blend in model support when there are any.

related issue: #45

more related issues in other projects:
ollama/ollama#4374
https://community.openai.com/t/how-do-you-maintain-historical-context-in-repeat-api-calls/34395

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

No branches or pull requests

2 participants