Thanks, perhaps I misunderstood what the API was for. I thought I could upload a PDF (using the createEmbedding endpoint) which would then parse the file so I could then query ChatGPT against it (using the queryEmbedding endpoint)?
Iโve had a look at your request and it seems like youโre trying to pass a form to the createEmbedding endpoint, this endpoint only takes files where the text is extracted. I believe you are needing the createEmbeddingWithText endpoint where you should be able to pass through the form body and it should work (I havenโt tested, I would personally extract the desired text from the form and call the endpoint on that but it depends on the use case)
Thank you so much for trying my API! Iโm sorry youโre facing issues with one of the endpoints. I will take a look and give you an update on when itโs fixed!
Doe mee aan de discussie - voeg hieronder een opmerking toe
Log in / Schrij u in om nieuwe opmerkingen te plaatsen
Thanks, perhaps I misunderstood what the API was for. I thought I could upload a PDF (using the createEmbedding endpoint) which would then parse the file so I could then query ChatGPT against it (using the queryEmbedding endpoint)?
Hi Andy,
Iโve had a look at your request and it seems like youโre trying to pass a form to the createEmbedding endpoint, this endpoint only takes files where the text is extracted. I believe you are needing the createEmbeddingWithText endpoint where you should be able to pass through the form body and it should work (I havenโt tested, I would personally extract the desired text from the form and call the endpoint on that but it depends on the use case)
I hope this helps ๐
Hi Andy,
Thank you so much for trying my API! Iโm sorry youโre facing issues with one of the endpoints. I will take a look and give you an update on when itโs fixed!