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

[AI] [Inference] update readme with scenario samples, add tests #42008

Merged
merged 15 commits into from
Oct 2, 2024

Conversation

glharper
Copy link
Member

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@glharper glharper changed the title Glharper/ai inf v2 readme tests [AI] [Inference] update readme with scenario samples, add tests Sep 24, 2024
@azure-sdk
Copy link
Collaborator

azure-sdk commented Sep 24, 2024

API change check

APIView has identified API level changes in this PR and created following API reviews.

com.azure:azure-ai-inference

@glharper glharper marked this pull request as ready for review October 1, 2024 19:21
sdk/ai/azure-ai-inference/README.md Outdated Show resolved Hide resolved
sdk/ai/azure-ai-inference/README.md Show resolved Hide resolved
@glharper glharper merged commit 5e07b10 into main Oct 2, 2024
19 checks passed
@glharper glharper deleted the glharper/ai-inf-v2-readme-tests branch October 2, 2024 19:59
mssfang pushed a commit to mssfang/azure-sdk-for-java that referenced this pull request Oct 21, 2024
…e#42008)

* [AI] [Inference] add scenario sample to readme

* add non-streaming tool call sample

* add links to function call samples

* add stubs and links for image chat samples

* add image chat code samples to readme

* make getModelInfo public, add sample

* add readme sample for getModelInfo

* add streaming function call test

* update test recordings

* linter fixes

* add image tests to chat suite

* update test recordings

* add getChoice() (singular) API for ChatCompletions and StreamingChatCompletionsUpdate, update samples and tests accordingly

* review feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants