promptable  by cfortuner

TS/JS library for building full-stack AI apps

created 2 years ago
1,761 stars

Top 24.9% on sourcepulse

GitHubView on GitHub
Project Summary

Promptable is a TypeScript/JavaScript library designed for developers building full-stack AI applications using Large Language Models (LLMs) and embedding providers. It simplifies the composition of LLMs with data and tools, enabling rapid development of chatbots, question-answering systems, semantic search, and AI-powered automations.

How It Works

Promptable offers a flexible, extensible API for orchestrating LLM interactions. It supports composing LLMs with data sources and tools through "chains" and provides utilities for text manipulation, templating, and embedding generation. The library includes tracing for debugging and starter kits for common use cases like streaming chatbots.

Quick Start & Requirements

  • Install: npm i promptable
  • Prerequisites: OpenAI API Key.
  • Development Setup: Requires pnpm for package management. Cloning the repo and running pnpm install followed by pnpm dev is necessary for development. Examples require copying .env.example files and setting API keys.
  • Documentation: https://promptable.ai/docs

Highlighted Details

  • Supports multiple LLM and embedding providers (OpenAI, Hugging Face, Cohere, Anthropic).
  • Features include prompt templating, embedding indexing/search, and application tracing.
  • Offers starter kits, including a Next.js chatbot with streaming capabilities.
  • Built as a Turborepo monorepo for efficient development.

Maintenance & Community

  • Project is in early development and experimental.
  • Community links: Discord, Twitter.

Licensing & Compatibility

  • License: Not explicitly stated in the README.

Limitations & Caveats

The library is in early development and is experimental; it is not recommended for production use. The API is subject to change based on feedback.

Health Check
Last commit

2 years ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
4 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems).

LangBot by langbot-app

0.9%
13k
IM bot platform for the LLM era
created 2 years ago
updated 5 days ago
Feedback? Help us improve.