monocle2ai / monocle

Monocle is a framework for tracing GenAI app code. This repo contains implementation of Monocle for GenAI apps written in Python.
http://monocle2ai.org
Apache License 2.0
18 stars 10 forks source link

improvement in traces #22

Closed kshitiz-okahu closed 3 months ago

kshitiz-okahu commented 3 months ago

Proposed changes

Added tags for vector store and embedding in the traces for llamaindex.

  1. The model_name and provider_name are now captured separately
  1. The code in async wrapper methods was not in sync with the sync wrapper methods. This PR fixes it.

Types of changes

What types of changes does your code introduce to this project? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...