generate text
ai/generate-text
Component: This is an AI text generation component that can generate specified content through prompt words and titles.
# Configuration
Field | Type | Description | Default |
---|---|---|---|
API Address | string | OPENAI REST API | https://api.gptgod.online/v1 |
Authorization Key | string | GPT authorization key | |
Model | string | GPT model | dall-e-3 |
# Execute Result
The execution result replaces msg.Data and flows to the next node.
# Configuration Example
{
"id": "s5",
"type": "ai/generate-text",
"name": "generate-text",
"debugMode": false,
"configuration": {
"key": "sk-xxx",
"model": "gpt-3.5-turbo",
"url": "https://api.openai.com/v1/"
}
}
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
# 应用示例
Edit this page on GitHub (opens new window)
Last Updated: 2024/10/23, 10:13:01