[baike]Supported Formats[/baike]
chatgp3.5-4.0-4o also supports uploading the following files, but note that file size and character length are limited.
| File type | Example extensions | | Text files | .txt, .md | | Document files | .pdf, .docx, .xlsx, .pptx | | Image files | .jpg, .png, .gif, .bmp | | Code files | .py, .js, .html, .css | | Compressed files | .zip, .rar, .tar, .gz | | Data files | .csv, .json, .xml |
[baike]Two Handling Methods[/baike]
1. Upload directly, then enter the prompt XXXXXXXXXXXXXXX
2. Copy it out, then enter the prompt XXXXXXXXXXXXXXX
A recommended prompt engineering approach is
1. Upload the file
2. Enter the prompt: Please analyze this document
3. Enter the prompt: I need you to help me do XXXX; my goal is XXX; please refer to XXXX and do not include XXXX
4. Optimize the prompt
[baike]How to Understand This[/baike]
Whether typing, copying, or uploading a file, it is all the same to chaigpt; only the data structure and presentation method differ. No matter how it changes, it is still within the realm of language. The advantage of using files is that they allow a larger number of characters (tokend) than direct input. Direct input of characters (token) has clear limits. If I, the moderator, remember correctly, the limit for a single document is around 7MB, and the character count is also very large—I don’t remember the specifics. If you want to use a document, do not exceed the limit; if you exceed it, you need to split it. |