text_generation
Generate text completions using AI models to extend prompts, create content, or answer questions through DeepInfra's API.
Instructions
Generate text completion using DeepInfra OpenAI-compatible API.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
model | No | ||
prompt | Yes |
Input Schema (JSON Schema)
{
"properties": {
"model": {
"default": null,
"title": "Model",
"type": "string"
},
"prompt": {
"title": "Prompt",
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
}