0.0.12 • Published 8 months ago

@zeeman-effect/plugin-pdf v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months 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

8 months ago

0.0.11

8 months ago

0.0.10

8 months ago

0.0.9

9 months ago

0.0.8

9 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago