ResourceBuilt-in resource
kdeps-resource-chat
v3.6.0The `chat:` resource sends a prompt to a language model and stores the reply as the resource's output.
Usage
Built into kdeps: no install. Add it to a resource under the chat: key.
# resources/my-step.yaml
actionId: myStep
chat:
# options below
Documentation
LLM resource
The chat: resource sends a prompt to a language model and stores the reply as the resource's output.
inputs -> prompt -> model (local or cloud) -> reply -> next resource
# resources/answer.yaml
actionId: answer
chat:
model:
name: llama3.2:1b # omit to use the machine default from ~/.kdeps/config.yaml
timeout: 60s # fail the resource if the model has not answered in 60s
context:
prompt: "{{ get('q') }}" # the request's q value
Read next
- LLM resource reference - every key, option and detail
- LLM backends - local and cloud backends, API keys
- Agent loop - a chat that calls tools over many rounds
Versions
| Version | Published | Status | Source |
|---|---|---|---|
| 3.6.0 | 11/27/2026 | active | GitHub v3.6.0 |
| 3.5.1 | 11/25/2026 | active | GitHub v3.5.1 |
| 3.5.0 | 11/24/2026 | active | GitHub v3.5.0 |
| 3.4.0 | 11/23/2026 | active | GitHub v3.4.0 |
| 3.3.0 | 11/21/2026 | active | GitHub v3.3.0 |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 3.6.0
- Published
- 11/21/2026
Links
Tags
kdepsresourcechat