8000 [FIX] Better DSPy Graph API by dsblank · Pull Request #2037 · comet-ml/opik · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[FIX] Better DSPy Graph API #2037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2025
Merged

[FIX] Better DSPy Graph API #2037

merged 1 commit into from
May 6, 2025

Conversation

dsblank
Copy link
Contributor
@dsblank dsblank commented May 6, 2025

Details

This PR is a better DSPy callback graph API

Issues

Previously, the module was provided at the time of creating the callback. But that was incorrect. The Graph changes for each module.

Now, the graph is created dynamically.

Testing

TODO: Testing will need a variety of DSPy programs

Documentation

The Callback signature changes from:

OpikCallback(project_name, module)

to:

OpikCallback(project_name, log_graph)

The default is False, so that one needs to opt-in at this time.

@dsblank dsblank requested a review from a team as a code owner May 6, 2025 07:36
@alexkuzmik alexkuzmik merged commit 9bfbc17 into main May 6, 2025
47 checks passed
@alexkuzmik alexkuzmik deleted the dsb/better-dspy-graph-api branch May 6, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0