Chen Qian

Results 91 issues of Chen Qian

Rules defined in #7885

Style fix towards standardization. Guiding rule in #7885

While we have unit tests for `ChatAdapter` in `tests/adapters/test_chat_adapter.py`, it's only covering a few cases. We should add test cases to cover: - Different input field and output field types,...

good first issue

While we have unit tests for `JsonAdapter` in `tests/adapters/test_json_adapter.py`, it's only covering a few cases. We should add test cases to cover: - Different input field and output field types,...

good first issue

The code is located at `dspy/retrievers/embeddings.py`, which is a retriever implemented based on Faiss. We should add unit test for it. We can use local function to compute the embedding...

good first issue

Add docstring for dspy.ReAct.

We are adding adapter reliability testing with the purpose of: - Informing users of the DSPy program's quality without using DSPy optimizer. - Compare among different adapters and vanilla LM...

Because DSPy evaluator and optimizer doesn't support async yet, we provide a backdoor to execute async tools in sync mode so that optimizer and evaluator can still work. We make...

fix #8265 In some providers (only Bedrock for now), the value of certain keys in the usage dict can be `None`, this PR handles this case.

Fix #8261 We accidentally omitted the `[[ ## Complete ##]]` identifier when formatting the assistant message for few-shot examples and conversation history, which could lead to inconsistency between demo/history and...