finally come! FastGPT is officially compatible with GPT applications

FastGPT V4.7 officially adds the tool calling function and is compatible with GPTs Actions. This means that you can directly import GPTs-compatible Agent tools !

Gapier is a set of online GPTs Actions tools that require no coding, are available out of the box, and have been adapted. It provides more than 50 ready-made tools, and has free quota for testing every day, making it convenient for users to try it out. The official address is: https:/ /gapier.com/

This article will introduce you to how to import Gapier's tools into FastGPT.

Create plugin

First you need to register and log in to Gapier:

Log in to the FastGPT console , click "Plug-ins" in the sidebar, then hover the mouse pointer over the "New" button, and click "HTTP Plug-in":

Click "URL Import":

Fill in the Gapier URL and add a custom request header:

  • Parameter name: Authorization
  • Parameter value: Bearer <Key in Gapier>

After setting the name and introduction of the plug-in, click Confirm and the Schema will be automatically pulled.

After the URL is imported, just click "Confirm Creation".

After creation, if changes are needed, there is no need to recreate it. You only need to modify the corresponding parameters, and the difference will be automatically compared and updated.

Bind application

After creating the plug-in, you can bind it in the application.

Easy configuration

If you are using simple configuration, then directly click "Select" on the right side of "Tool Call":

Find the tool you want to use and click "Open" on the right:

You can see that many plug-ins are imported here. You can choose to bind the corresponding plug-in according to your needs:

After binding is completed, click "Save and Preview".

Advanced orchestration

If you are using advanced orchestration, you need to drag in the "Tool Call" module first:

Then switch to "Team Plug-in", click or drag the plug-in you want to add to the workflow:

Connect the outputs under Tool Calls to the inputs of each plugin:

After the settings are completed, you can click the test button to test:

https://doc.fastai.site/imgs/gapierTool15.webp

No problem, you can save it:

Tool call instructions

Different models use different methods to call tools. Some models support toolChoice and functionCall for better results. Models that do not support these two methods can be called through prompt words, but the effect is not very good. In order to ensure smooth call, FastGPT's built-in prompt words only support calling one tool at a time.

The specific models that support functionCall can be viewed on the official website (of course, OneAPI support is also required), and the corresponding fields in the model configuration file need to be adjusted (see the configuration field description for details).

Users of the online version can see whether function calls are supported when selecting a model.

Linus took it upon himself to prevent kernel developers from replacing tabs with spaces. His father is one of the few leaders who can write code, his second son is the director of the open source technology department, and his youngest son is an open source core contributor. Robin Li: Natural language will become a new universal programming language. The open source model will fall further and further behind Huawei: It will take 1 year to fully migrate 5,000 commonly used mobile applications to Hongmeng. Java is the language most prone to third-party vulnerabilities. Rich text editor Quill 2.0 has been released with features, reliability and developers. The experience has been greatly improved. Ma Huateng and Zhou Hongyi shook hands to "eliminate grudges." Meta Llama 3 is officially released. Although the open source of Laoxiangji is not the code, the reasons behind it are very heart-warming. Google announced a large-scale restructuring
{{o.name}}
{{m.name}}

Guess you like

Origin my.oschina.net/u/4148359/blog/11049530