ragflow/sdk/python
Jin Hai 5e05f43c3d
Update default prompt (#11984)
### What problem does this PR solve?

New default prompt:

```
You are an intelligent assistant. Your primary function is to answer questions based strictly on the provided knowledge base.

**Essential Rules:**
- Your answer must be derived **solely** from this knowledge base: `{knowledge}`.
- **When information is available**: Summarize the content to give a detailed answer.
- **When information is unavailable**: Your response must contain this exact sentence: "The answer you are looking for is not found in the knowledge base!"
- **Always consider** the entire conversation history.
```

Also fix some grammar errors.

### Type of change

- [x] Refactoring

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-12-17 12:57:24 +08:00
..
ragflow_sdk Update default prompt (#11984) 2025-12-17 12:57:24 +08:00
test Change knowledge base to dataset (#11976) 2025-12-17 10:03:33 +08:00
hello_ragflow.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
pyproject.toml Bump python to >=3.12 (#11846) 2025-12-09 19:55:25 +08:00
uv.lock Use Infinity single-field-multi-index (#11444) 2025-11-26 11:06:37 +08:00