Phase 3: AI pipeline generation and interactive wizard#5
Merged
Conversation
AI Generation: - LLMClient: HTTP client for Claude and OpenAI APIs (java.net.http, zero deps) - PromptBuilder: schema-grounded prompts with JSON Schema + connector reference - GenerateCommand: weaver generate "<description>" with validation loop (generate → validate → retry, max 3 attempts) - WeaverConfig: ~/.weaver/config.yaml for AI provider, model, API key Interactive Wizard: - InteractiveWizard: step-by-step pipeline creation without LLM (weaver init --interactive) - InitCommand: project scaffolding with example pipeline, connections, .env.example, .gitignore Pipeline JSON Schema: - core/src/main/resources/schemas/pipeline.schema.json for IDE autocomplete and LLM grounding CLI commands: - weaver init <project-name>: scaffold new project - weaver init --interactive: step-by-step wizard - weaver generate "<description>": AI pipeline generation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds AI-powered pipeline generation from natural language and an interactive step-by-step wizard.
AI Generation
LLMClient: HTTP client for Claude and OpenAI APIs usingjava.net.http(zero external dependencies)PromptBuilder: schema-grounded prompts with full JSON Schema + connector referenceGenerateCommand:weaver generate "<description>"with validation loop (generate → validate → retry, max 3 attempts)WeaverConfig:~/.weaver/config.yamlfor AI provider, model, API key configurationInteractive Wizard
InteractiveWizard: step-by-step pipeline creation without LLM (weaver init --interactive)Project Scaffolding
InitCommand:weaver init <project-name>creates project structure with example pipeline, connections.yaml, .env.example, .gitignorePipeline JSON Schema
core/src/main/resources/schemas/pipeline.schema.jsonfor IDE autocomplete and LLM prompt groundingNew CLI commands
Test plan
sbt compile— All modules compilesbt core/test— 47 tests passweaver init test-projectcreates project structureweaver generate "read CSV, filter, write parquet"with ANTHROPIC_API_KEY set