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

[API-47] Images support and other updates #144

Merged
merged 8 commits into from
Sep 13, 2024

Conversation

GaspardBT
Copy link
Collaborator

@GaspardBT GaspardBT commented Sep 13, 2024

This PR updates the SDKs to match the latest API specs, mainly:

  • Add support for sending images to the completion API (find an example here:examples/async_chat_with_image_no_streaming.py)
  • Model Card update split into base and FT models

How to review:

  • 1d406df: contains the update related to the spec changes
  • 541a2b4: contains the update to the code generation update (mainly code formatting)

Copy link

socket-security bot commented Sep 13, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
pypi/pydantic-core@2.23.3 environment, eval, filesystem, shell, unsafe 0 6.86 MB samuelcolvin

🚮 Removed packages: pypi/nodeenv@1.9.0, pypi/pyright@1.1.374, pypi/pyright@1.1.380

View full report↗︎

@GaspardBT
Copy link
Collaborator Author

fixes #141

MIGRATION.md Outdated
@@ -229,7 +229,7 @@ async def main():
# content="What is the best French cheese?",
# ),
# ]
async_response = await client.chat.complete(
async_response = await client.chat.stream(

Choose a reason for hiding this comment

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

@GaspardBT Isn't it stream_async?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah 😓 Sorry, done in df72773

@GaspardBT GaspardBT merged commit 290e1bf into main Sep 13, 2024
4 checks passed
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.

3 participants