Use Unstructured Document API - Fluid Topics - 3.9 - Technical Notes

Develop Connectors with the Fluid Topics API

Product
Fluid Topics
FT_Version
3.9
Category
Technical Notes
language
English
audience
public

The following lines show how to build an Unstructured Document:

from fluidtopics.connector import UnstructuredDocument

ud = UnstructuredDocument.from_uri(
document_id="my-UD",
title="I am a UD",
locale="en-GB",
description="Description of a UD",
pretty_url="my-pretty-UD-url",
metadata=[meta_simple_38],
uri="/path/to/a/ud.pdf"
)

The uri parameter can be a file path or a URL.

The following screenshot illustrates how Unstructured Documents are displayed in a list of search results as well as in the Viewer page:

ud

ud_viewer