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.
Well there is a class for HuggingFace models. However, when I import HuggingFace class it does not import.
from mindsql.llms import GoogleGenAi, HuggingFace
Error:
Traceback (most recent call last):
File "/media/ksquarez/MLAI/nl2sql/MindSQL/poc/trial.py", line 5, in <module>
from mindsql.llms import GoogleGenAi, HuggingFace
ImportError: cannot import name 'HuggingFace' from 'mindsql.llms' (/media/ksquarez/MLAI/nl2sql/MindSQL/.venv/lib/python3.10/site-packages/mindsql/llms/__init__.py)
Well there is a class for HuggingFace models. However, when I import HuggingFace class it does not import.
from mindsql.llms import GoogleGenAi, HuggingFace
Error:
Am I importing it incorrectly? How do I use it?