Update API document (#14364)

### What problem does this PR solve?

Update API document

### Type of change

- [ ] Documentation Update
This commit is contained in:
Wang Qi
2026-04-24 20:36:47 +08:00
committed by GitHub
parent 3ccd58f28c
commit 7fb6a12067
4 changed files with 7 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ The project uses **uv** for dependency management.
1. **Setup Environment**:
```bash
uv sync --python 3.12 --all-extras
uv run download_deps.py
uv run python3 download_deps.py
```
2. **Run Server**:

View File

@@ -52,7 +52,7 @@ RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on d
```bash
# Install Python dependencies
uv sync --python 3.12 --all-extras
uv run download_deps.py
uv run python3 download_deps.py
pre-commit install
# Start dependent services

View File

@@ -36,7 +36,7 @@ This image is approximately 2 GB in size and relies on external LLM and embeddin
```bash
git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
uv run download_deps.py
uv run python3 download_deps.py
docker build -f Dockerfile.deps -t infiniflow/ragflow_deps .
docker build -f Dockerfile -t infiniflow/ragflow:nightly .
```

View File

@@ -7323,16 +7323,16 @@ or
##### Request example
```bash
curl --request POST \
curl --request POST \
--url http://{address}/api/v1/files/link-to-datasets \
--header 'Content-Type: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--data '{
"file_ids": ["file_id_1", "file_id_2"],
"kb_ids": ["dataset_id_1", "dataset_id_2"]
}'
```
##### Request parameters
- `"file_ids"`: (*Body parameter*), `list[string]`, *Required*
@@ -7344,7 +7344,7 @@ Converts files to documents and links them to specified datasets.
Success:
```json
```json
{
"code": 0,
"data": [