Upload files. #149745
Replies: 3 comments 5 replies
-
Hello @solitude-alive, I think to use GPT-4 with a PDF, you need to extract the text using libraries like PyPDF2 and send it to the model via an API with instructions like "Summarize this text." Unlike ChatGPT’s file upload feature, this requires coding the file processing and API setup. |
Beta Was this translation helpful? Give feedback.
-
Hi @solitude-alive, |
Beta Was this translation helpful? Give feedback.
-
Hi @pathanin-kht and @imDarshanGK , |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I'm using a model such as GPT-4, and I'm wondering how I can upload a file, like a PDF, and ask the model to summarize or extract information from it.
This is straightforward to do with the ChatGPT client, but how can I achieve the same functionality with GitHub Models?
Beta Was this translation helpful? Give feedback.
All reactions