Skip to content

Commit c692cca

Browse files
committed
Update requirements and update models
1 parent 5134b19 commit c692cca

File tree

10 files changed

+9
-15
lines changed

10 files changed

+9
-15
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
shiny
22
python-dotenv
3-
tokenizers
43
chatlas
54
anthropic[bedrock]
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
shiny
22
python-dotenv
3-
tokenizers
43
chatlas
54
openai

shiny/templates/chat/llms/anthropic/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
load_dotenv()
1515
chat_model = ChatAnthropic(
1616
api_key=os.environ.get("ANTHROPIC_API_KEY"),
17-
model="claude-3-5-sonnet-latest",
17+
model="claude-3-7-sonnet-latest",
1818
system_prompt="You are a helpful assistant.",
1919
)
2020

shiny/templates/chat/llms/google/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
chat_model = ChatGoogle(
1616
api_key=os.environ.get("GOOGLE_API_KEY"),
1717
system_prompt="You are a helpful assistant.",
18-
model="gemini-1.5-flash",
18+
model="gemini-2.0-flash",
1919
)
2020

2121
# Set some Shiny page options
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
shiny
22
python-dotenv
3-
tokenizers
4-
chatlas
5-
google-generativeai
3+
chatlas>=0.4.0
4+
google-genai
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
shiny
22
python-dotenv
3-
tokenizers
43
langchain-openai
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
shiny
2-
tokenizers
32
chatlas
43
ollama
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
shiny
22
python-dotenv
3-
tokenizers
43
chatlas
54
openai

shiny/templates/chat/llms/playground/app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
load_dotenv()
1616

1717
models = {
18-
"openai": ["gpt-4o-mini", "gpt-4o"],
1918
"claude": [
19+
"claude-3-7-sonnet-latest",
2020
"claude-3-opus-latest",
21-
"claude-3-5-sonnet-latest",
2221
"claude-3-haiku-20240307",
2322
],
24-
"google": ["gemini-1.5-pro-latest"],
23+
"openai": ["gpt-4o-mini", "gpt-4o"],
24+
"google": ["gemini-2.0-flash"],
2525
}
2626

2727
model_choices: dict[str, dict[str, str]] = {}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
chatlas
1+
chatlas>=0.4
22
openai
33
anthropic
4-
google-generativeai
4+
google-genai
55
python-dotenv
66
shiny

0 commit comments

Comments
 (0)