20 threads are created when I try to create one

Leonardo Sepúlveda 20 Puntos de reputación
2024-12-03T15:16:50.2066667+00:00

I am using this endpoint: /openai.openai.azure.com/openai/threads?api-version=2024-08-01-preview to create a thread via API and instead of returning me 1 thread id, it returns 20 which is strange since in the official open ai documentation, this endpoint should give me one thread at a time to be able to use it.

Azure
Azure
Plataforma e infraestructura de informática en la nube para crear, implementar y administrar aplicaciones y servicios a través de una red mundial de centros de datos administrados por Microsoft.
548 preguntas
0 comentarios No hay comentarios
{count} votos

Respuesta aceptada
  1. Gao Chen 6,385 Puntos de reputación Proveedor de Microsoft
    2024-12-03T22:57:43.6433333+00:00

    Hello Leonardo Sepúlveda,

    Welcome to Microsoft Q&A!

    It sounds like you're encountering an unusual issue with the Azure OpenAI API. According to the official documentation, the create thread endpoint should indeed return a single thread ID.

    Here are a few steps you can take to troubleshoot this:

    1. Ensure that your request body and headers are correctly formatted. Sometimes, an incorrect request can lead to unexpected responses.
    2. Verify that you are using the correct API version (2024-08-01-preview).
    3. Test the API call in a different environment (e.g., local vs. deployed) to see if the issue persists.

    If the problem continues, consider reaching out to Azure support for more detailed assistance. I hope the information was useful.

    Best regards,

    Gao


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comentarios No hay comentarios

0 respuestas adicionales

Ordenar por: Muy útil

Su respuesta

Las respuestas se pueden marcar como respuestas aceptadas por el autor de la pregunta, lo que ayuda a los usuarios a conocer la respuesta que resolvió el problema del autor.