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
11 stars 5 forks source link

Add framework for reading wrapper methods from configuration. Move th… #20

Closed prasad-okahu closed 2 months ago

prasad-okahu commented 2 months ago

…e out of box wrapper methods into config files

Proposed changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

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

Handle wrap methods to be read from files. Move out of box support for langchain, llamaindex and haystack methods to json files. This will enable contributors to add new methods easily to monocle. Also it lays out foundation to enable new methods tracing for applications overloading the out of box methods.