File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,15 +139,8 @@ impl Module for CustomModule {
139139
140140#### 3. ** Predictors** - Pre-built LLM Interaction Patterns
141141``` rust
142- // Simple prediction
142+ // Get prediction
143143let predict = Predict :: new (MySignature :: new ());
144-
145- // Chain of thought
146- let cot_predict = Predict :: new (MySignature :: new (). with_cot ());
147-
148- // Future: More predictors coming
149- // let chain = Chain::new(vec![step1, step2]);
150- // let retry = Retry::new(predictor, max_attempts: 3);
151144```
152145
153146#### 4. ** Language Models** - Configurable LLM Backends
@@ -159,10 +152,6 @@ let lm = LM::builder()
159152 . temperature (0.7 )
160153 . max_tokens (1000 )
161154 . build ();
162-
163- // Future: Support for other providers
164- // .provider(Provider::Anthropic)
165- // .provider(Provider::Local(model_path))
166155```
167156
168157## 📚 Examples
You can’t perform that action at this time.
0 commit comments