Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add agent doc #261

Merged
merged 7 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading