🛠️Step 3: Selecting the LLM Model
Model Options
OpenAI LLMs:
Pros: Strong function calling, multimodal capabilities, and robust performance.
Cons: Higher cost compared to some other models.
Claude LLMs:
Pros: Excellent for storytelling and conversational tasks.
Cons: May not be as versatile for technical tasks.
Open-source LLM (eg: Llama 3, Mixral 8x7B, Falcon, etc.)
Pros: More control over training data and compute. Cheaper inferencing cost.
Cons: Limited abilities, and reliability.
Configure model in code:
Example: Set model="gpt-3.5-turbo" in API calls
Design system prompt:
Include instructions for Thought/Action/Observation loop
Define available actions and their usage
Provide example interaction
Considerations
Performance Metrics: Evaluate models based on their performance metrics (e.g., accuracy, latency).
Cost Efficiency: Consider the cost associated with each model and its fit within your budget.
Feature Set: Ensure the model supports the features required for your specific use case.
Resources
Last updated