Skip to content

Conversation

@karthikscale3
Copy link
Collaborator

Description

This PR adds support for tracing cached input tokens

Checklist for adding new integration:

  • Defined APIS in constants folder.
  • Updated SERVICE_PROVIDERS in common.py
  • Created a folder under instrumentation with the name of the integration with atleast patch.py and instrumentation.py files.
  • Added instrumentation in all_instrumentations in langtrace.py and to the InstrumentationType in types.py files.
  • Added examples for the new integration in the examples folder.
  • Updated pyproject.toml to install new dependencies
  • Updated the README.md of langtrace-python-sdk to include the new integration in the supported integrations table.
  • Updated the README.md of Langtrace's repository to include the new integration in the supported integrations table.
  • Added new integration page to supported integrations in Langtrace Docs

@karthikscale3 karthikscale3 merged commit 219e691 into development Feb 6, 2025
4 checks passed
@karthikscale3 karthikscale3 deleted the karthik/support-cached-input-tokens branch February 6, 2025 17:04
karthikscale3 added a commit that referenced this pull request Feb 6, 2025
* remove logs

* remove requirements

* Bump version

* Squash

* minor

* switch to http exporter

* Support tracing cached input tokens (#477)

* capture cached input tokens

* bump version
karthikscale3 added a commit that referenced this pull request Feb 7, 2025
* remove logs

* remove requirements

* Bump version

* Squash

* minor

* switch to http exporter

* Support tracing cached input tokens (#477)

* capture cached input tokens

* bump version

* Bugfix DSPy
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