Skip to content

Commit

Permalink
Add agent doc (#261)
Browse files Browse the repository at this point in the history
* Fix bugs

* Fix test bug

* Fix test

* Update agent doc

* Update doc

* address comment
  • Loading branch information
moria97 authored Nov 1, 2024
1 parent 1f477ee commit 815bdb9
Show file tree
Hide file tree
Showing 10 changed files with 420 additions and 10 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,14 +312,10 @@ curl -X 'POST' http://127.0.0.1:8000/service/query -H "Content-Type: application
- Agent And Function Tool
```bash
curl -X 'POST' http://127.0.0.1:8000/service/query/agent -H "Content-Type: application/json" -d '{"question":"This year is 2024. What year was it 10 years ago?"}'
```
# Agentic RAG
You can use agent with function calling api-tools in PAI-RAG, please refer to the documentation:
[Agentic RAG](./example_data/function_tools/api-tool-with-intent-detection-for-travel-assistant/README.md)
[Agentic RAG](./docs/agentic_rag.md)
# Data Analysis
Expand Down
6 changes: 1 addition & 5 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,14 +264,10 @@ curl -X 'POST' http://127.0.0.1:8000/service/query -H "Content-Type: application

- Agent及调用Function Tool的简单对话

```bash
curl -X 'POST' http://127.0.0.1:8000/service/query/agent -H "Content-Type: application/json" -d '{"question":"今年是2024年,10年前是哪一年?"}'
```

# Agentic RAG

您也可以在PAI-RAG中使用支持API function calling功能的Agent,请参考文档:
[Agentic RAG](./example_data/function_tools/api-tool-with-intent-detection-for-travel-assistant/README.md)
[Agentic RAG](./docs/agentic_rag.md)

# Data Analysis

Expand Down
Loading

0 comments on commit 815bdb9

Please sign in to comment.