Squashed 'vendor/ruvector/' content from commit b64c2172
git-subtree-dir: vendor/ruvector git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
This commit is contained in:
25
npm/packages/agentic-synth-examples/examples/beginner/first-dspy-training.d.ts
vendored
Normal file
25
npm/packages/agentic-synth-examples/examples/beginner/first-dspy-training.d.ts
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* 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
|
||||
Reference in New Issue
Block a user