Skip to content

Commit

Permalink
Fix OLLAMA_BASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
ruecat committed Dec 27, 2023
1 parent d06439a commit 59af7da
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ git clone https://github.com/ruecat/ollama-telegram
```

## Environment Configuration
| Parameter | Description | Required? | Default Value | Example |
|:-----------:|:---------------------------------------------------------------------------------------------------------------------:|:---------:|:-------------:|:-----------------------------------------------------:|
| `TOKEN` | Your **Telegram bot token**.<br/>[[How to get token?]](https://core.telegram.org/bots/tutorial#obtain-your-bot-token) | Yes | `yourtoken` | MTA0M****.GY5L5F.****g*****5k |
| `ADMIN_IDS` | Telegram user IDs of admins.<br/>These can change model and control the bot. | Yes | | 1234567890<br/>**OR**<br/>1234567890,0987654321, etc. |
| `USER_IDS` | Telegram user IDs of regular users.<br/>These only can chat with the bot. | Yes | | 1234567890<br/>**OR**<br/>1234567890,0987654321, etc. |
| `INITMODEL` | Default LLM | No | `llama2` | mistral:latest<br/>mistral:7b-instruct |
| `INITMODEL` | Your OllamaAPI URL | No | | localhost<br/>host.docker.internal |
| Parameter | Description | Required? | Default Value | Example |
|:-----------------:|:---------------------------------------------------------------------------------------------------------------------:|:---------:|:-------------:|:-----------------------------------------------------:|
| `TOKEN` | Your **Telegram bot token**.<br/>[[How to get token?]](https://core.telegram.org/bots/tutorial#obtain-your-bot-token) | Yes | `yourtoken` | MTA0M****.GY5L5F.****g*****5k |
| `ADMIN_IDS` | Telegram user IDs of admins.<br/>These can change model and control the bot. | Yes | | 1234567890<br/>**OR**<br/>1234567890,0987654321, etc. |
| `USER_IDS` | Telegram user IDs of regular users.<br/>These only can chat with the bot. | Yes | | 1234567890<br/>**OR**<br/>1234567890,0987654321, etc. |
| `INITMODEL` | Default LLM | No | `llama2` | mistral:latest<br/>mistral:7b-instruct |
| `OLLAMA_BASE_URL` | Your OllamaAPI URL | No | | localhost<br/>host.docker.internal |


## Credits
Expand Down

0 comments on commit 59af7da

Please sign in to comment.