combinatrix-ai / PromptTrail

PromptTrail: A lightweight library for Prompt Programming, Agent as Code
https://prompttrail.readthedocs.io/en/latest/quickstart.html
MIT License
12 stars 0 forks source link

Add function calling support for OpenAI #2

Closed hmirin closed 1 year ago

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 18 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

codecov[bot] commented 1 year ago

Codecov Report

Merging #2 (b035e3b) into main (5efaeb2) will increase coverage by 8.15%. The diff coverage is 58.15%.

@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
+ Coverage   28.93%   37.08%   +8.15%     
==========================================
  Files          15       16       +1     
  Lines         833     1003     +170     
==========================================
+ Hits          241      372     +131     
- Misses        592      631      +39     
Files Changed Coverage Δ
src/prompttrail/agent/template.py 0.00% <0.00%> (ø)
src/prompttrail/provider/openai.py 78.57% <75.00%> (-2.59%) :arrow_down:
src/prompttrail/agent/tool.py 77.06% <77.06%> (ø)
src/prompttrail/core.py 77.41% <100.00%> (ø)
src/prompttrail/mock.py 86.66% <100.00%> (-0.44%) :arrow_down:
src/prompttrail/provider/google_cloud.py 90.56% <100.00%> (+0.18%) :arrow_up:

... and 2 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more