Ingest PDF
Ingest a PDF into Graphlit
Last updated
Ingest a PDF into Graphlit
Last updated
Let's start with a simple, but common use case: Chat with a PDF.
Graphlit uses the power of Large Language Models (LLMs) to extract useful knowledge from PDFs, and ask questions about the content.
We can use this interesting paper on Knowledge Graphs and LLMs, which we've placed on cloud storage as an example.
Or if you have a URL to a cloud-hosted PDF, feel free to use that one.
The ingestUri
mutation is used for ingesting individual cloud-hosted files, like PDFs, MP3s or Word documents, or for HTML web pages. The ingestText
mutation is used for ingesting for raw HTML, Markdown or plain text.
Assuming you're logged into the Graphlit Developer Portal, you can use the embedded API explorer to test this out. For more information, see the Projects page.
Once you have your PDF ingested into Graphlit, you can explore the knowledge inside.
Now, try this yourself, and note, you can press the copy icon when you mouse-over the text boxes below.