Constructors

Properties

allowedNodes: string[] = []
allowedRelationships: string[] = []
chain: any
strictMode: boolean

Methods

  • Method that converts an array of documents into an array of graph documents using the processResponse method.

    Parameters

    • documents: Document[]

      The array of documents to convert.

    Returns Promise<GraphDocument[]>

    A promise that resolves to an array of graph documents.

  • Method that processes a single document, transforming it into a graph document using an LLM based on the model's schema and constraints.

    Parameters

    • document: Document

      The document to process.

    Returns Promise<GraphDocument>

    A promise that resolves to a graph document.

""