@@ -31,6 +31,7 @@ AICommit2 streamlines interactions with various AI, enabling users to request mu
31
31
- [ Anthropic Claude] ( https://console.anthropic.com/ )
32
32
- [ Gemini] ( https://gemini.google.com/ )
33
33
- [ Mistral AI] ( https://mistral.ai/ )
34
+ - [ Cohere] ( https://cohere.com/ )
34
35
- [ Huggingface ** (Unofficial)** ] ( https://huggingface.co/chat/ )
35
36
- [ Clova X ** (Unofficial)** ] ( https://clova-x.naver.com/ )
36
37
@@ -72,6 +73,11 @@ aicommit2 config set GEMINI_KEY=<your key>
72
73
aicommit2 config set MISTRAL_KEY=< your key>
73
74
```
74
75
76
+ - [ Cohere] ( https://dashboard.cohere.com/ )
77
+ ``` sh
78
+ aicommit2 config set COHERE_KEY=< your key>
79
+ ```
80
+
75
81
- [ Huggingface ** (Unofficial)** ] ( https://github.com/tak-bro/aicommit2?tab=readme-ov-file#how-to-get-cookieunofficial-api )
76
82
``` shell
77
83
# Please be cautious of Escape characters(\", \') in browser cookie string
@@ -298,6 +304,8 @@ aicommit2 config set OPENAI_KEY=<your-api-key> generate=3 locale=en
298
304
| ` GEMINI_MODEL ` | ` gemini-1.5-flash-latest ` | The Gemini Model |
299
305
| ` MISTRAL_KEY ` | N/A | The Mistral API key |
300
306
| ` MISTRAL_MODEL ` | ` mistral-tiny ` | The Mistral Model to use |
307
+ | ` COHERE_KEY ` | N/A | The Cohere API Key |
308
+ | ` COHERE_MODEL ` | ` command ` | The identifier of the Cohere model |
301
309
| ` HUGGING_COOKIE ` | N/A | The HuggingFace Cookie string |
302
310
| ` HUGGING_MODEL ` | ` mistralai/Mixtral-8x7B-Instruct-v0.1 ` | The HuggingFace Model to use |
303
311
| ` CLOVAX_COOKIE ` | N/A | The Clova X Cookie string |
@@ -319,14 +327,15 @@ aicommit2 config set OPENAI_KEY=<your-api-key> generate=3 locale=en
319
327
> ** Currently, options are set universally. However, there are plans to develop the ability to set individual options in the future.**
320
328
321
329
### Available Options by Model
322
- | | locale | generate | type | proxy | timeout | max-length | max-tokens | temperature | prompt |
323
- | :--------------------:| :------:| :--------:| :-----:| :-----:| :---------------------:| :-----------:| :----------:| :-----------:| :------:|
324
- | ** OpenAI** | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
325
- | ** Anthropic Claude** | ✓ | ✓ | ✓ | | | ✓ | ✓ | ✓ | ✓ |
326
- | ** Gemini** | ✓ | ✓ | ✓ | | | ✓ | ✓ | ✓ | ✓ |
327
- | ** Mistral AI** | ✓ | ✓ | ✓ | | ✓ | ✓ | ✓ | ✓ | ✓ |
328
- | ** Huggingface** | ✓ | ✓ | ✓ | | ✓ | ✓ | | | ✓ |
329
- | ** Clova X** | ✓ | ✓ | ✓ | | ✓ | ✓ | | | ✓ |
330
+ | | locale | generate | type | proxy | timeout | max-length | max-tokens | temperature | prompt |
331
+ | :--------------------:| :------:| :--------:| :-----:| :-----:| :----------------------:| :-----------:| :----------:| :-----------:| :------:|
332
+ | ** OpenAI** | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
333
+ | ** Anthropic Claude** | ✓ | ✓ | ✓ | | | ✓ | ✓ | ✓ | ✓ |
334
+ | ** Gemini** | ✓ | ✓ | ✓ | | | ✓ | ✓ | ✓ | ✓ |
335
+ | ** Mistral AI** | ✓ | ✓ | ✓ | | ✓ | ✓ | ✓ | ✓ | ✓ |
336
+ | ** Cohere** | ✓ | ✓ | ✓ | | | ✓ | ✓ | ✓ | ✓ |
337
+ | ** Huggingface** | ✓ | ✓ | ✓ | | ✓ | ✓ | | | ✓ |
338
+ | ** Clova X** | ✓ | ✓ | ✓ | | ✓ | ✓ | | | ✓ |
330
339
| ** Ollama** | ✓ | ✓ | ✓ | | ⚠<br />(OLLAMA_TIMEOUT) | ✓ | | ✓ | ✓ |
331
340
332
341
@@ -430,7 +439,6 @@ The log files will be stored in the `~/.aicommit2_log` directory(user's home).
430
439
431
440
![ log-path] ( https://github.com/tak-bro/aicommit2/blob/main/img/log_path.png?raw=true )
432
441
433
-
434
442
### Ollama
435
443
436
444
##### OLLAMA_MODEL
@@ -555,6 +563,24 @@ Supported:
555
563
556
564
> The models mentioned above are subject to change.
557
565
566
+ ### Cohere
567
+
568
+ ##### COHERE_KEY
569
+
570
+ The Cohere API key. If you don't have one, please sign up and get the API key in [ Cohere Dashboard] ( https://dashboard.cohere.com/ ) .
571
+
572
+ ##### COHERE_MODEL
573
+
574
+ Default: ` command `
575
+
576
+ Supported:
577
+ - ` command `
578
+ - ` command-nightly `
579
+ - ` command-light `
580
+ - ` command-light-nightly `
581
+
582
+ > The models mentioned above are subject to change.
583
+
558
584
### HuggingFace Chat
559
585
560
586
##### HUGGING_COOKIE
0 commit comments