feat: Add return_base64 parameter to generate_speech function, allowing output as Base64 audio alongside file path. Update request and response models for clarity and enhance documentation.
2683fd8
malek-messaoudiicommited on
feat: Update generate_speech endpoint to enforce MP3 format, modify request and response models for clarity, and enhance documentation to reflect language code usage and format restrictions.
129ec23
malek-messaoudiicommited on
feat: Enhance TTS functionality to support Base64 audio output alongside file response. Introduce new text_to_speech_base64 function for Base64 conversion and update generate_tts endpoint to handle return_base64 parameter.
4c992d0
malek-messaoudiicommited on
feat: Update generate_speech function to use gTTS backend with MP3 format and modify voice parameter to accept language codes. Clean up tts_service.py by removing unused GROQ API key checks and related code.
a61d0cb
malek-messaoudiicommited on
fix: Resolve merge conflicts in tts_service.py, ensuring proper integration of gTTS for text-to-speech functionality and maintaining MP3 format support.
77e2cd7
malek-messaoudiicommited on
feat: Update TTS functionality to use gTTS for text-to-speech conversion, supporting only MP3 format. Adjust requirements and model fields for compatibility.
9c9026a
malek-messaoudiicommited on
feat: Introduce individual GROQ API keys for Topic, STT, TTS, and Chat services, enhancing configuration flexibility and service initialization checks across the application.
Merge branch 'main' of https://huggingface.co/spaces/NLP-Debater-Project/FastAPI-Backend-Models
7f4de42
Yassine Mhirsicommited on
similarity
22ad0ba
Yassine Mhirsicommited on
refactor: Update GROQ_TOPIC_MODEL to the latest production version and adjust fallback models in TopicService for improved model selection and stability.
ce133a0
malek-messaoudiicommited on
refactor: Update GROQ_TOPIC_MODEL for consistency and adjust fallback models in TopicService to enhance model selection and robustness.
e2251fd
malek-messaoudiicommited on
feat: Add GROQ_TOPIC_MODEL configuration and enhance TopicService to utilize it for improved model selection during initialization, including fallback options for robustness.
870d2ba
malek-messaoudiicommited on
chore: Update requirements.txt to address urllib3 compatibility issues and add requests-toolbelt for enhanced HTTP request handling.
91ae7d9
malek-messaoudiicommited on
feat: Integrate Topic Extraction service into API lifecycle, enhancing initialization and health check reporting. Update routes and logging for improved visibility of topic extraction functionality.
0e19c41
malek-messaoudiicommited on
feat: Add extract_topic and voice_chat tools to MCP service, enhancing functionality for topic extraction and chatbot responses. Update models and routes to support new features.
1ce17ff
malek-messaoudiicommited on
refactor: Update file path handling in TopicSimilarityService for improved error reporting and ensure absolute paths for topic and embeddings cache files
e97ac87
Yassine Mhirsicommited on
test
d25effa
Yassine Mhirsicommited on
feat: Add topic similarity service using Google Generative AI embeddings, enabling improved topic matching and similarity analysis. Update topic extraction logic to utilize this service and enhance overall functionality.
a453c29
Yassine Mhirsicommited on
refactor: Simplify topic extraction logic in TopicService by removing Pydantic schema, enhancing JSON response handling, and adding fuzzy matching for improved topic validation.
94c2a9a
Yassine Mhirsicommited on
feat: Introduce predefined topics list in TopicService and enhance topic extraction logic to validate against this list, ensuring accurate topic matching and improved error handling.
7218dd0
Yassine Mhirsicommited on
fix: Update topic extraction instructions in TopicService to specify that the main idea should be captured in simple English.
77f9f6f
Yassine Mhirsicommited on
fix: Clarify topic extraction instructions in the TopicService to specify that the output should be a single sentence capturing the main idea.
0ab4347
Yassine Mhirsicommited on
feat: Enhance analysis endpoints to support JSON body input and CSV file uploads for argument analysis
7a0be7b
Yassine Mhirsicommited on
fix: Update error logging for route loading failures and enhance route debugging with detailed logging of available routes
5eb5350
Yassine Mhirsicommited on
refactor: Change analysis endpoint prefixes from "" to "analyse" and update related route methods to use "stance"
06928e7
Yassine Mhirsicommited on
feat: Add analysis endpoints and service for processing arguments, extracting topics, and predicting stance
430b54f
Yassine Mhirsicommited on
feat: Implement user management service with Supabase integration, including user registration, retrieval, and name update endpoints.
6e8d513
Yassine Mhirsicommited on
feat: Add `GenerateModelManager` for loading Hugging Face generation models and performing text generation.
2ed0ab3
S01Nourcommited on
feat: Implement generation model manager for Hugging Face Seq2Seq models and add a debug script for testing generation.
c924863
S01Nourcommited on
chore: Update and manage project dependencies.
b74a137
S01Nourcommited on
chore: Update dependencies in requirements.txt.
886aa72
S01Nourcommited on
chore: Manage project dependency protobuf v 3.20.1
10d514a
S01Nourcommited on
chore: update project dependency protobuf v 3.20.3
6ae645b
S01Nourcommited on
build: update project dependencies
bc697b4
S01Nourcommited on
Update project dependencies.
577c31d
S01Nourcommited on
Merge branch 'main' of https://huggingface.co/spaces/NLP-Debater-Project/FastAPI-Backend-Models
bc08348
S01Nourcommited on
chore: remove default fallback value for HUGGINGFACE_GENERATE_MODEL_ID.
f67ac7b
S01Nourcommited on
Merge branch 'main' of https://huggingface.co/spaces/NLP-Debater-Project/FastAPI-Backend-Models
057f490
malek-messaoudiicommited on
Update config.py
36260ab
malek-messaoudiicommited on
Merge branch 'main' of https://huggingface.co/spaces/NLP-Debater-Project/FastAPI-Backend-Models
f101875
Yassine Mhirsicommited on
feat: Add topic-related schemas and API routes for topic management, along with LangChain dependencies in requirements.
2380f6f
Yassine Mhirsicommited on
feat: Refactor stance detection, keypoint matching, and argument generation to utilize dedicated model managers for improved reliability and response handling
76c719b
malek-messaoudiicommited on
feat: Implement audio transcription and speech generation endpoints with file upload support and improved response handling
200de02
malek-messaoudiicommited on
feat: Enhance ToolCallRequest and ToolCallResponse models with detailed examples and descriptions for improved clarity and usability in MCP tool calls.
bd8a3b8
malek-messaoudiicommited on
refactor: Remove GenerateArgumentRequest and GenerateArgumentResponse models; update generate_argument endpoint to accept topic and position parameters.
c508ed0
malek-messaoudiicommited on
fix: update default Hugging Face generate model ID to `NLP-Debater-Project/kpa-t5-improved`
682062a
S01Nourcommited on
feat: Introduce FastAPI endpoints for single and batch text generation with Pydantic models and Hugging Face model management.