mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-01 23:20:45 +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
26 lines
915 B
Markdown
26 lines
915 B
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 LLM factory, and 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)
|
|
|
|
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:
|
|
|
|

|
|
|