Document to ChatGPT API

FREEMIUM
От TheSiggs | Обновлено vor 2 Monaten | Text Analysis
Health Check

N/A

Назад ко всем обсуждениям

Confused

Rapid account: Andy 3
andy3
vor 5 Monaten

The moment I try to upload a file to test this, it says I’ve reached 100% of my allocation. Is it broken?

Rapid account: Andy 3
andy3 Commented vor 5 Monaten

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)?

Rapid account: The Siggs
TheSiggs Commented vor 5 Monaten

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 😃

Rapid account: The Siggs
TheSiggs Commented vor 5 Monaten

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!

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии