-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
184 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Chat Interface | ||
|
||
The Burgonet Gateway provides a web-based chat interface for interacting with supported LLM models. | ||
|
||
![Chat Interface](images/chat-interface.png) | ||
|
||
## Features | ||
|
||
- 🗨️ **Conversation History**: View and manage past conversations | ||
- 🤖 **Model Selection**: Choose from available LLM models | ||
- 🔑 **Token Management**: Set and save API tokens | ||
- 🌐 **Server Configuration**: Configure gateway URL | ||
- 📝 **Message Formatting**: Supports markdown and code blocks | ||
- ⏱️ **Real-time Responses**: Streamed responses for fast interaction | ||
|
||
## Accessing the Chat Interface | ||
|
||
The chat interface is available at: | ||
|
||
``` | ||
http://<chat_host>:<chat_port> | ||
``` | ||
|
||
Default values: | ||
- Host: `127.0.0.1` | ||
- Port: `6190` | ||
|
||
## Interface Components | ||
|
||
1. **Navigation Bar** | ||
- Gateway URL configuration | ||
- API Token input | ||
- Save button | ||
|
||
2. **Sidebar** | ||
- New Chat button | ||
- Conversation history list | ||
|
||
3. **Chat Window** | ||
- Message display area | ||
- User and assistant messages | ||
|
||
4. **Input Area** | ||
- Model selection dropdown | ||
- Message input field | ||
- Send button | ||
|
||
## Configuration | ||
|
||
The chat interface can be configured in `conf.yml`: | ||
|
||
```yaml | ||
chat_host: 127.0.0.1 # Host to serve chat interface | ||
chat_port: 6190 # Port for chat interface | ||
``` | ||
## Keyboard Shortcuts | ||
- **Enter**: Send message (without shift) | ||
- **Shift+Enter**: New line in message input | ||
- **Ctrl+Enter**: Send message (alternative) | ||
- **Esc**: Clear message input | ||
## Troubleshooting | ||
**Issue**: Chat interface not loading | ||
- Verify chat service is running | ||
- Check firewall settings for chat port | ||
- Confirm correct gateway URL in navigation bar | ||
**Issue**: Messages not sending | ||
- Verify API token is valid | ||
- Check model selection | ||
- Confirm gateway is running and accessible |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters