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

Add history support for ollama api #650

Merged
merged 14 commits into from
Jan 26, 2025

Conversation

danielaskdd
Copy link
Contributor

@danielaskdd danielaskdd commented Jan 25, 2025

Add conversation history support to chat API

  • Added HISTORY_TURNS env variable
  • Modified server to handle conversion history and history_turns for Ollama api
  • Fix history_context handling error in kg_query
  • Added history to test cases
  • Remove lightrag_api_open_webui_demo.py file, because all all the function is already implemented in lightrag-server.py
  • Fetch chunk size and chunk overlap size from .env file
  • Refactoring command line argurements handling logic
  • Add more RAG config to splash screen

@LarFii LarFii merged commit bd2b3f3 into HKUDS:main Jan 26, 2025
1 check passed
@danielaskdd danielaskdd deleted the Add-history-support-for-ollama-api branch January 27, 2025 18:28
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

Successfully merging this pull request may close these issues.

2 participants