Procházet zdrojové kódy

doc : update openai-liked llm usage.

hellofinch před 1 rokem
rodič
revize
50f9c499bb
3 změnil soubory, kde provedl 7 přidání a 0 odebrání
  1. 2 0
      docs/ADVANCED.md
  2. 3 0
      docs/README_ja-JP.md
  3. 2 0
      docs/README_zh-CN.md

+ 2 - 0
docs/ADVANCED.md

@@ -66,6 +66,8 @@ We've provided a detailed table on the required [environment variables](https://
 | **AnythingLLM**      | `anythingllm`  | `AnythingLLM_URL`, `AnythingLLM_APIKEY`                               | `[Your AnythingLLM URL]`, `[Your Key]`                   | See [anything-llm](https://github.com/Mintplex-Labs/anything-llm)                                                                                                                                         |
 |**Argos Translate**|`argos-translate`| | |See [argos-translate](https://github.com/argosopentech/argos-translate)|
 
+For large language models that are compatible with the OpenAI API but not listed in the table above, you can set environment variables using the same method outlined for OpenAI in the table.
+
 Use `-s service` or `-s service:model` to specify service:
 
 ```bash

+ 3 - 0
docs/README_ja-JP.md

@@ -225,6 +225,9 @@ pdf2zh example.pdf -li en -lo ja
 |**AnythingLLM**|`anythingllm`|`AnythingLLM_URL`, `AnythingLLM_APIKEY`|`[Your AnythingLLM URL]`, `[Your Key]`|See [anything-llm](https://github.com/Mintplex-Labs/anything-llm)|
 |**Argos Translate**|`argos-translate`| | |See [argos-translate](https://github.com/argosopentech/argos-translate)|
 
+(need Japenese translation)
+For large language models that are compatible with the OpenAI API but not listed in the table above, you can set environment variables using the same method outlined for OpenAI in the table.
+
 `-s service` または `-s service:model` を使用してサービスを指定します:
 
 ```bash

+ 2 - 0
docs/README_zh-CN.md

@@ -224,6 +224,8 @@ pdf2zh example.pdf -li en -lo ja
 |**AnythingLLM**|`anythingllm`|`AnythingLLM_URL`, `AnythingLLM_APIKEY`|`[Your AnythingLLM URL]`, `[Your Key]`|See [anything-llm](https://github.com/Mintplex-Labs/anything-llm)|
 |**Argos Translate**|`argos-translate`| | |See [argos-translate](https://github.com/argosopentech/argos-translate)|
 
+对于未在上述表格中的,并且兼容 OpenAI api 的大语言模型,可使用表格中的 OpenAI 的方式进行环境变量的设置。
+
 使用 `-s service` 或 `-s service:model` 指定翻译服务:
 
 ```bash