Spaces:
Sleeping
Sleeping
Commit History
-
Update main entry point for nl2sql application > app/main.py
1. Run from the main entry point, main.py 2. Remove local test block for db_manager, hf_engine, and sql_agenta218c12 -
Update evaluation script and test cases json
1. Update evaluation scripts to utilise agent sql instead of directly use engine LLM 2. Tweak questions and sql in test cases json71c851f
-
Update SQL agent > src/nl2sql/sql_agent.py
1. Act as a bridge connect the db_manager and hf_engine. 2. Utilize PromptTemplate to instruct LLM on its persona.dc6fe88 -
Update HF Model Engine > hf_engine.py
1. Implement custom wrapper for LangChain compatibility for later agent implementation. 2. Use InferenceClient to initialize the model with Inference API Provider 3. Tested with local code block - Successfully loaded5ac1ec2 -
Update Schema Retrieval using RAG and LangChain
1. Packages Requirements: pip install > langchain-community chromadb langchain-chroma langchain-huggingface sentence-transformer 2. File Changes: - db_manager.py - .env - .gitignore - requirements.txtccb82de
-
Try and Error to Improve Accuracy
Trying Codex to improve model accuracy0731ede
-
NL2SQL Qwen Model V1.0.0
97dafec