arnavsinghvi11

Results 149 comments of arnavsinghvi11

Hi @KaifAhmad1 , retriever_model expects a query passed in with k and currently you are passing an empty string, which results in the error :). Feel free to refer to...

Hi @Vasilije1990 , thanks for the PR. This addition is fine to me, but it seems like in you want to use 'context' within evaluation, and my understanding is this...

@Vasilije1990 Can you run `ruff check . --fix-only` and push again to resolve the failing test? Ready to merge after that!

Thanks for the PR @codysnider ! Left a few comments. Could you run `ruff check . --fix-only` to fix the failing test and push again? The PR is also failing...

Hi @Vasilije1990 , thanks for the PR. unfortunately, this can't be merged since it will break existing caches. Why can you not set the `max_tokens` within your LM configuration?

Thanks @ieBoytsov for this PR! The changes look fine to me, but I want to note that DSPy is not fully functional with multi-modal capabilities just yet. It seems like...

Hi @mkotlarz , thanks for raising this. `InputField` and `OutputField` were migrated to using Pydantic types, no longer using [`finalize` to set the prefix. ](https://github.com/stanfordnlp/dspy/blob/d09d984ecaf17f7262294d50fe46fd8105fbf291/dspy/signatures/field.py#L39). It seems like we need...

Feel free to open a PR @pranavchat14 ! `dspy.OpenAI` points to request-calling logic in [gpt3.py](https://github.com/stanfordnlp/dspy/blob/d09d984ecaf17f7262294d50fe46fd8105fbf291/dsp/modules/gpt3.py), which can be adapted to batched requests. If this would not support the current caching...

Hi @tom-doerr , logprobs are indeed quite useful. Currently, DSPy doesn't support returning additional parameters besides the [response content](https://github.com/stanfordnlp/dspy/blob/d09d984ecaf17f7262294d50fe46fd8105fbf291/dsp/modules/gpt3.py#L188), but you can extract the logprobs from [the response](https://github.com/stanfordnlp/dspy/blob/d09d984ecaf17f7262294d50fe46fd8105fbf291/dsp/modules/gpt3.py#L178) (subject to...

Hi @anushka192001 , could you share the full error trace for this program? It's unclear what `"index out of range in self" ` refers to