0.0.12 • Published 1 year ago

@zeeman-effect/plugin-pdf v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@zeeman-effect/plugin-pdf

This package is a plugin for the Maiar AI ecosystem, designed to work with the @maiar-ai/core package.

Documentation

For detailed documentation on how to use plugins, please refer to the Maiar documentation.

Plugin Information

Actions

  • handlePDF: Handle a PDF file from a buffer or URL and add the text to the conversation context for further analysis
  • analyzePDFFromPrompt: Analyze the text and image in the PDF file and add it to the conversation context for further analysis
  • analyzePDFFromSegment: Analyze a segment of the PDF with a prompt using the full text from the conversation context to provide additional information

Setup

import { PluginPDF } from "@zeeman-effect/plugin-pdf";
import { createRuntime } from "@maiar-ai/core";

const runtime = createRuntime({
    plugins: [new PluginPDF()],
});

Example

See the example directory for a complete example of how to use the plugin.

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago