8000 Feat: Integrate Weave with Mirascope by willbakst · Pull Request #171 · Mirascope/mirascope · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feat: Integrate Weave with Mirascope #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 30, 2024
Merged

Feat: Integrate Weave with Mirascope #171

merged 7 commits into from
Mar 30, 2024

Conversation

willbakst
Copy link
Contributor
@willbakst willbakst commented Mar 30, 2024
  • Added @with_weave decorator for BaseCall and BaseExtractor extended provider wrappers.

  • Functions call, call_async, extract, and extract_async are now tracked, including their sub-calls to the model providers API (just like OpenAI is handled by default, except also for all other providers we support).

  • Functions stream and stream_async will also be tracked; however, due to how streaming works, the actual streaming won't be logged by default -- you'll need to separately track each chunk or wrap a function around streaming that returns the final content after you handle the stream.

  • Update concepts page for integrations to discuss weave

Copy link
codecov bot commented Mar 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (9b67d4c) to head (46626fb).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #171   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           76        79    +3     
  Lines         3453      3516   +63     
=========================================
+ Hits          3453      3516   +63     
Flag Coverage Δ
tests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@willbakst willbakst requested a review from brenkao March 30, 2024 14:47
@willbakst willbakst merged commit c4d2d48 into dev Mar 30, 2024
@willbakst willbakst deleted the weave branch March 30, 2024 22:36
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
0