The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Update Docugami Cookbook (#14626)
Kenzie Mihardja159b5cab1646
diff --git a/cookbook/docugami_xml_kg_rag.ipynb b/cookbook/docugami_xml_kg_rag.ipynbindex ba85e37612..9e3170179c 100644--- a/cookbook/docugami_xml_kg_rag.ipynb+++ b/cookbook/docugami_xml_kg_rag.ipynb@@ -63,7 +63,7 @@"1. Create an access token via the Developer Playground for your workspace. [Detailed instructions](https://help.docugami.com/home/docugami-api).\n","1. Add your documents (PDF \\[scanned or digital\\], DOC or DOCX) to Docugami for processing. There are two ways to do this:\n"," 1. Use the simple Docugami web experience. [Detailed instructions](https://help.docugami.com/home/adding-documents).\n",- " 1. Use the [Docugami API](https://api-docs.docugami.com), specifically the [documents](https://api-docs.docugami.com/#tag/documents/operation/upload-document) endpoint. Code samples are available for [python](../upload_file/) and [JavaScript](../../js/upload-file/) or you can use the [docugami](https://pypi.org/project/docugami/) python library.\n",+ " 1. Use the [Docugami API](https://api-docs.docugami.com), specifically the [documents](https://api-docs.docugami.com/#tag/documents/operation/upload-document) endpoint. You can also use the [docugami python library](https://pypi.org/project/docugami/) as a convenient wrapper.\n","\n","Once your documents are in Docugami, they are processed and organized into sets of similar documents, e.g. NDAs, Lease Agreements, and Service Agreements. Docugami is not limited to any particular types of documents, and the clusters created depend on your particular documents. You can [change the docset assignments](https://help.docugami.com/home/working-with-the-doc-sets-view) later if you wish. You can monitor file status in the simple Docugami webapp, or use a [webhook](https://api-docs.docugami.com/#tag/webhooks) to be informed when your documents are done processing.\n","\n",@@ -916,6 +916,20 @@"source": ["llama2_chain.invoke(\"What was the learning rate for LLaMA2?\")"]+ },+ {+ "cell_type": "markdown",+ "id": "94826165",+ "metadata": {},+ "source": [+ "## Docugami KG-RAG Template\n",+ "\n",+ "Docugami also provides a [langchain template](https://github.com/docugami/langchain-template-docugami-kg-rag) that you can integrate into your langchain projects.\n",+ "\n",+ "Here's a walkthrough of how you can do this.\n",+ "\n",+ "[](https://www.youtube.com/watch?v=xOHOmL1NFMg)\n"+ ]}],"metadata": {