githubEdit

brain-circuitAI

BoxLang AI is a powerful library for building fluent and scalable AI applications with a unified LLM API.

πŸ€– What is BoxLang AI?

BoxLang AI is a comprehensive artificial intelligence module for BoxLang that provides a unified, fluent API for working with multiple AI providers. Whether you're building chatbots, implementing semantic search, generating embeddings, or creating intelligent automation, BoxLang AI simplifies AI integration with a consistent interface across all major providers.

Built with enterprise developers in mind, BoxLang AI abstracts away the complexity of working with different AI APIs while giving you the power and flexibility to leverage cutting-edge AI capabilities in your BoxLang applications.

✨ Features

  • Multi-Provider Support - Seamlessly work with OpenAI, Anthropic, Ollama, AWS Bedrock, Google Gemini, and more

  • Fluent API Design - Intuitive, chainable methods for building AI interactions

  • Chat Completions - Build conversational AI with streaming support and function calling

  • Embeddings Generation - Create vector embeddings for semantic search and RAG applications

  • Image Generation - Generate images using DALL-E and other image models

  • Audio Transcription - Convert audio to text with Whisper and similar models

  • Moderation & Safety - Built-in content moderation capabilities

  • Streaming Support - Real-time response streaming for chat interfaces

  • Function Calling - Let AI models call your BoxLang functions intelligently

  • Context Management - Handle conversation context and message history

  • Token Counting - Track and optimize token usage across requests

  • Async Operations - Non-blocking AI calls using BoxLang's async capabilities

πŸ“š Resources

Official Documentation

For comprehensive guides, API references, and advanced usage patterns, visit the complete BoxLang AI documentation:

πŸ”— BoxLang AI Documentationarrow-up-right

Product Website

Learn more about BoxLang AI features, pricing, and use cases:

πŸ”— BoxLang AI Official Sitearrow-up-right

Professional Services

Need help implementing AI solutions in your enterprise? Our team provides consulting, training, and custom development:

πŸ”— Ortus Solutions AI Servicesarrow-up-right

πŸš€ Quick Start

Get started with BoxLang AI in just a few steps:

Installation

Install the BoxLang AI module via CommandBox:

Basic Configuration

You can configure the module via the boxlang.json or you CFConfig configuration

Your First AI Chat

Create a simple chat completion:

Generate Embeddings

Create vector embeddings for semantic search:

Build an Agent

Leverage AI to create an intelligent agent that can perform tasks:

πŸ’‘ Next Steps

Ready to dive deeper? The full documentation covers:

  • Advanced provider configuration

  • Function calling and tool use

  • RAG (Retrieval Augmented Generation) patterns

  • Multi-modal AI (text, images, audio)

  • Token optimization strategies

  • AI agents and tool integration

  • Production deployment best practices

  • Integration with BoxLang caching and async features

πŸ‘‰ Visit the complete documentationarrow-up-right to explore the full power of BoxLang AI!

Last updated

Was this helpful?