williamspindox
williamspindox
Same issue, I also tried with chunk.bytes().asUtf8String() The issue is only with "stream" method, with "call" it works. I'll try to do some test to understand if it's an issue...
same error for me, stream=True doesn't work, please enable this feature to get the response in chunks like in client.
Yes, v0.1.0
Hi, I can run your solution on Docker for Windows (the steps on your README are not complete, but it works), why do you say it's not supported? I was...
When can you approve my pull request? Thank you
Yes I did, but I can't see any difference in the response by enabling sampling or changing the advanced settings. Have you tried entering a very simple sentence into MyData...
Thanks, I put them in .mvn/jvm.config. To use a proxy even during debugging I solved it by using: System.setProperty("https.proxyHost", "proxy.host"); System.setProperty("https.proxyPort", "proxy.port"); System.setProperty("https.proxyHost", "proxy.host"); System.setProperty("https.proxyPort", "proxy.port");
The workaround worked with "spring-ai-openai-spring-boot-starter", but not for "spring-ai-azure-openai-spring-boot-starter", I get: java.net.UnknownHostException: xxx-openai-api.openai.azure.com at java.base/java.net.InetAddress$CachedAddresses.get(InetAddress.java:801) ~[na:na] at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1533) ~[na:na] at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1385) ~[na:na] at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1306) ~[na:na] at io.netty.util.internal.SocketUtils$9.run(SocketUtils.java:169) ~[netty-common-4.1.101.Final.jar:4.1.101.Final] at io.netty.util.internal.SocketUtils$9.run(SocketUtils.java:166)...
I'm trying something like this on **org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiAutoConfiguration**: AzureProfile azureProfile = new AzureProfile(AzureEnvironment.AZURE); TokenCredential tokenCredential = new ClientSecretCredentialBuilder() .clientId("xxxxxxxxxxxxxxxxx") .clientSecret("xxxxxxxxxxxxxxxxx") .tenantId("xxxxxxxxxxxxxxxxx") .authorityHost(azureProfile.getEnvironment().getActiveDirectoryEndpoint()) .build(); return new OpenAIClientBuilder().endpoint(connectionProperties.getEndpoint()) .credential(tokenCredential) .buildClient(); It works, I...
When will it be available on your release? Thank you