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: Add topic-related schemas and API routes for topic management, along with LangChain dependencies in requirements.