Update project and configurations

This commit is contained in:
Zou-Seay
2026-06-11 16:28:00 +08:00
parent 12d3922091
commit a29a91867d
237 changed files with 164880 additions and 90 deletions

View File

@@ -0,0 +1,16 @@
from __future__ import annotations
from typing import Literal
from pydantic import BaseModel, Field
class IntentDefinition(BaseModel):
intent_id: str
plugin_id: str
domain: str
risk_level: Literal["low", "medium", "high"] = "low"
required_slots: list[str] = Field(default_factory=list)
ask_templates: dict[str, str] = Field(default_factory=dict)
keywords: list[str] = Field(default_factory=list)
examples: list[str] = Field(default_factory=list)