-
Notifications
You must be signed in to change notification settings - Fork 58
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
Support Azure OpenAI and AI Search #8
Conversation
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.
@showpune thanks a lot!
...ure-open-ai-spring-boot-starter/src/test/java/dev/langchain4j/azure/openai/AutoConfigIT.java
Outdated
Show resolved
Hide resolved
...ure-open-ai-spring-boot-starter/src/test/java/dev/langchain4j/azure/openai/AutoConfigIT.java
Outdated
Show resolved
Hide resolved
...ure-open-ai-spring-boot-starter/src/test/java/dev/langchain4j/azure/openai/AutoConfigIT.java
Outdated
Show resolved
Hide resolved
Co-authored-by: LangChain4j <[email protected]>
…v/langchain4j/azure/openai/AutoConfigIT.java Co-authored-by: LangChain4j <[email protected]>
…v/langchain4j/azure/openai/AutoConfigIT.java Co-authored-by: LangChain4j <[email protected]>
…v/langchain4j/azure/openai/AutoConfigIT.java Co-authored-by: LangChain4j <[email protected]>
# Conflicts: # .github/ISSUE_TEMPLATE/bug_report.md # README.md
This reverts commit a7fa4ac.
This reverts commit ed5be1b.
Co-authored-by: LangChain4j <[email protected]>
…v/langchain4j/azure/openai/AutoConfigIT.java Co-authored-by: LangChain4j <[email protected]>
…v/langchain4j/azure/openai/AutoConfigIT.java Co-authored-by: LangChain4j <[email protected]>
…v/langchain4j/azure/openai/AutoConfigIT.java Co-authored-by: LangChain4j <[email protected]>
Spring don't support or condition, I updated the code using other solution |
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's sad that you need to have both configurations, but indeed that's the only way to have this working.
And 99,99% of people will use "API Key", and this configuration is the most logical and easiest for them.
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.
@showpune thanks a lot!
...arch-spring-boot-starter/src/main/java/dev/langchain4j/azure/aisearch/spring/AutoConfig.java
Outdated
Show resolved
Hide resolved
...arch-spring-boot-starter/src/main/java/dev/langchain4j/azure/aisearch/spring/AutoConfig.java
Outdated
Show resolved
Hide resolved
...arch-spring-boot-starter/src/main/java/dev/langchain4j/azure/aisearch/spring/Properties.java
Outdated
Show resolved
Hide resolved
…ev/langchain4j/azure/aisearch/spring/Properties.java Co-authored-by: LangChain4j <[email protected]>
Co-authored-by: LangChain4j <[email protected]>
Co-authored-by: LangChain4j <[email protected]>
Co-authored-by: LangChain4j <[email protected]>
Co-authored-by: LangChain4j <[email protected]>
Co-authored-by: LangChain4j <[email protected]>
Co-authored-by: LangChain4j <[email protected]>
@langchain4j , can you help to approve if no more comments? |
...arch-spring-boot-starter/src/main/java/dev/langchain4j/azure/aisearch/spring/Properties.java
Outdated
Show resolved
Hide resolved
...ch-spring-boot-starter/src/test/java/dev/langchain4j/azure/aisearch/spring/AutoConfigIT.java
Outdated
Show resolved
Hide resolved
...pen-ai-spring-boot-starter/src/main/java/dev/langchain4j/azure/openai/spring/AutoConfig.java
Outdated
Show resolved
Hide resolved
...arch-spring-boot-starter/src/main/java/dev/langchain4j/azure/aisearch/spring/Properties.java
Outdated
Show resolved
Hide resolved
...ch-spring-boot-starter/src/test/java/dev/langchain4j/azure/aisearch/spring/AutoConfigIT.java
Outdated
Show resolved
Hide resolved
...ing-boot-starter/src/main/java/dev/langchain4j/azure/openai/spring/ImageModelProperties.java
Outdated
Show resolved
Hide resolved
...ure-open-ai-spring-boot-starter/src/test/java/dev/langchain4j/azure/openai/AutoConfigIT.java
Outdated
Show resolved
Hide resolved
...pen-ai-spring-boot-starter/src/main/java/dev/langchain4j/azure/openai/spring/AutoConfig.java
Outdated
Show resolved
Hide resolved
...pen-ai-spring-boot-starter/src/main/java/dev/langchain4j/azure/openai/spring/AutoConfig.java
Outdated
Show resolved
Hide resolved
...ure-open-ai-spring-boot-starter/src/test/java/dev/langchain4j/azure/openai/AutoConfigIT.java
Outdated
Show resolved
Hide resolved
@jdubois, can you help to approve my PR? |
@langchain4j , can you help to check? |
@showpune sure, sorry for delays, I have too much on my plate right now |
Add starter for
Azure Open AI, include
Add support for AI Search ( dependen on PR AzureAiSearchEmbeddingStore: Enable build the store without updating the index langchain4j#758)
Need the env
To run the IT