newly deployed cohere model not returning content though giving 200

Dileep Ponna 0 Reputation points
2025-05-03T05:57:01.32+00:00

INFO:main:Requesting embedding from endpoint: https://ai-hubhyperbrane732453665666.services.ai.azure.com/models

INFO:main:Model name: Cohere-embed-v3-english

INFO:azure.core.pipeline.policies.http_logging_policy:Request URL: 'https://ai-hubhyperbrane732453665666.services.ai.azure.com/models/embeddings?api-version=REDACTED'

Request method: 'POST'

Request headers:

'Content-Type': 'application/json'

'Content-Length': '99'

'Accept': 'application/json'

'x-ms-client-request-id': '82da5db2-27e2-11f0-a661-8c85907d9acc'

'api-key': 'REDACTED'

'User-Agent': 'azsdk-python-ai-inference/1.0.0b9 Python/3.9.6 (macOS-13.7.5-x86_64-i386-64bit)'

'Authorization': 'REDACTED'

A body is sent with the request

INFO:azure.core.pipeline.policies.http_logging_policy:Response status: 200

Response headers:

'Content-Length': '0'

'apim-request-id': 'REDACTED'

'Strict-Transport-Security': 'REDACTED'

'x-content-type-options': 'REDACTED'

'x-ms-region': 'REDACTED'

'Date': 'Sat, 03 May 2025 05:50:25 GMT'

ERROR:main:Error generating embedding: Expecting value: line 1 column 1 (char 0)

Failed to generate embedding: Expecting value: line 1 column 1 (char 0)

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,257 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.