added a doc for chat command

This commit is contained in:
MrStashley
2023-12-18 15:08:49 -08:00
parent 593017fe82
commit f841bb24d3
2 changed files with 29 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
---
title: 'ChatGPT Support'
description: 'Talk to ChatGPT in the terminal'
icon: 'robot'
---
You can use the `chat` command to query AI chat models inside Wave terminal.
Usage
```
/chat tell me how to use the sed command
```
Out of the box, this command will send a request through our cloud servers.
If you'd prefer to query the OpenAI API directly, you can specify your own OpenAI key, as well as the model
that you would like to use in the settings.
We also have support for changing the API base url if you want to use Azure models or other 3rd party API's.
You can set the base url with the client:set command, like so:
```
/client:set openaibaseurl="<BASE URL>"
```
The API you specify must have the same endpoints and same protocol as the OpenAI API.
In order to prevent abuse, you must have telemetry enabled to use the cloud servers. There is currently a rate limit of 200 requests per day.
+2 -1
View File
@@ -55,7 +55,8 @@
"features/connections",
"features/history",
"features/images",
"features/markdown"
"features/markdown",
"features/chatGPT"
]
},
{