Getting set up
Step1: Import the Package
First, import the necessary classes from the maccaw
package.
from maccaw import OpenaiLLM, ClaudeLLM, MistralAILLM
from maccaw import BaseTool
Step 2: Initialize the LLM
Create an instance of one of the supported LLMs by providing your API key and any optional parameters.
openai_llm = OpenaiLLM(api_key="your_openai_api_key")
claude_llm = ClaudeLLM(api_key="your_claude_api_key")
mistral_llm = MistralAILLM(api_key="your_mistral_api_key")
Last updated