madtank / OllamaAssist

A versatile AI chatbot leveraging function-calling language models via Ollama. Features include advanced function calling, self-reflection, and a Streamlit interface. Optimized for Llama models but adaptable to other function-calling LLMs. Run powerful AI assistants locally with enhanced interactivity.
MIT License
11 stars 0 forks source link

Refactor OllamaAssist to use LangChain #1

Open madtank opened 16 hours ago

madtank commented 16 hours ago

Refactor OllamaAssist to use LangChain

Objective

Refactor the OllamaAssist project to integrate LangChain, improving code structure, flexibility, and enabling advanced features like dynamic tool usage and improved context management.

Tasks

1. Setup and Preparation

2. Refactor llm_helper.py

3. Refactor tools.py

4. Refactor ollama_chatbot.py

5. Testing and Debugging

6. Further Enhancements (Optional)

Notes

Resources