Meld: Unified LLM Interaction Library

Meld is our proprietary LLM program that serves as the foundation for our AI applications and those we develop for our clients. It offers a unified interface for hundreds of LLMs from numerous providers, along with specialized multimodal capabilities for select providers. Meld was inspired by Echohive's Unified API (check out Echohive's YouTube channel for more information on unified LLM interfaces).

Key Features

Meld brings together a range of powerful features to streamline our work with LLMs:

  • Universal LLM Support: Interact with hundreds of LLMs through a single, consistent interface
  • Provider Agnostic: Easily switch between different LLM providers without changing core application logic
  • Multimodal Capabilities: Leverage advanced functionalities for OpenAI, Anthropic's Claude, and Google's Gemini models
  • Mixture-of-Agents (MoA): Combine multiple LLMs to enhance performance on complex tasks
  • Dynamic Client Initialization: Automatically initialize the appropriate client based on selected provider and settings
  • Flexible Completion and Chat Interfaces: Generate text completions or engage in chat-like interactions with customizable parameters

Core Components

  • Meld Core: The central script that provides a unified interface for all supported LLMs
  • OpenAI Multimodal: Implements robust multimodal functionality for OpenAI models
  • Claude Multimodal: Offers multimodal capabilities for Anthropic's Claude models
  • Gemini Multimodal: Provides multimodal support for Google's Gemini models
  • MeldMoA: Implements the Mixture-of-Agents approach
  • Prompt Generator: Creates customized prompts for various tasks

Prompt Generator in Detail

Our Prompt Generator is a crucial component of Meld, designed to enhance our interaction with LLMs. It's adapted from Anthropic's metaprompt, but we've expanded it to include system messages as well.

  • Generation of task-specific prompts tailored to different LLM providers
  • Option for chain-of-thought reasoning to improve complex problem-solving
  • System prompt generation for setting up consistent LLM behaviors
  • Intelligent filename generation for easy organization
  • Automatic saving of generated prompts in the prompts/ directory

How We Use Meld

  • Rapidly prototype AI-driven applications for our clients
  • Conduct experiments with different LLM providers
  • Generate high-quality prompts for consistent AI interactions
  • Leverage multimodal capabilities for advanced applications
  • Combine multiple LLMs through our Mixture-of-Agents approach

Continuous Improvement

  • Integrating support for new LLM providers as they emerge
  • Refining our multimodal capabilities for complex tasks
  • Enhancing our Mixture-of-Agents approach
  • Improving the Prompt Generator for better context-awareness
  • Optimizing performance and reducing latency

Through Meld, we're able to stay at the forefront of AI technology, providing our clients with cutting-edge solutions that leverage the full potential of large language models.