Skip to content
This repository was archived by the owner on Apr 12, 2026. It is now read-only.

2.0.2 googlegenai#34

Merged
Daethyra merged 5 commits intostreamlitfrom
2.0.2-googlegenai
Feb 25, 2024
Merged

2.0.2 googlegenai#34
Daethyra merged 5 commits intostreamlitfrom
2.0.2-googlegenai

Conversation

@Daethyra
Copy link
Copy Markdown
Owner

@Daethyra Daethyra commented Feb 25, 2024

What's changed

Updated the project dependencies to include langchain-openai and langchain-google-genai, and incremented the project version from 2.0.1 to 2.0.2 in pyproject.toml.
Added the "Gemini-Pro" chat model to the dictionary of available chat models. This model integrates with Google Generative AI and includes specific parameters for response generation, such as temperature, top_k, top_p, and system message conversion to human-readable format. The addition of this model expands the range of chatbot options available for selection within the application.
…rameters

Updated the LANGCHAIN_PROJECT environment variable to "FreeStream-v2.0.2" and adjusted the temperature and top_p parameters for the Gemini-Pro model in the main.py file. Added a conditional statement to force-display the response when the selected model is "Gemini-Pro".
- Updated set_llm function to accept selected_model and model_names as parameters, allowing for dynamic model switching. Added success alerts for GPT-3.5 Turbo and Gemini-Pro models. Implemented error handling for unsupported models, logging detailed errors and displaying informative messages to the user.
@Daethyra Daethyra added the enhancement New feature or request label Feb 25, 2024
@Daethyra Daethyra added this to the Integrate a Google model milestone Feb 25, 2024
@Daethyra Daethyra self-assigned this Feb 25, 2024
@Daethyra Daethyra marked this pull request as ready for review February 25, 2024 03:24
@Daethyra Daethyra merged commit 9991626 into streamlit Feb 25, 2024
@Daethyra Daethyra deleted the 2.0.2-googlegenai branch February 28, 2024 03:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Add VertexAI or ChatGoogleGenAI to model_names

1 participant