-
Notifications
You must be signed in to change notification settings - Fork 44
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
[python][dspy] instrument module #134
Comments
🤖 To instrument a module in dspy so that the forward passes are captured, you can use the Here is a basic example of how you can use it: from openinference.instrumentation.dspy import DSPyInstrumentor
# ...
DSPyInstrumentor().instrument() In the provided code, the The The method does the following:
The You can find more details in the OpenInference repository. Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Instrument module so that the forward passes are captured
The text was updated successfully, but these errors were encountered: