LlamaForge API Reference

This page contains the complete API reference for LlamaForge.

Client Class

Client

The main class for interacting with the LlamaForge 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 LlamaForge 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 LlamaForge library.

Returns:
  • str: The version number.

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