Spaces:
Runtime error
Runtime error
Commit History
-
migrate to pinecone and show graph color
Aryan Jain411c555
-
feat: enhance DataExtractorService with table model mapping and schema extraction; integrate PydanticAgent and ChromaClient for data processing
Aryan Jain12ed030
-
feat: Add Pydantic models for query extraction and implement PydanticAgent for SQL query verification
Aryan Jain- Updated pyproject.toml to include dependencies for pydantic-ai-slim and openai. - Created new Pydantic models in _pydantic_agent.py for handling messages, table details, join conditions, filter conditions, order conditions, and query extraction. - Implemented validation logic in QueryExtractor to ensure SQL queries are verified and marked as safe. - Introduced PydanticAgent class to interact with OpenAI API and verify SQL queries against the database. - Added utility functions for handling asynchronous operations and error management.5f22dc5 -
feat: Initialize FastAPI project with database configuration and CRUD structure
Aryan Jain- Added pyproject.toml for project metadata and dependencies. - Created main application file (app.py) with FastAPI setup and CORS middleware. - Implemented database configuration using SQLAlchemy with async support. - Established base controller, service, repository, and model classes for CRUD operations. - Set up Pydantic schemas for data validation. - Included health check endpoint in the FastAPI application. - Organized project structure with separate directories for entities, controllers, and services.047d92b