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

[FR]: New Integration: PydanticAI #1256

Open
andnig opened this issue Feb 11, 2025 · 7 comments
Open

[FR]: New Integration: PydanticAI #1256

andnig opened this issue Feb 11, 2025 · 7 comments
Labels
enhancement New feature or request planned

Comments

@andnig
Copy link

andnig commented Feb 11, 2025

Proposal summary

I would like to ask for a native integration with pydanticAI ( github)

Thanks for this amazing tool!!

Motivation

PydanticAI is a 'rising star' among the agent frameworks and gets more and more popular. With pydantic being a big name in python in general, them providing an agent framework is quite a huge thing.

@andnig andnig added the enhancement New feature or request label Feb 11, 2025
@dsblank
Copy link
Contributor

dsblank commented Feb 11, 2025

@andnig, thank you for the suggestion! We'll look into it.

@dsblank
Copy link
Contributor

dsblank commented Feb 12, 2025

Added to the list of planned features!

@Lothiraldan
Copy link
Member

Hi @andnig, I'm very happy to share that we are actively working on supporting PydanticAI via an OpenTelemetry endpoint. We are actively working on it and we are aiming to get a first version of it deployed by the end of the week and a more feature-full version the week after.

We are looking for beta-tester of this new endpoint, would you be willing to give it a try once it's released? That would be very valuable to validate that we are going in the right direction and supporting your use-case nicely.

@andnig
Copy link
Author

andnig commented Feb 14, 2025

Wow, this was quick.

Yes I'm happy to assist, let me know when and how 👍

@Lothiraldan
Copy link
Member

@andnig We hit some unexpected complexity and we only opened the PR today: #1309

We are aiming to release and deploy it on www.comet.com in the next days, do you want to try it on your own installation or on comet.com?

@andnig
Copy link
Author

andnig commented Feb 18, 2025

@Lothiraldan thanks for the heads up.
For the project in question I run a local installation for a client due to regulatory things (and client worries...). However I could redirect some tests to your platform. Long story short: Own installation would be easier for me, but if it helps on your end, I'm happy to use comet.com

@Lothiraldan
Copy link
Member

Hi @andnig, we made a release today https://github.com/comet-ml/opik/releases/tag/1.4.17 that includes a first version of the new OTel ingestion endpoint.

After updating your Opik installation, you can set the following environment variable OTEL_EXPORTER_OTLP_ENDPOINT=https://${COMET_SERVER}/opik/api/v1/private/otel to start logging traces to Opik. Please let us know if you are facing any issues. We are actively improving our support for Otel so any feedback would be helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request planned
Projects
None yet
Development

No branches or pull requests

3 participants