Chat with all PDFs
Last updated
Was this helpful?
Last updated
Was this helpful?
To chat with all PDFs you just need to have at least one PDF uploaded using the API endpoint.
POST
https://pdf.ai/api/v1/chat-all
Ask questions to get responses from any PDF
X-API-Key*
string
<API-key>
save_chat
boolean
Option to save chat history
message*
string
Message or question you want to get answer from PDF
use_gpt4
boolean
To get response using GPT-4 model. Default model: gpt-4-turbo
model
string
To choose GPT-4 model "gpt-4o" or "gpt-4-turbo"(default). gpt-4o message costs 2 credits, gpt-4-turbo message costs 4 credits.
language
string
Response language e.g., "french"
tag
string
To filter results based on tag, e.g., "Books"
topMatches
number
Max number of relevant or best-matched documents to consider for answering the query Default: 10
sys_prompt
string
Customized system prompt