Skip to content
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

pydantic upgrade #100

Merged
merged 3 commits into from
Feb 18, 2024
Merged

pydantic upgrade #100

merged 3 commits into from
Feb 18, 2024

Conversation

michaelfeil
Copy link
Owner

  • Makes usage with pydantic v1 possible (beta), this helps usage in langchain.
  • makes openai post request acceppt a single string instead of a list of strings

@codecov-commenter
Copy link

codecov-commenter commented Feb 18, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (13458f7) 86.25% compared to head (b858f32) 86.18%.

Files Patch % Lines
...inity_emb/infinity_emb/fastapi_schemas/pymodels.py 72.72% 3 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
- Coverage   86.25%   86.18%   -0.08%     
==========================================
  Files          27       27              
  Lines        1266     1274       +8     
==========================================
+ Hits         1092     1098       +6     
- Misses        174      176       +2     

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

@michaelfeil michaelfeil merged commit d94d67f into main Feb 18, 2024
3 of 5 checks passed
@michaelfeil michaelfeil deleted the pydantic-upgrade branch February 18, 2024 00:57
@michaelfeil
Copy link
Owner Author

Should be compatible now with langchain-ai/langchain#17671

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.

None yet

2 participants