Writing a New Integration
Overview
Step 1: Author a YAML template
name: my-framework-template
version: "1.0"
rules:
- name: model_call
conditions:
event_type: llm_invoke
output:
step_type: step.model
scope: step
verb: POST
properties:
model:
provider: "{{ provider }}"
name: "{{ model_name }}"
- name: tool_call
conditions:
event_type: tool_execute
output:
step_type: step.resource
scope: step
verb: POST
- name: fallback
conditions: {}
output:
step_type: step.unknown
scope: stepLoading and testing the template
Step 2: Subclass FrameworkAdapter
Base class methods
Method
Purpose
Integration with the framework
Step 3: Test the mapping
Example: complete adapter
Next steps
Last updated
