Awesome Infra for AI › Prompt Management

patterns-ai-core/langchainrb

⭐ 2000 Ruby repository created 2023-04-18

Langchain.rb is a Ruby library designed for developing applications powered by Large Language Models (LLMs). It offers a consistent, unified interface to interact with a multitude of LLM providers including OpenAI, Anthropic, Google Gemini, AWS Bedrock, and others, abstracting away provider-specific API differences. The library facilitates core LLM operations such as generating text completions, chat completions, and embeddings, enabling developers to easily switch between different LLM backends. Key features include robust prompt management through prompt templates (including few-shot templates), output parsers for structuring LLM responses, and tools for building Retrieval Augmented Generation (RAG) systems. It explicitly supports vector search, a crucial component for RAG, by integrating with various vector database technologies. Langchain.rb also includes functionalities for evaluation ("evals") to assess model performance and supports various logging mechanisms. While it focuses on the application development and operational aspects of LLMs rather than model training, it serves as a critical component for deploying and operating AI agent applications and LLM workflows in a Ruby environment. Its primary purpose is to simplify the operationalization of LLM-based features within applications.

https://github.com/patterns-ai-core/langchainrb

rubylangchainllmai-agentsprompt-managementragvector-searchllm-gatewaymodel-serving

Also in Prompt Management

BoundaryML/baml

BAML (Basically a Made-up Language) is an AI framework that facilitates reliable AI workflows and agents by transforming prompt engineering into schema engineering for structured output generation.

genkit-ai/genkit

Genkit is an open-source framework by Google for building and operating AI-powered applications across multiple languages, featuring unified APIs for various models, structured outputs, multi-modal...

pezzolabs/pezzo

Pezzo is an open-source, cloud-native LLMOps platform for streamlined prompt design, version management, instant delivery, collaboration, troubleshooting, and observability of AI operations.

dot-agent/nextpy

Nextpy is a framework for building self-modifying software, focusing on guardrails, structured outputs, a powerful prompt engine for pre-compiling and session state, and optimized code generation f...

neuron-core/neuron-ai

Neuron is a PHP framework for building and orchestrating AI agents, supporting LLM integration, prompt management, RAG, multi-agent workflows, and observability.

microsoft/aici

AICI (Artificial Intelligence Controller Interface) allows building Wasm-based controllers to constrain and direct LLM output in real time, enabling advanced generation strategies.

Open-Source-Legal/OpenContracts

OpenContracts is an open-source document intelligence platform that processes unstructured documents into a programmable citation graph using AI agents, structured extraction, and a Model Context P...

microsoft/prompty

Prompty is a markdown-based file format (.prompty) and runtime for creating, managing, and executing LLM prompts, providing tools for development, previewing, and tracing.