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

[BUG] JsonEOFException : Unexpected end-of-input | AzureOpenAiStreamingChatModel #1848

Open
cato-dll opened this issue Sep 27, 2024 · 17 comments
Labels
Azure bug Something isn't working P2 High priority

Comments

@cato-dll
Copy link

Describe the bug
If I try to update LangChain4J beyond 0.31.0 I get a Jackson JsonEOFException, when making an API call to my Azure OpenAI endpoint. The LLM streamed response does work despite the exception -- but I can't have this filling up my logs :).

NOTE: the results are streamed.

Log and Stack trace

2024-09-27T08:38:30.634-04:00 ERROR 26320 --- [XXXXX] [oundedElastic-1] c.a.c.i.s.DefaultJsonSerializer : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" are"},"finish_reason":null,"index":0,"logprobs":null}],"created":1727440708,"id":"chatcmpl-AC4Wqu"; line: 1, column: 346]

To Reproduce

The exception is reproducible every time (Streaming instance) when using:

AzureOpenAiStreamingChatModel client = dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.builder()
					.endpoint(OPENAI_CHAT_ENDPOINT)
					.deploymentName(OPENAI_CHAT_DEPLOYMENT_NAME)
					.logRequestsAndResponses(ApplicationConstants.OPENAI_CHAT_DEBUG_LOGGING)
					.apiKey(OPENAI_API_KEY)
					.serviceVersion(OPENAI_CHAT_SERVICE_VERSION)
					.tokenizer(TOKENIZER)
					.maxTokens(ApplicationConstants.OPENAI_CHAT_RESPONSE_TOKEN_MAX)
					.temperature(ApplicationConstants.OPENAI_CHAT_TEMPATURE)
					.topP(0.0)
					.maxRetries(2)
					.build();

but does not create an error (Non-streaming) when using:

AzureOpenAiChatModel client = dev.langchain4j.model.azure.AzureOpenAiChatModel.builder()
								.endpoint(ApplicationConstants.OPENAI_CHAT_ENDPOINT)
								.deploymentName(ApplicationConstants.OPENAI_CHAT_DEPLOYMENT_NAME)
								.serviceVersion(ApplicationConstants.OPENAI_CHAT_SERVICE_VERSION)
								.logRequestsAndResponses(ApplicationConstants.OPENAI_CHAT_DEBUG_LOGGING)
								.apiKey(ApplicationConstants.OPENAI_API_KEY)
								.tokenizer(new OpenAiTokenizer(OpenAiChatModelName.GPT_4.toString()))
								.maxTokens(ApplicationConstants.OPENAI_CHAT_RESPONSE_TOKEN_MAX)
								.temperature(0.0)
								.topP(0.0)
								.maxRetries(2)
								.build();

Expected behavior

No exceptions.

Please complete the following information:

  • LangChain4j version: 0.32.0 through 0.35.0 (0.31.0 works fine)
  • LLM(s) used: Azure OpenAI GPT-4o
  • Java version: 21
  • Spring Boot version (if applicable): Reproducible on 3.3.3 and 3.3.4
@cato-dll cato-dll added the bug Something isn't working label Sep 27, 2024
Copy link

/cc @agoncal (azure), @jdubois (azure)

@jdubois
Copy link
Contributor

jdubois commented Sep 27, 2024

Hey, I think I filled up the same issue a couple of days ago :-)
Azure/azure-sdk-for-java#42037
My bug was with the Azure Inference API, but it's very close and based on the same code as Azure OpenAI API, and the dev team already told me it was a wider issue with our SDK. Please add some comment on that bug to give them more context, that might help!

@cato-dll
Copy link
Author

Thanks @jdubois -- I tried searching the discussion/bug history and couldn't find anything related. I hate creating duplicates. I will add a note to your defect report and link it to mine.

@jdubois
Copy link
Contributor

jdubois commented Sep 27, 2024

Oh it's not really a duplicate as it's with another SDK, and I believe it gives them more context. And that's my last important issue for GitHub Models support, so I'm super happy to have more people pushing for this :-D

@langchain4j langchain4j added the P2 High priority label Oct 7, 2024
@langchain4j
Copy link
Owner

Fixed by #1872

@cato-dll
Copy link
Author

I just upgraded to the 0.36.0 build and I am still getting the same errors.

It should be noted that I have been able to get all my other dev.langchain4j groupIds to 0.35.0/0.36.0, with the exception of:

<dependency>
   <groupId>dev.langchain4j</groupId>
   <artifactId>langchain4j-azure-open-ai</artifactId>
   <version>0.31.0</version>
</dependency>

Which I need to keep at 0.31.0 to keep the errors in the original post at bay.

@langchain4j
Copy link
Owner

I see a similar issue on 0.36.0 when using AzureOpenAiStreamingChatModel and useAsyncClient(false).
When useAsyncClient(true), there is no error. @cato-dll could you please check if you are using useAsyncClient(false)?

WARN StatusConsoleListener org.apache.logging.slf4j.Log4jLogger caught java.lang.IllegalArgumentException logging ReusableParameterizedMessage: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{},"delta":{"content":"","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731562389,"id":"chatcmpl-ATMlZpJTCRsoNf5zrY9xg1fFe6UL3","model":"gpt-4o-2024-05-13","object":"chat.completion.chunk","system_fingerprin"; line: 1, column: 279]
 java.lang.IllegalArgumentException: found 1 argument placeholders, but provided 0 for pattern `Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{},"delta":{"content":"","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731562389,"id":"chatcmpl-ATMlZpJTCRsoNf5zrY9xg1fFe6UL3","model":"gpt-4o-2024-05-13","object":"chat.completion.chunk","system_fingerprin"; line: 1, column: 279]`
	at org.apache.logging.log4j.message.ParameterFormatter.formatMessage(ParameterFormatter.java:233)
	at org.apache.logging.log4j.message.ReusableParameterizedMessage.formatTo(ReusableParameterizedMessage.java:362)
	at org.apache.logging.log4j.core.impl.MutableLogEvent.setMessage(MutableLogEvent.java:218)
	at org.apache.logging.log4j.core.impl.ReusableLogEventFactory.createEvent(ReusableLogEventFactory.java:99)
	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:573)
	at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:92)
	at org.apache.logging.log4j.core.Logger.log(Logger.java:169)
	at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2933)
	at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2886)
	at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2868)
	at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2658)
	at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:2421)
	at org.apache.logging.slf4j.Log4jLogger.error(Log4jLogger.java:310)
	at com.azure.core.util.logging.ClientLogger.performLogging(ClientLogger.java:531)
	at com.azure.core.util.logging.ClientLogger.logThrowableAsError(ClientLogger.java:470)
	at com.azure.core.implementation.MethodHandleReflectiveInvoker.invokeStatic(MethodHandleReflectiveInvoker.java:31)
	at com.azure.core.implementation.ReflectionSerializable.deserializeAsJsonSerializable(ReflectionSerializable.java:159)
	at com.azure.core.util.serializer.JacksonAdapter.lambda$deserialize$9(JacksonAdapter.java:358)
	at com.azure.core.util.serializer.JacksonAdapter.useAccessHelper(JacksonAdapter.java:491)
	at com.azure.core.util.serializer.JacksonAdapter.deserialize(JacksonAdapter.java:347)
	at com.azure.core.implementation.serializer.DefaultJsonSerializer.deserializeFromBytes(DefaultJsonSerializer.java:32)
	at com.azure.ai.openai.implementation.OpenAIServerSentEvents.handleCurrentLine(OpenAIServerSentEvents.java:88)
	at com.azure.ai.openai.implementation.OpenAIServerSentEvents.lambda$mapByteBuffersToEvents$0(OpenAIServerSentEvents.java:58)
	at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.drain(FluxConcatMap.java:376)
	at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.onNext(FluxConcatMap.java:243)
	at reactor.core.publisher.FluxPublishOn$PublishOnSubscriber.runBackfused(FluxPublishOn.java:484)
	at reactor.core.publisher.FluxPublishOn$PublishOnSubscriber.run(FluxPublishOn.java:521)
	at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84)
	at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
WARN StatusConsoleListener org.apache.logging.slf4j.Log4jLogger caught java.lang.IllegalArgumentException logging ReusableParameterizedMessage: com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{},"delta":{"content":"","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731562389,"id":"chatcmpl-ATMlZpJTCRsoNf5zrY9xg1fFe6UL3","model":"gpt-4o-2024-05-13","object":"chat.completion.chunk","system_fingerprin"; line: 1, column: 279]
 java.lang.IllegalArgumentException: found 1 argument placeholders, but provided 0 for pattern `com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{},"delta":{"content":"","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731562389,"id":"chatcmpl-ATMlZpJTCRsoNf5zrY9xg1fFe6UL3","model":"gpt-4o-2024-05-13","object":"chat.completion.chunk","system_fingerprin"; line: 1, column: 279]`
	at org.apache.logging.log4j.message.ParameterFormatter.formatMessage(ParameterFormatter.java:233)
	at org.apache.logging.log4j.message.ReusableParameterizedMessage.formatTo(ReusableParameterizedMessage.java:362)
	at org.apache.logging.log4j.core.impl.MutableLogEvent.setMessage(MutableLogEvent.java:218)
	at org.apache.logging.log4j.core.impl.ReusableLogEventFactory.createEvent(ReusableLogEventFactory.java:99)
	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:573)
	at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:92)
	at org.apache.logging.log4j.core.Logger.log(Logger.java:169)
	at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2933)
	at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2886)
	at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2868)
	at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2658)
	at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:2421)
	at org.apache.logging.slf4j.Log4jLogger.error(Log4jLogger.java:310)
	at com.azure.core.util.logging.ClientLogger.performLogging(ClientLogger.java:531)
	at com.azure.core.util.logging.ClientLogger.logThrowableAsError(ClientLogger.java:470)
	at com.azure.core.util.logging.ClientLogger.logExceptionAsError(ClientLogger.java:450)
	at com.azure.core.implementation.serializer.DefaultJsonSerializer.deserializeFromBytes(DefaultJsonSerializer.java:34)
	at com.azure.ai.openai.implementation.OpenAIServerSentEvents.handleCurrentLine(OpenAIServerSentEvents.java:88)
	at com.azure.ai.openai.implementation.OpenAIServerSentEvents.lambda$mapByteBuffersToEvents$0(OpenAIServerSentEvents.java:58)
	at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.drain(FluxConcatMap.java:376)
	at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.onNext(FluxConcatMap.java:243)
	at reactor.core.publisher.FluxPublishOn$PublishOnSubscriber.runBackfused(FluxPublishOn.java:484)
	at reactor.core.publisher.FluxPublishOn$PublishOnSubscriber.run(FluxPublishOn.java:521)
	at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84)
	at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
2024/11/14 06:33:09,044 5052 [ERROR ] [boundedElastic-1] core.implementation.MethodHandleReflectiveInvoker - Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" is"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731562389,"id":"chatcmpl-ATM"; line: 1, column: 342]
2024/11/14 06:33:09,044 5052 [ERROR ] [boundedElastic-1] implementation.serializer.DefaultJsonSerializer - com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" is"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731562389,"id":"chatcmpl-ATM"; line: 1, column: 342]

@langchain4j langchain4j reopened this Nov 14, 2024
@cato-dll
Copy link
Author

I was not setting the property:

.useAsyncClient

at all, so whatever the default is. I also noticed that it is deprecated. With that said, when I do set the value to true, I still get the:

2024-11-14T08:05:58.809-05:00 ERROR 20824 --- [XXXXX] [oundedElastic-1] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" log"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731589545,"id":"chatcmpl-ATTpZAubPBT28g2DeKGZOhvm1N4Tl","model":"g"; line: 1, column: 381]
2024-11-14T08:05:58.809-05:00 ERROR 20824 --- [XXXXX] [oundedElastic-1] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" log"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731589545,"id":"chatcmpl-ATTpZAubPBT28g2DeKGZOhvm1N4Tl","model":"g"; line: 1, column: 381]

errors.

Back to 0.31.0 :(.

@langchain4j
Copy link
Owner

@cato-dll could you please provide the latest logs you have with 0.36.0?

@cato-dll
Copy link
Author

Here you go:

2024-11-14T09:20:32.969-05:00  INFO 12708 --- [XXXXX] [      Thread-44] c.a.a.o.i.O.getChatCompletions           : {"az.sdk.message":"HTTP request","method":"POST","url":"https://XXXXX/openai/deployments/gpt-4o/chat/completions?api-version=2024-04-01-preview","tryCount":1,"Date":"Thu, 14 Nov 2024 14:20:32 GMT","Content-Type":"application/json","x-ms-client-request-id":"74c3377a-bb30-47fb-9cd9-23c90e9316cd","Accept":"application/json","User-Agent":"langchain4j-azure-openai","redactedHeaders":"api-key","content-length":14744,"body":"{\"messages\":[{\"content\":\"redacted\",\"role\":\"user\"}],\"max_tokens\":1200,\"temperature\":0.1,\"top_p\":0.0,\"user\":\"1\",\"stream\":true,\"model\":\"gpt-4o\"}"}
2024-11-14T09:20:33.613-05:00  INFO 12708 --- [XXXXX] [tor-http-nio-10] c.a.a.o.i.O.getChatCompletions           : {"az.sdk.message":"HTTP response","statusCode":200,"url":"https://XXXXX/openai/deployments/gpt-4o/chat/completions?api-version=2024-04-01-preview","durationMs":644,"Date":"Thu, 14 Nov 2024 14:20:34 GMT","Transfer-Encoding":"chunked","Connection":"keep-alive","Content-Type":"text/event-stream; charset=utf-8","x-ms-client-request-id":"74c3377a-bb30-47fb-9cd9-23c90e9316cd","redactedHeaders":"x-request-id,x-ms-region,x-envoy-upstream-service-time,apim-request-id,x-ratelimit-remaining-tokens,x-ratelimit-remaining-requests,Strict-Transport-Security,azureml-model-session,x-content-type-options,x-ms-rai-invoked"}
2024-11-14T09:20:34.221-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"cont"; line: 1, column: 19]
2024-11-14T09:20:34.222-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"cont"; line: 1, column: 19]
2024-11-14T09:20:34.263-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" failure"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZph"; line: 1, column: 372]
2024-11-14T09:20:34.264-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" failure"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZph"; line: 1, column: 372]
2024-11-14T09:20:34.370-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"\u003c""; line: 1, column: 236]) at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"\u003c""; line: 1, column: 255]
2024-11-14T09:20:34.370-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"\u003c""; line: 1, column: 236]) at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"\u003c""; line: 1, column: 255]
2024-11-14T09:20:34.371-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"; line: 1, column: 84]
2024-11-14T09:20:34.371-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.JsonParseException: Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"; line: 1, column: 84]
2024-11-14T09:20:34.372-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violen"; line: 1, column: 186]
2024-11-14T09:20:34.372-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violen"; line: 1, column: 186]
2024-11-14T09:20:34.373-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"fil"; line: 1, column: 147]
2024-11-14T09:20:34.373-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"fil"; line: 1, column: 147]
2024-11-14T09:20:34.412-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"fil"; line: 1, column: 101]
2024-11-14T09:20:34.412-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"fil"; line: 1, column: 101]
2024-11-14T09:20:34.703-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"s"; line: 1, column: 86]
2024-11-14T09:20:34.704-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"s"; line: 1, column: 86]
2024-11-14T09:20:34.707-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" communication"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chat"; line: 1, column: 345]
2024-11-14T09:20:34.708-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" communication"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chat"; line: 1, column: 345]
2024-11-14T09:20:35.254-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input: was expecting closing '"' for name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"\u003c/"},"finish_reason":null,"index":0,"logprobs":null}],""; line: 1, column: 308]
2024-11-14T09:20:35.254-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input: was expecting closing '"' for name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"\u003c/"},"finish_reason":null,"index":0,"logprobs":null}],""; line: 1, column: 308]
2024-11-14T09:20:35.255-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered""; line: 1, column: 107]
2024-11-14T09:20:35.256-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered""; line: 1, column: 107]
2024-11-14T09:20:35.257-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filte"; line: 1, column: 197]
2024-11-14T09:20:35.257-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filte"; line: 1, column: 197]
2024-11-14T09:20:35.741-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"."},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id"; line: 1, column: 325]
2024-11-14T09:20:35.741-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"."},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id"; line: 1, column: 325]
2024-11-14T09:20:35.798-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" to"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-4o-20"; line: 1, column: 388]
2024-11-14T09:20:35.798-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" to"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-4o-20"; line: 1, column: 388]
2024-11-14T09:20:35.798-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"seve"; line: 1, column: 70]
2024-11-14T09:20:35.799-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"seve"; line: 1, column: 70]
2024-11-14T09:20:35.799-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"sa"; line: 1, column: 174]
2024-11-14T09:20:35.799-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"sa"; line: 1, column: 174]
2024-11-14T09:20:36.147-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"I"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-4o-2024-05-1"; line: 1, column: 393]
2024-11-14T09:20:36.147-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"I"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-4o-2024-05-1"; line: 1, column: 393]
2024-11-14T09:20:36.190-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" issuer"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"g"; line: 1, column: 384]
2024-11-14T09:20:36.190-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" issuer"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"g"; line: 1, column: 384]
2024-11-14T09:20:36.192-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severi"; line: 1, column: 72]
2024-11-14T09:20:36.192-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severi"; line: 1, column: 72]
2024-11-14T09:20:36.192-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"sup"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-4o-2024-05-13","obje"; line: 1, column: 403]
2024-11-14T09:20:36.192-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"sup"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-4o-2024-05-13","obje"; line: 1, column: 403]
2024-11-14T09:20:36.618-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" Detailed"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-"; line: 1, column: 389]
2024-11-14T09:20:36.618-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" Detailed"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-"; line: 1, column: 389]
2024-11-14T09:20:36.619-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"; line: 1, column: 1]) at [Source: (byte[])"{"; line: 1, column: 2]
2024-11-14T09:20:36.619-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"; line: 1, column: 1]) at [Source: (byte[])"{"; line: 1, column: 2]
2024-11-14T09:20:36.620-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" command"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-AT"; line: 1, column: 346]
2024-11-14T09:20:36.620-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" command"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-AT"; line: 1, column: 346]
2024-11-14T09:20:36.621-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":":\n"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","mo"; line: 1, column: 373]
2024-11-14T09:20:36.621-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":":\n"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","mo"; line: 1, column: 373]
2024-11-14T09:20:37.110-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"con"; line: 1, column: 241]
2024-11-14T09:20:37.110-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"con"; line: 1, column: 241]
2024-11-14T09:20:37.112-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_har"; line: 1, column: 93]
2024-11-14T09:20:37.112-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_har"; line: 1, column: 93]
2024-11-14T09:20:37.150-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input: expected close marker for Array (start marker at [Source: (byte[])"{"choices":["; line: 1, column: 12]) at [Source: (byte[])"{"choices":["; line: 1, column: 13]
2024-11-14T09:20:37.150-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Array (start marker at [Source: (byte[])"{"choices":["; line: 1, column: 12]) at [Source: (byte[])"{"choices":["; line: 1, column: 13]
2024-11-14T09:20:37.150-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"; line: 1, column: 208]
2024-11-14T09:20:37.150-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.JsonParseException: Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"; line: 1, column: 208]
2024-11-14T09:20:37.150-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"sever"; line: 1, column: 214]
2024-11-14T09:20:37.151-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"sever"; line: 1, column: 214]
2024-11-14T09:20:37.151-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" make"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxe"; line: 1, column: 347]
2024-11-14T09:20:37.151-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" make"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxe"; line: 1, column: 347]
2024-11-14T09:20:37.636-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" add"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-4o"; line: 1, column: 386]
2024-11-14T09:20:37.637-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" add"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-4o"; line: 1, column: 386]
2024-11-14T09:20:37.639-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input: was expecting closing '"' for name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"819"},"finish_reason":null,"index":0,""; line: 1, column: 286]
2024-11-14T09:20:37.639-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input: was expecting closing '"' for name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"819"},"finish_reason":null,"index":0,""; line: 1, column: 286]
2024-11-14T09:20:37.640-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"sever"; line: 1, column: 120]
2024-11-14T09:20:37.641-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"sever"; line: 1, column: 120]
2024-11-14T09:20:37.676-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"\n"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model""; line: 1, column: 376]
2024-11-14T09:20:37.676-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"\n"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model""; line: 1, column: 376]
2024-11-14T09:20:38.342-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":""; line: 1, column: 220]
2024-11-14T09:20:38.342-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":""; line: 1, column: 220]
2024-11-14T09:20:38.344-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input: expected close marker for Array (start marker at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" Issues"},"finish_reason":null,"index":0,"logprobs":null}"; line: 1, column: 12]) at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" Issues"},"finish_reason":null,"index":0,"logprobs":null}"; line: 1, column: 305]
2024-11-14T09:20:38.344-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Array (start marker at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" Issues"},"finish_reason":null,"index":0,"logprobs":null}"; line: 1, column: 12]) at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" Issues"},"finish_reason":null,"index":0,"logprobs":null}"; line: 1, column: 305]
2024-11-14T09:20:38.345-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" Issues"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"cha"; line: 1, column: 337]
2024-11-14T09:20:38.345-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" Issues"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"cha"; line: 1, column: 337]
2024-11-14T09:20:38.346-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unrecognized token 'nu': was expecting (JSON String, Number (or 'NaN'/'INF'/'+INF'), Array, Object or token 'null', 'true' or 'false') at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" Net"},"finish_reason":nu"; line: 1, column: 273]
2024-11-14T09:20:38.347-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.JsonParseException: Unrecognized token 'nu': was expecting (JSON String, Number (or 'NaN'/'INF'/'+INF'), Array, Object or token 'null', 'true' or 'false') at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" Net"},"finish_reason":nu"; line: 1, column: 273]
2024-11-14T09:20:38.822-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"}"; line: 1, column: 39]) at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"}"; line: 1, column: 83]
2024-11-14T09:20:38.823-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"}"; line: 1, column: 39]) at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"}"; line: 1, column: 83]
2024-11-14T09:20:38.826-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"; line: 1, column: 208]
2024-11-14T09:20:38.826-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.JsonParseException: Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"; line: 1, column: 208]
2024-11-14T09:20:38.827-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" ```"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gp"; line: 1, column: 382]
2024-11-14T09:20:38.827-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" ```"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gp"; line: 1, column: 382]
2024-11-14T09:20:38.864-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"fil"; line: 1, column: 195]
2024-11-14T09:20:38.864-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"fil"; line: 1, column: 195]
2024-11-14T09:20:38.865-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"  "},"finish_reason":null,"index":0,"logprobs":null}],"created":17315"; line: 1, column: 1]) at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"  "},"finish_reason":null,"index":0,"logprobs":null}],"created":17315"; line: 1, column: 317]
2024-11-14T09:20:38.865-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"  "},"finish_reason":null,"index":0,"logprobs":null}],"created":17315"; line: 1, column: 1]) at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"  "},"finish_reason":null,"index":0,"logprobs":null}],"created":17315"; line: 1, column: 317]
2024-11-14T09:20:39.152-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"fi"; line: 1, column: 100]
2024-11-14T09:20:39.153-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"fi"; line: 1, column: 100]
2024-11-14T09:20:39.153-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results""; line: 1, column: 38]
2024-11-14T09:20:39.153-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results""; line: 1, column: 38]
2024-11-14T09:20:39.154-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" and"},"finish_reason":null"; line: 1, column: 13]) at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" and"},"finish_reason":null"; line: 1, column: 275]
2024-11-14T09:20:39.154-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" and"},"finish_reason":null"; line: 1, column: 13]) at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" and"},"finish_reason":null"; line: 1, column: 275]
2024-11-14T09:20:39.834-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" commands"},"finish_reason":null,"index":0,"logprobs":null}],"c"; line: 1, column: 311]
2024-11-14T09:20:39.835-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" commands"},"finish_reason":null,"index":0,"logprobs":null}],"c"; line: 1, column: 311]
2024-11-14T09:20:39.839-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"co"; line: 1, column: 17]
2024-11-14T09:20:39.839-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"co"; line: 1, column: 17]
2024-11-14T09:20:39.841-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filte"; line: 1, column: 103]
2024-11-14T09:20:39.841-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filte"; line: 1, column: 103]
2024-11-14T09:20:39.875-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"ert"},"finish_reason":null,"index":0,"logp"; line: 1, column: 290]
2024-11-14T09:20:39.876-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"ert"},"finish_reason":null,"index":0,"logp"; line: 1, column: 290]
2024-11-14T09:20:40.221-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" that"},"finish_reason":null,"index":0,"logprobs":null}],"create"; line: 1, column: 312]
2024-11-14T09:20:40.221-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" that"},"finish_reason":null,"index":0,"logprobs":null}],"create"; line: 1, column: 312]
2024-11-14T09:20:40.223-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unrecognized token 'fals': was expecting (JSON String, Number (or 'NaN'/'INF'/'+INF'), Array, Object or token 'null', 'true' or 'false') at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":fals"; line: 1, column: 158]
2024-11-14T09:20:40.223-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.JsonParseException: Unrecognized token 'fals': was expecting (JSON String, Number (or 'NaN'/'INF'/'+INF'), Array, Object or token 'null', 'true' or 'false') at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":fals"; line: 1, column: 158]
2024-11-14T09:20:40.224-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"del"; line: 1, column: 232]
2024-11-14T09:20:40.224-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"del"; line: 1, column: 232]
2024-11-14T09:20:40.226-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtere"; line: 1, column: 151]
2024-11-14T09:20:40.226-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtere"; line: 1, column: 151]
2024-11-14T09:20:40.653-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"  "},"finish_reason":null,"index":0,"logprobs"; line: 1, column: 293]
2024-11-14T09:20:40.655-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"  "},"finish_reason":null,"index":0,"logprobs"; line: 1, column: 293]
2024-11-14T09:20:40.655-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" verify"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-4o-2024-05-"; line: 1, column: 398]
2024-11-14T09:20:40.657-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" verify"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-4o-2024-05-"; line: 1, column: 398]
2024-11-14T09:20:40.658-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" entries"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNu"; line: 1, column: 362]
2024-11-14T09:20:40.659-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" entries"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNu"; line: 1, column: 362]
2024-11-14T09:20:40.704-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results""; line: 1, column: 38]
2024-11-14T09:20:40.704-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results""; line: 1, column: 38]
2024-11-14T09:20:41.119-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" name"},"finish_reason":null,"index":0,"logprobs""; line: 1, column: 297]
2024-11-14T09:20:41.119-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":" name"},"finish_reason":null,"index":0,"logprobs""; line: 1, column: 297]
2024-11-14T09:20:41.161-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"\u003e"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-4"; line: 1, column: 387]
2024-11-14T09:20:41.161-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"\u003e"},"finish_reason":null,"index":0,"logprobs":null}],"created":1731594033,"id":"chatcmpl-ATUzxetv6sl1NziUNuER9lx8yZphy","model":"gpt-4"; line: 1, column: 387]
2024-11-14T09:20:41.162-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"; line: 1, column: 76]
2024-11-14T09:20:41.162-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input within/between Object entries at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"; line: 1, column: 76]
2024-11-14T09:20:41.162-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"se"; line: 1, column: 87]
2024-11-14T09:20:41.162-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"se"; line: 1, column: 87]
2024-11-14T09:20:41.226-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"viole"; line: 1, column: 185]
2024-11-14T09:20:41.227-05:00 ERROR 12708 --- [XXXXX] [oundedElastic-2] c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input in field name at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"viole"; line: 1, column: 185]

@langchain4j
Copy link
Owner

@cato-dll thank you! I guess we have to wait untill Azure/azure-sdk-for-java#42037 or Azure/azure-sdk-for-java#41164 is fixed. Perharps adding a 👍 to that issues will help to speed it up :)

@gumutianqi
Copy link

Hey guys, today is Dec 24, I also got a similar error on 0.36.2 or 1.0.0-alpha1.

@jdubois
Copy link
Contributor

jdubois commented Dec 24, 2024

For 0.36.2 I'm not surprised, but for 1.0.0-alpha1 I need to check as it uses https://github.com/Azure/azure-sdk-for-java/releases/tag/azure-ai-openai_1.0.0-beta.13 which in the release notes should fix Azure/azure-sdk-for-java#41164 (which should be your issue).

jdubois added a commit to jdubois/jdubois-langchain4j-demo that referenced this issue Dec 24, 2024
@jdubois
Copy link
Contributor

jdubois commented Dec 24, 2024

I tried to reproduce it at jdubois/jdubois-langchain4j-demo@aeecf3e but I don't have the bug anymore... I also tried with .useAsyncClient(false), and also couldn't reproduce.

This is using the latest 1.0.0-alpha1

Can you provide a test where I can reproduce this easily? Maybe by modifying my current test code?

@cato-dll
Copy link
Author

I just bumped my dependencies up to:

1.0.0-alpha1

and I no longer receive the:

JsonEOFException

exceptions. So it would appear, at least for my use case, the issue has been resolved.

@jdubois
Copy link
Contributor

jdubois commented Dec 25, 2024

So it looks solved, only @gumutianqi you say you have a "similar" issue, do you have more exact details? Otherwise I think we can close this one.

@gumutianqi
Copy link

Yep, I will pick the exception stack at here.

 <properties>
   <java.version>21</java.version>
</properties>

<dependencies>
  <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-undertow</artifactId>
      <version>3.3.5</version>
  </dependency>
  <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-web</artifactId>
      <version>3.3.5</version>
      <exclusions>
          <exclusion>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-starter-tomcat</artifactId>
          </exclusion>
      </exclusions>
  </dependency>
  <dependency>
      <groupId>dev.langchain4j</groupId>
      <artifactId>langchain4j-azure-open-ai</artifactId>
      <version>1.0.0-alpha1</version>
  </dependency>
  <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-ai-openai</artifactId>
      <version>1.0.0-beta.13</version>
  </dependency>
  <dependency>
      <groupId>io.projectreactor</groupId>
      <artifactId>reactor-core</artifactId>
      <version>3.6.11</version>
  </dependency>
</dependencies
2024-12-25 23:11:04.625 [adec2282bdda70c7413ffcbe76bac1a0] [XNIO-1 task-2] INFO  c.a.c.h.n.implementation.NettyUtility    : {"az.sdk.message":"The following Netty versions were found on the classpath and have a mismatch with the versions used by azure-core-http-netty. If your application runs without issue this message can be ignored, otherwise please align the Netty versions used in your application. For more information, see https://aka.ms/azsdk/java/dependency/troubleshoot.","azure-netty-version":"4.1.110.Final","azure-netty-native-version":"2.0.65.Final","classpath-netty-version-io.netty:netty-common":"4.1.114.Final","classpath-netty-version-io.netty:netty-handler":"4.1.114.Final","classpath-netty-version-io.netty:netty-handler-proxy":"4.1.114.Final","classpath-netty-version-io.netty:netty-buffer":"4.1.114.Final","classpath-netty-version-io.netty:netty-codec":"4.1.114.Final","classpath-netty-version-io.netty:netty-codec-http":"4.1.114.Final","classpath-netty-version-io.netty:netty-codec-http2":"4.1.114.Final","classpath-netty-version-io.netty:netty-transport-native-unix-common":"4.1.114.Final","classpath-netty-version-io.netty:netty-transport-native-epoll":"4.1.100.Final","classpath-netty-version-io.netty:netty-transport-native-kqueue":"4.1.114.Final","classpath-native-netty-version-io.netty:netty-tcnative-boringssl-static":"2.0.66.Final"}
2024-12-25 23:11:04.782 [adec2282bdda70c7413ffcbe76bac1a0] [XNIO-1 task-2] INFO  c.a.a.o.i.O.getChatCompletions           : {"az.sdk.message":"HTTP request","method":"POST","url":"https://xxx.openai.azure.com//openai/deployments/gpt-4o/chat/completions?api-version=2024-08-01-preview","tryCount":1,"Date":"Wed, 25 Dec 2024 15:11:04 GMT","Content-Type":"application/json","x-ms-client-request-id":"08ac1f75-002e-4260-be4a-546a0bb6f639","Accept":"application/json","User-Agent":"langchain4j-azure-openai","redactedHeaders":"api-key","content-length":290,"body":"{\"messages\":[{\"content\":\"you are a smart develpment. **Always talk to me in Chinese.**\",\"role\":\"system\"},{\"role\":\"user\",\"content\":\"Please summary the movie 《Silicon valley》at 100.\"}],\"max_tokens\":10,\"temperature\":0.7,\"stop\":[\"STOP\"],\"stream\":true,\"model\":\"gpt-4o-laigu\"}"}
2024-12-25 23:11:06.692 [] [reactor-http-nio-1] INFO  c.a.a.o.i.O.getChatCompletions           : {"az.sdk.message":"HTTP response","statusCode":200,"url":"https://xxx.openai.azure.com//openai/deployments/gpt-4o/chat/completions?api-version=2024-08-01-preview","durationMs":1909,"Date":"Wed, 25 Dec 2024 15:11:06 GMT","Transfer-Encoding":"chunked","Content-Type":"text/event-stream; charset=utf-8","x-ms-client-request-id":"08ac14jf-002e-4260-be4a-546a0bb6f639","redactedHeaders":"x-request-id,x-ms-region,x-envoy-upstream-service-time,apim-request-id,x-ratelimit-remaining-tokens,x-ratelimit-remaining-requests,Strict-Transport-Security,azureml-model-session,x-accel-buffering,x-content-type-options,x-ms-rai-invoked"}
2024-12-25 23:11:06.770 [] [loomBoundedElastic-3] ERROR c.a.c.i.MethodHandleReflectiveInvoker    : Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"protected_material_code":{"filtered":false,"detected":false},"protected_material_text":{"filtered":false,"detected":false},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"十二"},"finish_reason":null,"index":0"; line: 1, column: 13]) at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"protected_material_code":{"filtered":false,"detected":false},"protected_material_text":{"filtered":false,"detected":false},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"十二"},"finish_reason":null,"index":0"; line: 1, column: 411]
2024-12-25 23:11:06.770 [] [loomBoundedElastic-3] ERROR c.a.c.i.s.DefaultJsonSerializer          : com.azure.json.implementation.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"protected_material_code":{"filtered":false,"detected":false},"protected_material_text":{"filtered":false,"detected":false},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"十二"},"finish_reason":null,"index":0"; line: 1, column: 13]) at [Source: (byte[])"{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"protected_material_code":{"filtered":false,"detected":false},"protected_material_text":{"filtered":false,"detected":false},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"delta":{"content":"十二"},"finish_reason":null,"index":0"; line: 1, column: 411]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure bug Something isn't working P2 High priority
Projects
None yet
Development

No branches or pull requests

4 participants