🚀 全新 App Builder 引擎 Beta 版上线!查看 更新日志 了解详情。
cURL
curl --request POST \ --url https://app.teable.ai/api/api/%7BbaseId%7D/ai/generate-stream \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"prompt":"string","task":"coding","modelKey":"openai@gpt-4o@custom-name"}'
{ "result": "<string>" }
Generate ai stream
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Quick model selection via predefined task type
coding
embedding
translation
"coding"
Specify an exact model configuration to use
"openai@gpt-4o@custom-name"
Returns ai generate stream.
此页面对您有帮助吗?