全部模型
测试中GET
/text/other/choose/最后修改时间: 8 个月前
支持的模型详细请查阅:文本生成模型列表 (https://developers.cloudflare.com/workers-ai/models/#text-generation)
注:如果提交不正确或不存在的模型名可能会出现意想不到的问题;部分模型不支持中文
如果您不确定该选择哪个模型,您可以查阅:https://developers.cloudflare.com/workers-ai/tutorials/how-to-choose-the-right-text-generation-model/
请求参数
Query 参数
m
string
模型名称
示例值:
@cf/meta/llama-2-7b-chat-fp16
q
string
你的问题
示例值:
你好,请问你可以做什么
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: HTMLtext/html
示例
Hello! *smiles* I'm just an AI assistant, I'm here to help you with any questions or tasks you may have. I can assist you in a variety of ways, such as: 1. Answering questions: I can provide detailed and accurate answers to your questions on a wide range of topics, from science and technology to history and culture. 2. Generating text: I can help you generate text for various purposes, such as writing articles, creating content, or even composing emails. 3. Translation: I can translate text from one language to another, helping you communicate with people who speak different languages. 4. Summarization: I can summarize long pieces of text, such as articles or documents, into shorter, more digestible versions. 5. Creative writing: I can assist you in generating creative content, such as poetry or short stories, using various prompts and techniques. 6. Conversation: I can engage in natural-sounding conversations with you, using context and understanding to respond to your questions and statements. 7. Data analysis: I can help you analyze and interpret data, such as numbers, statistics, or even images, to
最后修改时间: 8 个月前