Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

llm_api_key_setup.md 869B

12345678910111213141516171819202122232425
  1. ---
  2. sidebar_position: 4
  3. slug: /llm_api_key_setup
  4. ---
  5. # Set your LLM API key
  6. You have two ways to input your LLM API key.
  7. ## Before Starting The System
  8. In **user_default_llm** of [service_conf.yaml](./docker/service_conf.yaml), you need to specify LLM factory and your own _API_KEY_.
  9. RagFlow supports the flowing LLM factory, and with more coming in the pipeline:
  10. > [OpenAI](https://platform.openai.com/login?launch), [Tongyi-Qianwen](https://dashscope.console.aliyun.com/model),
  11. > [ZHIPU-AI](https://open.bigmodel.cn/), [Moonshot](https://platform.moonshot.cn/docs)
  12. After sign in these LLM suppliers, create your own API-Key, they all have a certain amount of free quota.
  13. ## After Starting The System
  14. You can also set API-Key in **User Setting** as following:
  15. ![](https://github.com/infiniflow/ragflow/assets/12318111/e4e4066c-e964-45ff-bd56-c3fc7fb18bd3)