Fast Request
Get start
Features
What's New
Script
🔥 Teamwork
Contact us
🎯 Faq
  • Introduction
  • Install
    • Make icon move
    • Project-level domain config
    • Project-level config
    • SearchEveryWhere
    • API group
    • Debug API & send request
    • Download file
    • Stop API request
    • Navigate to current method
    • Save request
    • Temporary request
    • Apifox integration
    • Postman Sync
    • Re generate
    • cURL import
    • cURL copy
    • Single url copy
    • API document sync
    • History request
    • Setting manager
    • Full screen
    • Annual report
    • Document / Contact
    • Html preview
    • Swagger default value
    • Auto Description
    • API list
    • APIs export to Postman
    • APIs import and export
    • Batch export API doc
    • API navigate tree
    • API list preview
    • Api comment preview
    • Script
    • Function
    • Quickly add header
    • Auto domain
    • AI
    • Headers group
    • Headers batch edit
    • Custom toolbar
    • Json grammar check
  • Script
  • Environment
  • What's New
  • Teamwork
  • Buy Plugin
  • Version compare
  • Contacts
  • FAQ
  • Price adjust
  • EULA
  • History changes
  • Features

AI


AI

Version required: 2024.1.4+

1. Introduce

AI

In order to make AI's responses more accurate, we have made AI settings more refined and added 3 dimensions: Summary、Example question、Example question's answer. This design allows the AI to train a question and answer session so that the results are more in line with expectations.

We can try to express various possibilities of the question in the Summary, and the give an example in Example question and Example question's answer.

The following is a case of using AI to help optimize JSON messages

Summary
You are an excellent JSON handler. Whenever a user sends you a JSON, you should respond to
the user in a fixed JSON formatand replace the values in the JSON fields with
human-readable content according to the meaning of the JSON keys. You will only modify
the values in the JSON without changing its structure.
Example question
{ "id": 1, "title": "title_ahska", "simpleDesc": "simpleDesc_ohga1" }
Example question's answer
{
  "id": 1,
  "title": "Harry Potter and the Philosopher's Stone",
  "simpleDesc": "Join Harry Potter on a thrilling adventure at Hogwarts School of Witchcraft and Wizardry as he uncovers dangerous secrets and saves the rewarding world."
}

Tips

The value selected in the editor needs to be replaced with ${SELECTION}. The complete example is as following.

${SELECTION} can be quickly generated through the {} icon in the editor.

2. Api key configuration

  1. OpenAI needs to be pasted into the Api key field after generation in web page.
  2. CodeGeeX need to click Get api key and log in. Plugin will complete the api key automatically.
  3. Custom OpenAI refer to the first method to obtain the API key.

3. Trigger AI prompt

After selecting the content in the editor, click the prompt line.

Last update: 5/9/2025, 1:23:16 AM
Prev
Auto domain
Next
Headers group
Theme by vuepress-theme-hope
Copyright © 2021-present Kings