Mindinventory / MindSQL

MindSQL: A Python Text-to-SQL RAG Library simplifying database interactions. Seamlessly integrates with PostgreSQL, MySQL, SQLite, Snowflake, and BigQuery. Powered by GPT-4 and Llama 2, it enables natural language queries. Supports ChromaDB and Faiss for context-aware responses.
https://www.mindinventory.com/text-to-sql-mindsql.php?utm_source=sampromotiion&utm_medium=Button&utm_campaign=sampromotion&utm_id=sampromotion&utm_term=sampromotiion&utm_content=sampromotiion
GNU General Public License v3.0
236 stars 19 forks source link

Ollama llm integration #19

Closed cyrannano closed 3 months ago

cyrannano commented 3 months ago

Description

This PR introduces the integration of Ollama support within the mindsql module. The Ollama class has been added, allowing for interaction with Ollama's APIs. This includes the implementation of methods to connect to Ollama's service, execute API requests, and handle responses efficiently.

Related Issue

N/A

Proposed Changes