Skip to content

Commit d3f4c93

Browse files
committed
Add next steps and follow up
1 parent 22037aa commit d3f4c93

File tree

13 files changed

+158
-27
lines changed

13 files changed

+158
-27
lines changed
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{
22
"type": "app",
33
"id": "chat-ai-anthropic-aws",
4-
"title": "Chat AI using Anthropic via AWS Bedrock"
4+
"title": "Chat AI using Anthropic via AWS Bedrock",
5+
"next_steps": [
6+
"Put your Bedrock credentials in the `template.env` file and rename it to `.env`.",
7+
"Run the app with `shiny run app.py`."
8+
],
9+
"follow_up": [
10+
{
11+
"type": "info",
12+
"text": "Need help connecting to Bedrock?"
13+
},
14+
{
15+
"type": "action",
16+
"text": "Learn more at https://posit-dev.github.io/chatlas/reference/ChatBedrockAnthropic.html"
17+
}
18+
]
519
}
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{
22
"type": "app",
33
"id": "chat-ai-azure-openai",
4-
"title": "Chat AI using OpenAI via Azure"
4+
"title": "Chat AI using OpenAI via Azure",
5+
"next_steps": [
6+
"Put your Azure credentials in the `template.env` file and rename it to `.env`.",
7+
"Run the app with `shiny run app.py`."
8+
],
9+
"follow_up": [
10+
{
11+
"type": "info",
12+
"text": "Need help connecting to Azure?"
13+
},
14+
{
15+
"type": "action",
16+
"text": "Learn more at https://posit-dev.github.io/chatlas/reference/ChatAzureOpenAI.html"
17+
}
18+
]
519
}
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{
22
"type": "app",
33
"id": "chat-ai-anthropic",
4-
"title": "Chat AI using Anthropic"
4+
"title": "Chat AI using Anthropic",
5+
"next_steps": [
6+
"Put your Anthropic API key in the `template.env` file and rename it to `.env`.",
7+
"Run the app with `shiny run app.py`."
8+
],
9+
"follow_up": [
10+
{
11+
"type": "info",
12+
"text": "Need help obtaining an API key?"
13+
},
14+
{
15+
"type": "action",
16+
"text": "Learn how to obtain one at https://posit-dev.github.io/chatlas/reference/ChatAnthropic.html"
17+
}
18+
]
519
}
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{
22
"type": "app",
33
"id": "chat-ai-gemini",
4-
"title": "Chat AI using Google Gemini"
4+
"title": "Chat AI using Google Gemini",
5+
"next_steps": [
6+
"Put your Google API key in the `template.env` file and rename it to `.env`.",
7+
"Run the app with `shiny run app.py`."
8+
],
9+
"follow_up": [
10+
{
11+
"type": "info",
12+
"text": "Need help obtaining an API key?"
13+
},
14+
{
15+
"type": "action",
16+
"text": "Learn how to obtain one at https://posit-dev.github.io/chatlas/reference/ChatGoogle.html"
17+
}
18+
]
519
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
"type": "app",
33
"id": "chat-ai-langchain",
4-
"title": "Chat AI using LangChain"
4+
"title": "Chat AI using LangChain",
5+
"next_steps": [
6+
"Put your OpenAI API key in the `template.env` file and rename it to `.env`.",
7+
"Run the app with `shiny run app.py`."
8+
]
59
}
Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
{
22
"type": "app",
33
"id": "chat-ai-ollama",
4-
"title": "Chat AI using Ollama"
4+
"title": "Chat AI using Ollama",
5+
"next_steps": [
6+
"If you haven't already, download the Ollama executable from https://ollama.com/",
7+
"Run the executable and download the relevant model (llama3.2)",
8+
"Run the app with `shiny run app.py`."
9+
],
10+
"follow_up": [
11+
{
12+
"type": "info",
13+
"text": "Need help connecting to Ollama?"
14+
},
15+
{
16+
"type": "action",
17+
"text": "Learn more at https://posit-dev.github.io/chatlas/reference/ChatOllama.html"
18+
}
19+
]
520
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# ChatOllama() requires an Ollama model server to be running locally.
1010
# See the docs for more information on how to set up a local Ollama server.
1111
# https://posit-dev.github.io/chatlas/reference/ChatOllama.html
12-
chat_model = ChatOllama(model="llama3.1")
12+
chat_model = ChatOllama(model="llama3.2")
1313

1414
# Set some Shiny page options
1515
ui.page_opts(
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{
22
"type": "app",
33
"id": "chat-ai-openai",
4-
"title": "Chat AI using OpenAI"
4+
"title": "Chat AI using OpenAI",
5+
"next_steps": [
6+
"Put your OpenAI API key in the `template.env` file and rename it to `.env`.",
7+
"Run the app with `shiny run app.py`."
8+
],
9+
"follow_up": [
10+
{
11+
"type": "info",
12+
"text": "Need help obtaining an API key?"
13+
},
14+
{
15+
"type": "action",
16+
"text": "Learn how to obtain one at https://posit-dev.github.io/chatlas/reference/ChatOpenAI.html"
17+
}
18+
]
519
}
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{
22
"type": "app",
33
"id": "chat-ai-playground",
4-
"title": "Chat Playground w/ OpenAI, Anthropic, and Google"
4+
"title": "Chat Playground w/ OpenAI, Anthropic, and Google",
5+
"next_steps": [
6+
"Put your OpenAI, Anthropic, and Google API key in the `template.env` file and rename it to `.env`.",
7+
"Run the app with `shiny run app.py`."
8+
],
9+
"follow_up": [
10+
{
11+
"type": "info",
12+
"text": "Need help obtaining an API keys?"
13+
},
14+
{
15+
"type": "action",
16+
"text": "Learn how to obtain them at https://posit-dev.github.io/chatlas/reference/"
17+
}
18+
]
519
}
-12 KB
Binary file not shown.

0 commit comments

Comments
 (0)