Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(freestream): Add GPT-4o Mini #163

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions freestream/pages/1_💬_Curie.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@

# Create dictionaries with keys to chat model classes
openai_models = {
"GPT-3.5 Turbo": ChatOpenAI( # Define a dictionary entry for the "ChatOpenAI GPT-3.5 Turbo" model
model="gpt-3.5-turbo", # Set the OpenAI model name
"GPT-4o Mini": ChatOpenAI( # Define a dictionary entry for the "ChatOpenAI GPT-3.5 Turbo" model
model="gpt-4o-mini", # Set the OpenAI model name
openai_api_key=openai_api_key, # Set the OpenAI API key from the Streamlit secrets manager
temperature=temperature_slider, # Set the temperature for the model's responses using the sidebar slider
streaming=True, # Enable streaming responses for the model
Expand Down
4 changes: 2 additions & 2 deletions freestream/pages/2_🤖_RAGbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@

# Create dictionaries with keys to chat model classes
openai_models = {
"GPT-3.5 Turbo": ChatOpenAI( # Define a dictionary entry for the "ChatOpenAI GPT-3.5 Turbo" model
model="gpt-3.5-turbo", # Set the OpenAI model name
"GPT-4o Mini": ChatOpenAI( # Define a dictionary entry for the "ChatOpenAI GPT-3.5 Turbo" model
model="gpt-4o-mini", # Set the OpenAI model name
openai_api_key=openai_api_key, # Set the OpenAI API key from the Streamlit secrets manager
temperature=temperature_slider, # Set the temperature for the model's responses using the sidebar slider
streaming=True, # Enable streaming responses for the model
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]

name = "FreeStream"
version = "4.4.1"
version = "4.4.2"
description = "Template repository for building chatbots."
authors = ["Daethyra <[email protected]>"]
readme = "README.md"
Expand Down
Loading