-
Notifications
You must be signed in to change notification settings - Fork 1.3k
AOT refinements for M7 #2664
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
AOT refinements for M7 #2664
Conversation
Signed-off-by: Josh Long <[email protected]>
Signed-off-by: Josh Long <[email protected]>
@@ -42,6 +42,8 @@ | |||
import org.springframework.ai.openai.api.OpenAiApi.EmbeddingList; | |||
import org.springframework.ai.openai.api.common.OpenAiApiConstants; | |||
import org.springframework.ai.retry.RetryUtils; | |||
import org.springframework.aot.hint.RuntimeHints; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will clean this up when merging.
@@ -40,23 +35,13 @@ | |||
*/ | |||
public class OpenAiRuntimeHints implements RuntimeHintsRegistrar { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joshlong what is the reasoning behind removing the OpenAI API types and just adding the OpenAIChatOptions here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can not hurt to add them. please do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, I will add them back and merge.
Re-added OpenAI API packages, rebased and merged as fbec267 |
Thank you for taking time to contribute this pull request!
You might have already read the [contributor guide][1], but as a reminder, please make sure to:
main
branch and squash your commits