Skip to content

feat: Add support for embeddings operations in langchain instrumentation #142

@Cirilla-zmh

Description

@Cirilla-zmh

What problem do you want to solve?

Currently, embeddings operations are not automatically instrumented by loongsuite-instrumentation-langchain.

Describe the solution you'd like

  • Add an instrumentation point for LangChain Embedding.
  • Capture embeddings operations with genai-util.
  • Add unit tests for instrumentations.

Describe alternatives you've considered

No response

Additional Context

No response

Would you like to implement a fix?

None

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution welcomeWe'd welcome external contributionenhancementNew feature or requestgenaiThe genai label represents issues related to generative AI.instrumentaionThe instrumentation label represents issues related to instrumentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions