Skip to content
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] trace RM Calls #125

Closed
Tracked by #109
mikeldking opened this issue Jan 20, 2024 · 1 comment · Fixed by #158
Closed
Tracked by #109

[Python][DSPy] trace RM Calls #125

mikeldking opened this issue Jan 20, 2024 · 1 comment · Fixed by #158
Assignees
Labels
language: python Related to Python integration

Comments

@mikeldking
Copy link
Contributor

mikeldking commented Jan 20, 2024

Add retriever calls for RM model calls under a signature

Copy link

dosubot bot commented Jan 20, 2024

🤖

To trace RM (resource manager) calls in Python using OpenInference, you can follow these general steps:

  1. Instrumentation: Ensure that OpenInference is properly integrated with your Python application. This typically involves adding the necessary dependencies and initializing the OpenInference tracer.

  2. Tracing RM Calls: Once OpenInference is integrated, you can trace RM calls by using the provided instrumentation or by manually creating spans around the relevant RM operations in your code.

  3. Custom Spans: If the RM calls are not automatically traced by OpenInference, you can create custom spans to explicitly trace the relevant operations.

  4. Testing and Validation: After instrumenting the RM calls, it's important to test and validate the tracing to ensure that the spans are being captured accurately.

For specific implementation details and code examples, you may need to refer to the OpenInference documentation or seek assistance from the OpenInference community.

If you encounter any issues or need further assistance with OpenInference integration or tracing, feel free to ask for help.


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.

@dosubot dosubot bot added language: python Related to Python integration question Further information is requested labels Jan 20, 2024
@mikeldking mikeldking removed the question Further information is requested label Jan 23, 2024
@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Jan 24, 2024
@mikeldking mikeldking moved this from 📘 Todo to 👨‍💻 In progress in phoenix Jan 29, 2024
@axiomofjoy axiomofjoy linked a pull request Jan 30, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from 👨‍💻 In progress to ✅ Done in phoenix Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language: python Related to Python integration
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants