Skip to content

Openai decorators #217

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 10 commits into from
May 13, 2024
Merged

Openai decorators #217

merged 10 commits into from
May 13, 2024

Conversation

gavin-aguiar
Copy link
Contributor

@gavin-aguiar gavin-aguiar commented May 7, 2024

Added new decorators for OpenAI

New bindings:

  • assistant_skill_trigger
  • text_completion_input
  • assistant_create_output
  • assistant_query_input
  • assistant_post_input
  • embeddings_input
  • semantic_search_input
  • embeddings_store_output

@gavin-aguiar gavin-aguiar marked this pull request as ready for review May 10, 2024 07:47
Copy link
Contributor

@manvkaur manvkaur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some comments related to documentation.

everything else looks good to me.

@codecov-commenter
Copy link

codecov-commenter commented May 10, 2024

Codecov Report

Attention: Patch coverage is 66.86391% with 56 lines in your changes are missing coverage. Please review.

Project coverage is 91.82%. Comparing base (b85eb7a) to head (bac2768).
Report is 3 commits behind head on dev.

❗ Current head bac2768 differs from pull request most recent head 7ec1a4b. Consider uploading reports for the commit 7ec1a4b to get more accurate results

Files Patch % Lines
azure/functions/decorators/function_app.py 13.84% 56 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #217      +/-   ##
==========================================
- Coverage   93.10%   91.82%   -1.28%     
==========================================
  Files          56       57       +1     
  Lines        3247     3448     +201     
  Branches      666      683      +17     
==========================================
+ Hits         3023     3166     +143     
- Misses        137      194      +57     
- Partials       87       88       +1     
Flag Coverage Δ
unittests 91.79% <66.86%> (-1.28%) ⬇️

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.

@hallvictoria hallvictoria merged commit 5433b09 into dev May 13, 2024
13 checks passed
@hallvictoria hallvictoria deleted the gaaguiar/openai_decorators branch May 13, 2024 14:54
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.

4 participants