Expand description
AI-powered view generation via the Anthropic API.
Provides two main functions:
call_anthropic: Makes a blocking request to the Anthropic Messages API.build_view_context: Assembles a prompt with component catalog, project models, and routes.
Functionsยง
- build_
view_ context - Assemble system and user prompts for AI view generation.
- call_
anthropic - Call the Anthropic Messages API with separate system and user prompts.