This project is an implementation of a tagging system using llamaindex, OpenAI, and Mistral AI. It's designed to tag input text, leveraging the strengths of each AI system. The output of the tagging process is structured using a robust Pydantic model. And it can also operate locally via Ollama for enhanced privacy and security.
- Integration with llamaindex, OpenAI, and Mistral AI for advanced tagging.
- Customizable Pydantic model for output schema.
- Local AI processing with Ollama for data privacy and security.
- Python 3.9.x
- OpenAI and MistralAI API keys.
- Ollama instance
pip install -r requirements.txt
Follow the readme to set up and run a local Ollama instance.