arnavsinghvi11

Results 149 comments of arnavsinghvi11

Hi @drawal1 , could you print the number of predictors for the `teacher_module` and `student_module` at each step through `..._module.predictors()`? I'm wondering if this is triggered after `activate_assertions()` is called...

I think that's on the right track but the teacher module already has 39 predictors before the 3rd step in `BootstrapFewShotWithRandomSearch`, which is past zeroshot, `LabeledFewShot` and is doing the...

@harrysalmon just following up on this. I think we can merge the change but leave the existing retry behavior. lmk if it's ready to merge.

Hi @ko0stik , thanks for raising this. Assertions at the time were experimental and not adapted for TypedPredictors just yet (as per the note on [nested patterns here](https://github.com/stanfordnlp/dspy/blob/d09d984ecaf17f7262294d50fe46fd8105fbf291/dspy/primitives/program.py#L77)). Will keep...

Hi @geemi725 , Thanks for the question! This error could be likely because your specified `filename` is of type `'numpy.float64'` while it should be in fact `str` type. Could you...

Hi @chandlj , Thanks for the question! You can indeed specify a list type formatting for the `dspy.OutputField` of the Signature. To a generate a specified number of responses within...

Hi @codelauncher444 , for now, you can remove these default args in the GPT3 class like I've done here: https://github.com/stanfordnlp/dspy/pull/430/files#diff-777affe74e42de59a59f0918a7e36139b2186f27bc696b241afef40cfa6af453R70 while testing Mistral. @okhat It seems that not all available...

Would be exciting! Feel free to add a custom client for it through [following this documentation](https://dspy-docs.vercel.app/docs/deep-dive/language_model_clients/custom-lm-client) or mirroring existing LM client integrations. The current integration of the OpenAI SDK in...

Hi @isaacbmiller , I just patched the databricks.py file in this latest [PR](https://github.com/stanfordnlp/dspy/pull/470) to move the OpenAI dependency within a local function. feel free to check it out if that...

Thanks @isaacbmiller ! ready to merge on @okhat 's go :)