Files
wifi-densepose/npm/packages/agentic-synth-examples/examples/beginner/first-dspy-training.d.ts
ruv d803bfe2b1 Squashed 'vendor/ruvector/' content from commit b64c2172
git-subtree-dir: vendor/ruvector
git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
2026-02-28 14:39:40 -05:00

25 lines
800 B
TypeScript

/**
* BEGINNER TUTORIAL: First DSPy Training
*
* This tutorial demonstrates the basics of training a single model using DSPy.ts
* with agentic-synth for synthetic data generation.
*
* What you'll learn:
* - How to set up a DSPy module
* - Basic configuration options
* - Training a model with examples
* - Evaluating output quality
*
* Prerequisites:
* - Set GEMINI_API_KEY environment variable
* - npm install dspy.ts @ruvector/agentic-synth
*
* Run: npx tsx examples/beginner/first-dspy-training.ts
*/
import { ChainOfThought } from 'dspy.ts';
declare class ProductDescriptionGenerator extends ChainOfThought {
constructor();
}
declare function runTraining(): Promise<void>;
export { runTraining, ProductDescriptionGenerator };
//# sourceMappingURL=first-dspy-training.d.ts.map