- Add LiteLLM provider with LLM_PROVIDER env var support - Add Fake LLM provider for testing - Add action registry with 17 AI actions - Add permission checker with role verification - Add UI events in chat responses (fill_form, open_preview, etc) - Add versioned prompt files system - Add confirm action endpoint - Add 80 unit tests New endpoints: - POST /api/ai/actions/confirm New files: - src/handlers/actions.rs - src/handlers/confirm_action.rs - src/services/action_confirmation.rs - src/prompts.rs - src/tests.rs - prompts/v1/*.txt
9 lines
325 B
Text
9 lines
325 B
Text
Extract structured information from the user's unstructured input.
|
|
|
|
Return a JSON object with the extracted fields. Common fields include:
|
|
- name, email, phone
|
|
- company_name, job_title
|
|
- skills, experience_years
|
|
- message, description
|
|
|
|
Only extract fields that are clearly present in the input. Use null for missing fields.
|