Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
LeoNguyen101120
/
ai-assistance
like
1
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
ai-assistance
/
src
Ctrl+K
Ctrl+K
5 contributors
History:
87 commits
LeoNguyen101120
Update src/constants/config.py
015d013
verified
about 1 month ago
constants
Update src/constants/config.py
about 1 month ago
models
Refactor chat handling and model integration: Update .env.example to include new API keys, modify main.py to implement a lifespan context manager for resource management, and replace Message class with dictionary structures in chat_request.py and chat_service.py for improved flexibility. Remove unused message and response models to streamline codebase.
about 1 month ago
routes
Update configuration and refactor chat handling: Change default port in launch.json, modify main.py to simplify FastAPI initialization by removing the lifespan context manager, update LLM_MODEL_NAME in config.py, and enhance system prompts for clearer tool call instructions. Refactor chat service and client to streamline tool call processing and improve response handling.
about 1 month ago
services
Enhance image generation and configuration management: Integrate environment variable loading for API keys in config.py, update image generation parameters in image_service.py, and refine system prompts to ensure independent processing of image requests. Adjust vector store service to utilize Chroma for improved performance.
about 1 month ago
utils
Update src/utils/clients/llama_cpp_client.py
about 1 month ago
main.py
Safe
2.69 kB
Update requirements and refactor client integration: Add extra index URL for PyTorch in requirements.txt, integrate open_ai_client in main.py, and adjust image generation parameters in image_service.py. Refactor llama_cpp_client to improve model loading configuration and enhance error handling in image_pipeline_client.
about 1 month ago