|
1 | 1 | ## Enhanced from the [original yGuy/chatgpt-mattermost-bot](https://github.com/yGuy/chatgpt-mattermost-bot)
|
2 | 2 |
|
3 |
| -* Expimental support Cohere Command R+ and Google Gemini 1.5 Pro API. Text chat only. |
| 3 | +* Experimental support Cohere Command R+ that input is text only and Google Gemini 1.5 Pro API that can input text and image |
4 | 4 | * Support GPT-4V Vision API
|
5 | 5 | + Realization of multimodal text and images in conjunction with image plugins. **Limitation**: The plugins are not possible in threads that have been image attached, Under the 1106 gpt-4-vision-vewview.
|
6 | 6 | 
|
@@ -46,24 +46,24 @@ or when [running the docker image](#using-the-ready-made-docker-image) or when c
|
46 | 46 | | MATTERMOST_TOKEN | yes | `abababacdcdcd` | The authentication token from the logged in mattermost bot |
|
47 | 47 | | OPENAI_API_KEY | yes | `sk-234234234234234234` | The OpenAI API key to authenticate with OpenAI |
|
48 | 48 | | OPENAI_API_BASE | no | `http://example.com:8080/v1` | The address of an OpenAI compatible API. Overrides the default base path (`https://api.openai.com`) |
|
49 |
| -| OPENAI_MODEL_NAME | no | `gpt-3.5-turbo` | The OpenAI or Cohere language model to use, defaults to `gpt-3.5-turbo` | |
| 49 | +| OPENAI_MODEL_NAME | no | `gpt-3.5-turbo` | The OpenAI or Cohere language model to use, defaults to `gpt-3.5-turbo` | |
50 | 50 | | OPENAI_MAX_TOKENS | no | `2000` | The maximum number of tokens to pass to the OpenAI API, defaults to 2000 |
|
51 | 51 | | OPENAI_TEMPERATURE | no | `0.2` | The sampling temperature to use, between 0 and 2, defaults to 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. |
|
52 | 52 | | MAX_PROMPT_TOKENS | no | `2096` | Maximum number of prompt tokens, default to 2000. For example on GPT-4 = 8196 - OPENAI_MAX_TOKENS. |
|
53 | 53 | | OPENAI_VISION_MODEL_NAME | no | `gpt-4-vision-preview` | The OpenAI VISION model to use, defaults to use OPENAI_MODEL_NAME. Use this when you want to change the model when attaching an image. |
|
54 | 54 | | OPENAI_IMAGE_MODEL_NAME | no | `dall-e-2` | The OpenAI IMAGE model to use, defaults to `dall-e-3` |
|
55 |
| -| AZURE_OPENAI_API_KEY | no | `0123456789abcdefghijklmno` | The Azure OpenAI Service API key to authoenticate. If OPENAI_API_KEY is also set, the original OpenAI is used for vision or image generation. | |
| 55 | +| AZURE_OPENAI_API_KEY | no | `0123456789abcdefghijklmno` | The Azure OpenAI Service API key to authenticate. If OPENAI_API_KEY is also set, the original OpenAI is used for vision or image generation. | |
56 | 56 | | AZURE_OPENAI_API_INSTANCE_NAME | no | `example-name` | The instance name on the Azure OpenAI Service |
|
57 | 57 | | AZURE_OPENAI_API_DEPLOYMENT_NAME | no | `gpt-35-turbo` | The name of the deployed model on the Azure OpenAI Service |
|
58 |
| -| AZURE_OPENAI_API_VERSION | no | `2023-12-01-preview` | The Azure OpenAI version | |
| 58 | +| AZURE_OPENAI_API_VERSION | no | `2024-03-01-preview` | The Azure OpenAI version | |
59 | 59 | | AZURE_OPENAI_API_VISION_KEY | no | `0123456789abcdefghijklmno` | The Azure OpenAI Service API key to authoenticate. If this is set, Azure OpenAI is used for vision. |
|
60 | 60 | | AZURE_OPENAI_API_VISION_INSTANCE_NAME | no | `example-name` | The instance name on the Azure OpenAI Service for Vision API if specially needed |
|
61 | 61 | | AZURE_OPENAI_API_VISION_DEPLOYMENT_NAME | no | `gpt-4v` | The name of the deployed model on the Azure OpenAI Service for Vision API if specially needed |
|
62 | 62 | | AZURE_OPENAI_API_IMAGE_KEY | no | `0123456789abcdefghijklmno` | The Azure OpenAI Service API key to authoenticate. If this is set, Azure OpenAI is used for image generation. |
|
63 | 63 | | AZURE_OPENAI_API_IMAGE_INSTANCE_NAME | no | `example-name` | The instance name on the Azure OpenAI Service for Image API if specially needed |
|
64 |
| -| AZURE_OPENAI_API_IMAGE_DEPLOYMENT_NAME | no | `Dalle3` | The name of the deployed model on the Azure OpenAI Service for Iamge API if specially needed. DALL-E 3 require 2023-12-01-preview API Version at least | |
65 |
| -| COHERE_API_KEY | no | `0123456789abcdefghijklmno` | The Cohere API key to authoenticate. If OPENAI_API_KEY is also set, the original OpenAI is used for vision or image generation. | |
66 |
| -| GOOGLE_API_KEY | no | `0123456789abcdefghijklmno` | The Gemini API key to authoenticate. If OPENAI_API_KEY is also set, the original OpenAI is used for vision or image generation. Tested model is only 'gemini-1.5-pro-latest' | |
| 64 | +| AZURE_OPENAI_API_IMAGE_DEPLOYMENT_NAME | no | `Dalle3` | The name of the deployed model on the Azure OpenAI Service for Image API if specially needed. DALL-E 3 require 2023-12-01-preview API Version at least | |
| 65 | +| COHERE_API_KEY | no | `0123456789abcdefghijklmno` | The Cohere API key to authenticate. If OPENAI_API_KEY is also set, the original OpenAI is used for vision or image generation. | |
| 66 | +| GOOGLE_API_KEY | no | `0123456789abcdefghijklmno` | The Gemini API key to authenticate. If OPENAI_API_KEY is also set, the original OpenAI is used for vision or image generation. Tested model is only 'gemini-1.5-pro-latest'' | |
67 | 67 | | YFILES_SERVER_URL | no | `http://localhost:3835` | The URL to the yFiles graph service for embedding auto-generated diagrams. |
|
68 | 68 | | NODE_EXTRA_CA_CERTS | no | `/file/to/cert.crt` | a link to a certificate file to pass to node.js for authenticating self-signed certificates |
|
69 | 69 | | MATTERMOST_BOTNAME | no | `"@chatgpt"` | the name of the bot user in Mattermost, defaults to '@chatgpt' |
|
|
0 commit comments