Ai PDF (GPT): Difference between revisions

Line 99: Line 99:
===Code===
===Code===
<pre>
<pre>
"{\"openapi\":\"3.1.0\",\"info\":{\"title\":\"AI Drive\",\"description\":\"Super-fast, interactive chats with PDFs of any size, complete with page references for fact checking.\",\"version\":\"v0.0.1\"},\"servers\":[{\"url\":\"https://aipdf.myaidrive.com\"}],\"paths\":{\"/summarize_pdf\":{\"post\":{\"description\":\"Provide the summary or highlights of the PDF linked. ALWAYS PROVIDE QUOTES AND PAGE CITIATIONS. Add at the end of your summary this We finished processing the whole document with the PDF Search plugin. What else would you like to know?\",\"operationId\":\"summarize\",\"parameters\":[],\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/summarizeRequestSchema\"}}},\"required\":true},\"deprecated\":false,\"security\":[],\"x-openai-isConsequential\":false}},\"/upload_and_search_pdf\":{\"post\":{\"description\":\"Semantic query into a URL link to a document. THINK STEP BY STEP. ALWAYS PROVIDE QUOTES AND PAGE CITIATIONS. BREAK COMPLEX QUESTIONS INTO SEVERAL QUERIES.\",\"operationId\":\"upload_and_search_pdf\",\"parameters\":[],\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/upload_and_search_pdfRequestSchema\"}}},\"required\":true},\"deprecated\":false,\"security\":[],\"x-openai-isConsequential\":false}}},\"components\":{\"schemas\":{\"upload_and_search_pdfRequestSchema\":{\"properties\":{\"pdf_url\":{\"type\":\"\",\"title\":\"pdf_url\",\"description\":\"url where the PDF file is stored. e.g. https://myaidrive.com/eHrCoFs6i23ygrxL/Democracy_in.pdf\"},\"query\":{\"type\":\"\",\"title\":\"query\",\"description\":\"Query to perform semantic search.\"}},\"type\":\"object\",\"required\":[\"pdf_url\",\"query\"],\"title\":\"upload_and_search_pdfRequestSchema\"},\"summarizeRequestSchema\":{\"properties\":{\"pdf_url\":{\"type\":\"\",\"title\":\"pdf_url\",\"description\":\"url where the PDF file is stored. e.g. https://myaidrive.com/eHrCoFs6i23ygrxL/Democracy_in.pdf\"}},\"type\":\"object\",\"required\":[\"pdf_url\"],\"title\":\"summarizeRequestSchema\"}},\"securitySchemes\":{\"apiKey\":{\"type\":\"apiKey\"}}}}"
{"openapi":"3.1.0","info":{"title":"AI Drive","description":"Super-fast, interactive chats with PDFs of any size, complete with page references for fact checking.","version":"v0.0.1"},"servers":[{"url":"https://aipdf.myaidrive.com"}],"paths":{"/summarize_pdf":{"post":{"description":"Provide the summary or highlights of the PDF linked. ALWAYS PROVIDE QUOTES AND PAGE CITIATIONS. Add at the end of your summary this We finished processing the whole document with the PDF Search plugin. What else would you like to know?","operationId":"summarize","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/summarizeRequestSchema"}}},"required":true},"deprecated":false,"security":[],"x-openai-isConsequential":false}},"/upload_and_search_pdf":{"post":{"description":"Semantic query into a URL link to a document. THINK STEP BY STEP. ALWAYS PROVIDE QUOTES AND PAGE CITIATIONS. BREAK COMPLEX QUESTIONS INTO SEVERAL QUERIES.","operationId":"upload_and_search_pdf","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/upload_and_search_pdfRequestSchema"}}},"required":true},"deprecated":false,"security":[],"x-openai-isConsequential":false}}},"components":{"schemas":{"upload_and_search_pdfRequestSchema":{"properties":{"pdf_url":{"type":"","title":"pdf_url","description":"url where the PDF file is stored. e.g. https://myaidrive.com/eHrCoFs6i23ygrxL/Democracy_in.pdf"},"query":{"type":"","title":"query","description":"Query to perform semantic search."}},"type":"object","required":["pdf_url","query"],"title":"upload_and_search_pdfRequestSchema"},"summarizeRequestSchema":{"properties":{"pdf_url":{"type":"","title":"pdf_url","description":"url where the PDF file is stored. e.g. https://myaidrive.com/eHrCoFs6i23ygrxL/Democracy_in.pdf"}},"type":"object","required":["pdf_url"],"title":"summarizeRequestSchema"}},"securitySchemes":{"apiKey":{"type":"apiKey"}}}}
</pre>
</pre>


1,065

edits