Skip to content

Commit 9a9ddfa

Browse files
committed
chore: rename ai assistant
1 parent d8e71ae commit 9a9ddfa

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

content/docs/ai-assistant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Go to Bytebase console, click **Settings > General**. Scroll down to **AI Assist
1515

1616
## Use self-hosted model
1717

18-
<TutorialBlock url="/docs/tutorials/one-api-ollama-sql-editor/" title="Self-host Llama3 for Bytebase AI Assistant" />
18+
<TutorialBlock url="/docs/tutorials/self-host-llama/" title="Self-host Llama3 for Bytebase AI Assistant" />
1919

2020
## Features
2121

content/docs/tutorials/one-api-ollama-sql-editor.md renamed to content/docs/tutorials/self-host-llama.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ docker run --name one-api -d --restart always -p 3000:3000 -e TZ=Asia/Shanghai -
6161

6262
Seeing the Docker container start and id output means successful deployment. If you encounter any issues, refer to the solution in One API documentation.
6363

64-
![one-api-docker-run](/content/docs/tutorials/one-api-ollama-sql-editor/one-api-docker-run.webp)
64+
![one-api-docker-run](/content/docs/tutorials/self-host-llama/one-api-docker-run.webp)
6565

6666
In Docker dashboard, you can see one-api container and its address as well. You can access `localhost:3000` here to log in to One API dashboard.
6767

@@ -110,8 +110,8 @@ curl http://localhost:3000/v1/chat/completions \
110110

111111
In Bytebase Workspace, go to **Settings** -> **General**, and scroll down to **AI Assistant** section. Fill `YOUR_TOKEN` we generated in One API into `OpenAI API Key` bar, and fill the `OpenAI API Endpoint` bar with `http://localhost:3000`. Click **Update**.
112112

113-
![bytebase-ai-assistant-config](/content/docs/tutorials/one-api-ollama-sql-editor/ai-assistant-config.webp)
113+
![bytebase-ai-assistant-config](/content/docs/tutorials/self-host-llama/ai-assistant-config.webp)
114114

115115
Enter **SQL Editor** from top of any page. You can see an OpenAI icon on top right corner. Click it to start conversation with AI assistant, ask questions in natural language and get SQL results.
116116

117-
![bytebase-ai-assistant-sql-editor](/content/docs/tutorials/one-api-ollama-sql-editor/bytebase-ai-assistant-sql-editor.webp)
117+
![bytebase-ai-assistant-sql-editor](/content/docs/tutorials/self-host-llama/bytebase-ai-assistant-sql-editor.webp)

public/content/docs/tutorials/one-api-ollama-sql-editor/ai-assistant-config.webp renamed to public/content/docs/tutorials/self-host-llama/ai-assistant-config.webp

File renamed without changes.

public/content/docs/tutorials/one-api-ollama-sql-editor/bytebase-ai-assistant-sql-editor.webp renamed to public/content/docs/tutorials/self-host-llama/bytebase-ai-assistant-sql-editor.webp

File renamed without changes.

public/content/docs/tutorials/one-api-ollama-sql-editor/one-api-docker-run.webp renamed to public/content/docs/tutorials/self-host-llama/one-api-docker-run.webp

File renamed without changes.

0 commit comments

Comments
 (0)