kobold_chat
Enable chat completion through OpenAI-compatible API integration, allowing dynamic text generation and conversation handling with customizable parameters for temperature, max tokens, and more.
Instructions
Chat completion (OpenAI-compatible)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
apiUrl | No | http://localhost:5001 | |
max_tokens | No | ||
messages | Yes | ||
stop | No | ||
temperature | No | ||
top_p | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"apiUrl": {
"default": "http://localhost:5001",
"type": "string"
},
"max_tokens": {
"type": "number"
},
"messages": {
"items": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"role": {
"enum": [
"system",
"user",
"assistant"
],
"type": "string"
}
},
"required": [
"role",
"content"
],
"type": "object"
},
"type": "array"
},
"stop": {
"items": {
"type": "string"
},
"type": "array"
},
"temperature": {
"type": "number"
},
"top_p": {
"type": "number"
}
},
"required": [
"messages"
],
"type": "object"
}