LlamaSearch-pdf API Reference

This page contains the complete API reference for LlamaSearch-pdf.

Client Class

Client

The main class for interacting with the LlamaSearch-pdf library.

__init__(api_key=None, config=None)

Initialize a new Client instance.

Parameters:
  • api_key (str, optional): API key for authentication.
  • config (dict, optional): Configuration options.

process(data, options=None)

Process the input data using the LlamaSearch-pdf engine.

Parameters:
  • data (str or dict): The input data to process.
  • options (dict, optional): Processing options.
Returns:
  • dict: The processed result.

get_version()

Get the version of the LlamaSearch-pdf library.

Returns:
  • str: The version number.

For more detailed examples, please refer to the Usage Guide.