mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-15 04:16:02 +08:00
Updated descriptions for knowledge graph (#3154)
### What problem does this PR solve? ### Type of change - [x] Documentation Update
This commit is contained in:
parent
b42d24575c
commit
7eafccf78a
@ -1,5 +1,5 @@
|
|||||||
---
|
|
||||||
sidebar_position: 0
|
sidebar_position: 0
|
||||||
|
|
||||||
slug: /http_api_reference
|
slug: /http_api_reference
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ curl --request POST \
|
|||||||
- Case-insensitive.
|
- Case-insensitive.
|
||||||
|
|
||||||
- `"avatar"`: (*Body parameter*), `string`
|
- `"avatar"`: (*Body parameter*), `string`
|
||||||
Base64 encoding of the avatar.
|
Base64 encoding of the avatar.
|
||||||
|
|
||||||
- `"description"`: (*Body parameter*), `string`
|
- `"description"`: (*Body parameter*), `string`
|
||||||
A brief description of the dataset to create.
|
A brief description of the dataset to create.
|
||||||
@ -92,7 +92,7 @@ curl --request POST \
|
|||||||
- `"picture"`: Picture
|
- `"picture"`: Picture
|
||||||
- `"one"`: One
|
- `"one"`: One
|
||||||
- `"knowledge_graph"`: Knowledge Graph
|
- `"knowledge_graph"`: Knowledge Graph
|
||||||
Ensure that you have your LLM properly set in
|
Ensure your LLM is properly configured on the **Settings** page before selecting this. Please note that Knowledge Graph consumes a large number of Tokens!
|
||||||
- `"email"`: Email
|
- `"email"`: Email
|
||||||
|
|
||||||
- `"parser_config"`: (*Body parameter*), `object`
|
- `"parser_config"`: (*Body parameter*), `object`
|
||||||
@ -373,7 +373,7 @@ Success:
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Failure:
|
Failure:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
@ -522,7 +522,8 @@ curl --request PUT \
|
|||||||
- `"presentation"`: Presentation
|
- `"presentation"`: Presentation
|
||||||
- `"picture"`: Picture
|
- `"picture"`: Picture
|
||||||
- `"one"`: One
|
- `"one"`: One
|
||||||
- `"knowledge_graph"`: Knowledge Graph
|
- `"knowledge_graph"`: Knowledge Graph
|
||||||
|
Ensure your LLM is properly configured on the **Settings** page before selecting this. Please note that Knowledge Graph consumes a large number of Tokens!
|
||||||
- `"email"`: Email
|
- `"email"`: Email
|
||||||
- `"parser_config"`: (*Body parameter*), `object`
|
- `"parser_config"`: (*Body parameter*), `object`
|
||||||
The configuration settings for the dataset parser. The attributes in this JSON object vary with the selected `"chunk_method"`:
|
The configuration settings for the dataset parser. The attributes in this JSON object vary with the selected `"chunk_method"`:
|
||||||
@ -550,7 +551,7 @@ Success:
|
|||||||
"code": 0
|
"code": 0
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Failure:
|
Failure:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
@ -811,7 +812,7 @@ Success:
|
|||||||
"code": 0
|
"code": 0
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Failure:
|
Failure:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
@ -868,7 +869,7 @@ Success:
|
|||||||
"code": 0
|
"code": 0
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Failure:
|
Failure:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
@ -1050,7 +1051,7 @@ Success:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Failure:
|
Failure:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
@ -1388,6 +1389,7 @@ curl --request POST \
|
|||||||
- `"opener"`: `string` The opening greeting for the user. Defaults to `"Hi! I am your assistant, can I help you?"`.
|
- `"opener"`: `string` The opening greeting for the user. Defaults to `"Hi! I am your assistant, can I help you?"`.
|
||||||
- `"show_quote`: `boolean` Indicates whether the source of text should be displayed. Defaults to `true`.
|
- `"show_quote`: `boolean` Indicates whether the source of text should be displayed. Defaults to `true`.
|
||||||
- `"prompt"`: `string` The prompt content.
|
- `"prompt"`: `string` The prompt content.
|
||||||
|
|
||||||
### Response
|
### Response
|
||||||
|
|
||||||
Success:
|
Success:
|
||||||
@ -1470,7 +1472,7 @@ Updates configurations for a specified chat assistant.
|
|||||||
- `"dataset_ids"`: `list[string]`
|
- `"dataset_ids"`: `list[string]`
|
||||||
- `"llm"`: `object`
|
- `"llm"`: `object`
|
||||||
- `"prompt"`: `object`
|
- `"prompt"`: `object`
|
||||||
|
|
||||||
#### Request example
|
#### Request example
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -2099,4 +2101,4 @@ Failure:
|
|||||||
"code": 102,
|
"code": 102,
|
||||||
"message": "Please input your question."
|
"message": "Please input your question."
|
||||||
}
|
}
|
||||||
```
|
```
|
@ -1,5 +1,5 @@
|
|||||||
---
|
|
||||||
sidebar_position: 1
|
sidebar_position: 1
|
||||||
|
|
||||||
slug: /python_api_reference
|
slug: /python_api_reference
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -79,7 +79,8 @@ The chunking method of the dataset to create. Available options:
|
|||||||
- `"presentation"`: Presentation
|
- `"presentation"`: Presentation
|
||||||
- `"picture"`: Picture
|
- `"picture"`: Picture
|
||||||
- `"one"`: One
|
- `"one"`: One
|
||||||
- `"knowledge_graph"`: Knowledge Graph
|
- `"knowledge_graph"`: Knowledge Graph
|
||||||
|
Ensure your LLM is properly configured on the **Settings** page before selecting this. Please note that Knowledge Graph consumes a large number of Tokens!
|
||||||
- `"email"`: Email
|
- `"email"`: Email
|
||||||
|
|
||||||
#### parser_config
|
#### parser_config
|
||||||
@ -249,7 +250,8 @@ A dictionary representing the attributes to update, with the following keys:
|
|||||||
- `"presentation"`: Presentation
|
- `"presentation"`: Presentation
|
||||||
- `"picture"`: Picture
|
- `"picture"`: Picture
|
||||||
- `"one"`: One
|
- `"one"`: One
|
||||||
- `"knowledge_graph"`: Knowledge Graph
|
- `"knowledge_graph"`: Knowledge Graph
|
||||||
|
Ensure your LLM is properly configured on the **Settings** page before selecting this. Please note that Knowledge Graph consumes a large number of Tokens!
|
||||||
|
|
||||||
### Returns
|
### Returns
|
||||||
|
|
||||||
@ -331,7 +333,8 @@ A dictionary representing the attributes to update, with the following keys:
|
|||||||
- `"presentation"`: Presentation
|
- `"presentation"`: Presentation
|
||||||
- `"picture"`: Picture
|
- `"picture"`: Picture
|
||||||
- `"one"`: One
|
- `"one"`: One
|
||||||
- `"knowledge_graph"`: Knowledge Graph
|
- `"knowledge_graph"`: Knowledge Graph
|
||||||
|
Ensure your LLM is properly configured on the **Settings** page before selecting this. Please note that Knowledge Graph consumes a large number of Tokens!
|
||||||
- `"email"`: Email
|
- `"email"`: Email
|
||||||
- `"parser_config"`: `dict[str, Any]` The parsing configuration for the document. Its attributes vary based on the selected `"chunk_method"`:
|
- `"parser_config"`: `dict[str, Any]` The parsing configuration for the document. Its attributes vary based on the selected `"chunk_method"`:
|
||||||
- `"chunk_method"`=`"naive"`:
|
- `"chunk_method"`=`"naive"`:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user