mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-03 01:02:15 +08:00
4b24472106
* docs(i18n): translate batch 1 * docs(i18n): translate batch 2 * docs(i18n): translate batch 3 (20 files) - openapi/: app, share - faq/: all 8 files - use-cases/: index, external-integration (5 files), app-cases (4 files) Translated using North American style with natural, concise language. Preserved MDX syntax, code blocks, images, and component imports. * docs(i18n): translate protocol docs * docs(i18n): translate introduction docs (part 1) * docs(i18n): translate use-cases docs * docs(i18n): translate introduction docs (part 2 - batch 1) * docs(i18n): translate final 9 files * fix(i18n): fix YAML and MDX syntax errors in translated files - Add quotes to description with colon in submit_application_template.en.mdx - Remove duplicate Chinese content in translate-subtitle-using-gpt.en.mdx - Fix unclosed details tag issue * docs(i18n): translate all meta.json navigation files * fix(i18n): translate Chinese separators in meta.en.json files * translate * translate * i18n --------- Co-authored-by: archer <archer@archerdeMac-mini.local> Co-authored-by: archer <545436317@qq.com>
57 lines
2.3 KiB
Plaintext
57 lines
2.3 KiB
Plaintext
---
|
|
title: Import Agent Tools with Gapier
|
|
description: Quickly import Agent tools into FastGPT using Gapier
|
|
---
|
|
|
|
FastGPT V4.7 introduced tool calling, compatible with GPTs Actions. This means you can directly import GPTs-compatible Agent tools.
|
|
|
|
Gapier is an online GPTs Actions platform offering 50+ ready-made tools with a daily free quota for testing. Official site: [https://gapier.com/](https://gapier.com/).
|
|
|
|

|
|
|
|
Let's walk through importing Gapier tools into FastGPT.
|
|
|
|
## 1. Create a Plugin
|
|
|
|
| Step1 | Step2 | Step3 |
|
|
| --- | --- | --- |
|
|
|  |  | Log in to [Gapier](https://gapier.com/) and copy the relevant parameters <br/>  |
|
|
| Step4 | Step5 | Step6 |
|
|
| Custom request header: Authorization<br/>Value: Bearer your_copied_key <br/>  |  |  |
|
|
|
|
After creation, if you need to make changes, there's no need to recreate — just modify the parameters and the system will automatically detect and apply the differences.
|
|
|
|

|
|
|
|
## 2. Bind Tools to an Application
|
|
|
|
### Basic Mode
|
|
|
|
| Step1 | Step2 |
|
|
| --- | --- |
|
|
|  |  |
|
|
| Step3 | Step4 |
|
|
|  |  |
|
|
|
|
### Advanced Workflow
|
|
|
|
| Step1 | Step2 |
|
|
| --- | --- |
|
|
|  |  |
|
|
| Step3 | Step4 |
|
|
|  |  |
|
|
|
|

|
|
|
|
## 3. Tool Calling Notes
|
|
|
|
### Differences Between Models
|
|
|
|
Different models use different methods for tool calling. Models that support toolChoice and functionCall produce better results. Models without these capabilities fall back to prompt-based calling, which is less reliable. To ensure smooth operation, FastGPT's built-in prompts only support calling one tool at a time.
|
|
|
|
Check the official documentation to see which models support functionCall (OneAPI support is also required), and adjust the corresponding fields in the model configuration file (see the configuration field reference for details).
|
|
|
|
Cloud version users can see whether function calling is supported when selecting a model.
|
|
|
|

|