Update Quickstart - Understand and Search Forms to use OpenAIChatCompletion transformer#2253
Open
jdocampo wants to merge 1 commit intomicrosoft:masterfrom
Open
Update Quickstart - Understand and Search Forms to use OpenAIChatCompletion transformer#2253jdocampo wants to merge 1 commit intomicrosoft:masterfrom
jdocampo wants to merge 1 commit intomicrosoft:masterfrom
Conversation
Migrate from OpenAIPrompt transformer to OpenAIChatCompletion since the former is not supported with newer versions of models
Acrolinx ScorecardsA minimum total score of 80 is required. Select the total score link to review all feedback on clarity, consistency, tone, brand, terms, spelling, grammar, readability, and inclusive language. You should fix all spelling errors regardless of your total score. Fixing spelling errors helps maintain customer trust in overall content quality.
More information about Acrolinx |
Contributor
|
@jdocampo hey thanks for this, though we just lit up prompt template support for gpt 4, perhaps we can just change the model name to gpt4 in this demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrate from OpenAIPrompt transformer to OpenAIChatCompletion since the former is not supported with newer versions of models
Related Issues/PRs
#xxx
What changes are proposed in this pull request?
Modified the sample in order to change from using the OpenAIPrompt for the OpenAIChatCompletion transformer.
How is this patch tested?
Does this PR change any dependencies?
Does this PR add a new feature? If so, have you added samples on website?
website/docs/documentationfolder.Make sure you choose the correct class
estimators/transformersand namespace.DocTablepoints to correct API link.yarn run startto make sure the website renders correctly.<!--pytest-codeblocks:cont-->before each python code blocks to enable auto-tests for python samples.WebsiteSamplesTestsjob pass in the pipeline.