Enhance Docker configuration and Hugging Face integration
82549b8
mayankchugh-learningcommited on
Enhance environment configuration and API documentation for Milestone 11
a32f9e3
Mayank Chughcommited on
Enhance API and Streamlit UI with new timeout handling and telemetry adjustments
393bec4
mayankchugh-learningcommited on
Implement Milestone 8 by adding new endpoints for URL ingestion and collection management. Introduce `httpx` as a dependency for handling URL downloads, and enhance the API with endpoints for listing and deleting collections. Update request and response models to support new functionalities, and refactor existing routes for improved clarity and organization.
bdfb32d
Mayank Chughcommited on
Enhance embedding and chat model integration by adding support for community Hugging Face models. Update error handling for missing dependencies and ensure API keys are securely managed using SecretStr. Refactor embedding function and chat model creation to accommodate new imports and improve robustness.
2d0f889
Mayank Chughcommited on
Refactor embedding and chat model integration to use langchain-huggingface. Update HuggingFace embedding function to require API key and adjust error handling. Modify retriever to import from langchain-huggingface and enhance chat model creation with temperature setting.
250ed34
Mayank Chughcommited on
Implement Milestone 5 by adding retrieval and grounded LLM answer functionality. Update query endpoint to return grounded answers with source citations, enhance response models to include answer and sources, and refactor retriever logic to support new chunk structure and grounding mechanism. Update milestones documentation to reflect new dependencies and expected outputs.
c0007ba
Mayank Chughcommited on
Refactor embedding function creation and document loading. Update ingest and query routes to remove unnecessary settings parameters, streamline chunking logic, and enhance load_documents function to handle both string and list inputs. Adjust model name in embedder for consistency with OpenAI API.
830947a
Mayank Chughcommited on
Enhance configuration and ingestion functionality for Milestone 4. Update .env.example with new environment variables, expand milestones documentation with integration details, and add necessary dependencies to pyproject.toml and requirements.txt. Refactor ingest and query routes to support file uploads and retrieval, implementing validation and error handling. Update settings to include new model configurations and parameters for chunking and embedding.