newrelic / newrelic-python-agent

New Relic Python Agent
https://docs.newrelic.com/docs/agents/python-agent
Apache License 2.0
176 stars 99 forks source link

Add LLM attribute to LangChain #1057

Closed umaannamalai closed 7 months ago

umaannamalai commented 7 months ago

Add llm:True attribute to LangChain transactions and instrument NeuralDBVectorStore

github-actions[bot] commented 7 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 3 0 5.97s
✅ PYTHON black 7 0 0 2.19s
✅ PYTHON flake8 7 0 1.29s
✅ PYTHON isort 7 3 0 0.32s
✅ PYTHON pylint 7 0 11.42s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

codecov-commenter commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (develop-ai-limited-preview-3@6710d27). Click here to learn what that means.

:exclamation: Current head b337eb3 differs from pull request most recent head d01e3d8. Consider uploading reports for the commit d01e3d8 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop-ai-limited-preview-3 #1057 +/- ## =============================================================== Coverage ? 81.80% =============================================================== Files ? 192 Lines ? 20745 Branches ? 3622 =============================================================== Hits ? 16970 Misses ? 2738 Partials ? 1037 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.