Add AI NLP and router modules for advanced natural language processing

- Introduced comprehensive NLP processing modules for intent classification, entity extraction, and context analysis
- Created AI router with rate-limited endpoints for command interpretation and execution
- Added prompt templates for different AI models with configurable system and user prompts
- Implemented robust type definitions for AI-related interfaces and schemas
- Enhanced security and error handling in AI processing pipeline
This commit is contained in:
jango-blockchained
2025-01-30 10:05:57 +01:00
parent 3115c41e87
commit c64dc4334b
13 changed files with 1274 additions and 37 deletions

View File

@@ -1,5 +1,5 @@
import { JSONSchemaType } from 'ajv';
import type HomeAssistant from '../types/hass.js';
import * as HomeAssistant from '../types/hass.js';
export const entitySchema: JSONSchemaType<HomeAssistant.Entity> = {
type: 'object',