Commit Graph

117 Commits

Author SHA1 Message Date
sajad-dev edabc80362 CI/CD 2026-03-20 03:02:55 +03:30
sajad-dev 872391a64e Merge pull request 'CI/CD' (#3) from develop into production
Reviewed-on: http://85.208.253.135:3000/sajad-dev/Ai/pulls/3
2026-03-19 23:31:14 +00:00
sajad-dev 802bf1d88e CI/CD 2026-03-20 03:00:45 +03:30
sajad-dev 441f53f6b0 CI/CD 2026-03-20 02:58:52 +03:30
sajad-dev daf75da641 Merge pull request 'CI/CD' (#2) from develop into production
Reviewed-on: http://85.208.253.135:3000/sajad-dev/Ai/pulls/2
2026-03-19 23:20:42 +00:00
sajad-dev 0cf1bfcd45 CI/CD 2026-03-20 02:50:00 +03:30
sajad-dev b084fabaeb Merge pull request 'CI/CD' (#1) from develop into production
Reviewed-on: http://85.208.253.135:3000/sajad-dev/Ai/pulls/1
2026-03-19 23:16:49 +00:00
sajad-dev 7f20611617 CI/CD 2026-03-20 02:45:41 +03:30
sajad-dev 529964f6f2 Ci Cd 2026-03-20 02:41:11 +03:30
sajad-dev 035bc6f74d first commit 2026-03-19 22:54:29 +03:30
sajad-dev 1a178f39b7 Remove knowledge_base module files
- Deleted unused files from the knowledge_base module, including __init__.py, apps.py, chunks.py, embeddings.py, indexer.py, and management commands.
- This cleanup helps streamline the codebase by removing obsolete components.
2026-02-27 20:09:51 +03:30
sajad-dev 2c42ebe01c Refactor user data handling and enhance chat functionality
- Removed deprecated user_info files and paths from configuration.
- Added user soil data integration in chat context to improve response accuracy.
- Updated build_rag_context and chat_rag_stream functions to include sensor_uuid for user-specific data retrieval.
- Enhanced load_sources function to load user data from the database.
- Implemented filtering in search_with_query and QdrantVectorStore to isolate user data based on sensor_uuid.
- Introduced Celery Beat schedule for periodic user data ingestion.
2026-02-27 20:06:46 +03:30
sajad-dev 94355af62b Add LLM configuration and update URL routing
- Introduced LLM configuration in rag_config.yaml and corresponding LLMConfig class in config.py.
- Updated load_rag_config function to parse LLM settings from the configuration file.
- Added new API route for RAG in urls.py to facilitate access to the chat model.
- Modified QdrantVectorStore to use query_points method for improved functionality.
2026-02-27 19:44:49 +03:30
sajad-dev 197f70ee12 Add Qdrant and ChromaDB support to the project
- Added Qdrant service to both docker-compose files for production and development.
- Updated environment variables in .env.example and settings.py to include Qdrant configuration.
- Included necessary dependencies for Qdrant and ChromaDB in requirements.txt.
- Updated .gitignore to exclude ChromaDB data files.
2026-02-27 19:37:02 +03:30
sajad-dev 9ec0807d3c Add sensor_data app to Django settings and URL routing
- Included sensor_data in the INSTALLED_APPS of settings.py.
- Added URL path for sensor_data in urls.py to enable API access.
2026-02-27 13:31:16 +03:30
sajad-dev 09e0c26c68 Add Redis service and Celery configuration to Docker setup
- Introduced Redis service in both docker-compose files for production and development.
- Updated web and celery services to use Redis as the broker and result backend.
- Added necessary environment variables for Celery in settings.py.
- Included new tasks and soil_data apps in Django settings and updated URL routing.
- Updated requirements.txt to include Celery and Redis dependencies.
2026-02-27 13:09:00 +03:30
sajad-dev f6ac30aa34 First commit 2026-02-19 17:55:33 +03:30