Skip to content

Conversation

chloedia
Copy link
Collaborator

Introduce support for the Gemini model in the language model configuration, allowing users to utilize Gemini alongside existing models. Update the configuration to include Gemini-specific settings and ensure compatibility with the overall architecture.

@chloedia chloedia changed the title Add Gemini support for language models feat: Add Gemini support for language models Apr 23, 2025
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 23, 2025
@chloedia chloedia requested review from Copilot and StanGirard April 23, 2025 07:48
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces Gemini support into the language model configuration, enabling users to utilize the new Gemini model alongside existing ones.

  • Added Gemini as a new supplier in the model suppliers enumeration
  • Updated the LLM model configuration to include Gemini-specific settings under both configuration and endpoint instantiation
  • Extended the LLM endpoint to conditionally instantiate models for GEMINI using ChatGoogleGenerativeAI and GROQ using ChatXAI

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
core/quivr_core/rag/quivr_rag_langgraph.py Minor formatting adjustment in the RAG generation method
core/quivr_core/rag/entities/config.py Added Gemini supplier and new model configurations for Gemini and additional models
core/quivr_core/llm/llm_endpoint.py Updated endpoint logic to support instantiation of GEMINI and GROQ models using new imports

@StanGirard StanGirard merged commit add322c into main Apr 23, 2025
5 of 6 checks passed
@StanGirard StanGirard deleted the feat/add_gemini branch April 23, 2025 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants