mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-23 14:40:03 +08:00

### What problem does this PR solve? _Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR._ ### Type of change - [x] Documentation Update
31 lines
1.0 KiB
Markdown
31 lines
1.0 KiB
Markdown
---
|
|
sidebar_position: 4
|
|
slug: /llm_api_key_setup
|
|
---
|
|
|
|
# Set your LLM API key
|
|
|
|
You have two ways to input your LLM API key.
|
|
|
|
## Before Starting The System
|
|
|
|
In **user_default_llm** of [service_conf.yaml](https://github.com/infiniflow/ragflow/blob/main/docker/service_conf.yaml), you need to specify LLM factory and your own _API_KEY_.
|
|
RAGFlow supports the flowing LLMs, with more coming in the pipeline:
|
|
|
|
- [OpenAI](https://platform.openai.com/login?launch)
|
|
- [Tongyi-Qianwen](https://dashscope.console.aliyun.com/model),
|
|
- [ZHIPU-AI](https://open.bigmodel.cn/),
|
|
- [Moonshot](https://platform.moonshot.cn/docs)
|
|
- [DeepSeek](https://platform.deepseek.com/api-docs/)
|
|
- [Baichuan](https://www.baichuan-ai.com/home)
|
|
- [VolcEngine](https://www.volcengine.com/docs/82379)
|
|
|
|
After sign in these LLM suppliers, create your own API-Key, they all have a certain amount of free quota.
|
|
|
|
## After Starting The System
|
|
|
|
You can also set API-Key in **User Setting** as following:
|
|
|
|

|
|
|