π€LLM Guide: Creating vCon Adapters
Drop-into-context guide for LLMs generating vCon adapter code. Spec target: draft-ietf-vcon-vcon-core-02, syntax 0.4.0. Pairs with the vcon-adapter-template repo.
Ground truth
The one rule
Imports
import hashlib
import json
import logging
from abc import ABC, abstractmethod
from base64 import urlsafe_b64encode
from datetime import datetime, timezone
from typing import Any
from vcon import VconCreate a vCon (handle the four quirks)
Base adapter pattern
Parties
Dialogs (text, recording, video)
External media (recordings)
Analysis (transcripts, sentiment, summaries)
Attachments (metadata, signaling, consent)
Tags
Extensions
NEVER write these field names
β Never
β
Always
Where
Timestamps
Dialog types
Type
Use for
MIME types (mediatype)
Validation
Testing pattern
Delivery (downstream)
Key considerations
Last updated
Was this helpful?