{"id":13494620,"url":"https://github.com/cfortuner/promptable","last_synced_at":"2025-09-28T03:30:38.383Z","repository":{"id":65904887,"uuid":"593021678","full_name":"cfortuner/promptable","owner":"cfortuner","description":"Build LLM apps in Typescript/Javascript. 🧑‍💻 🧑‍💻 🧑‍💻 🚀 🚀 🚀 ","archived":true,"fork":false,"pushed_at":"2023-03-19T15:01:31.000Z","size":12108,"stargazers_count":1766,"open_issues_count":20,"forks_count":120,"subscribers_count":29,"default_branch":"main","last_synced_at":"2024-09-27T02:01:29.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs-promptable.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cfortuner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-01-25T03:07:03.000Z","updated_at":"2024-09-20T06:52:40.000Z","dependencies_parsed_at":"2024-01-14T09:19:37.329Z","dependency_job_id":"fb6a4062-85d0-4ece-9077-e82af7723aef","html_url":"https://github.com/cfortuner/promptable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfortuner%2Fpromptable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfortuner%2Fpromptable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfortuner%2Fpromptable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfortuner%2Fpromptable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfortuner","download_url":"https://codeload.github.com/cfortuner/promptable/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234479935,"owners_count":18840181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T19:01:26.607Z","updated_at":"2025-09-28T03:30:32.490Z","avatar_url":"https://github.com/cfortuner.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Prompts"],"sub_categories":[],"readme":"# Promptable\n\nBuild fullstack AI apps in Typescript/Javascript.\n\n## What is this?\n\nPromptable is library that enables you to build powerful AI applications with LLMs and Embeddings providers such as OpenAI, Hugging Face, Cohere and Anthropic. It provides a flexible and extensible API that makes it easy to compose LLMs with data and tools to build complex applications quickly and easily.\n\nWith Promptable, you can combine LLMs with other powerful tools and data sources, such as databases and APIs, to create a wide range of AI applications.\n\n**What is LLM?**\n\nAn LLM is a Large Language Model. It is a model that can generate text given a prompt. It is a type of AI that can be used to generate text, answer questions, and more.\n\n**What is an Embedding?**\n\nAn Embedding is a vector representation of a piece of text. It is a type of AI that can be used to find similar pieces of text, search for text, and more.\n\n\u003e ! Right now the library is in early development and is very much experimental. Don't use this in production yet! The API is subject to change as we get feedback.\n\n[Github Repo](https://github.com/cfortuner/promptable).\n[Discord](https://discord.gg/SYmACWTf6V).\n[Twitter](https://twitter.com/promptableai).\n\n## Use Cases:\n\n- 💬 Chatbots \u0026 Conversational AI\n- ❓ Question Answering Bots\n- ✍️ Writing Apps\n- 🧑‍✈️ Copilot apps built with Chrome Extensions, VSCode Extensions, and more!\n- 🔍 AI Semantic Search apps\n- 🛠️ AI first Automations, Workflows and Tools\n- 🤖 Autonomous Agents \u0026 Personal Assistants\n\n### Features\n- [StarterKits](https://twitter.com/colinfortuner/status/1626063002683207681?s=20) ex. NextJS \u003c-\u003e Promptable Starter kit with Streaming Chat Bot! \n- [Prompts](./apps/docs/docs/modules/prompts.md) for templating and formatting\n- [Model Providers](./apps/docs/docs/modules/model-providers.md) for Text Generation and Embedding Generation\n- [Embeddings](./apps/docs/docs/modules/embeddings.md) for creating Embeddings, Indexing and Search\n- [Tracing](./apps/docs/docs/modules/tracing.md) for debugging your applications!\n- [Chains](./apps/docs/docs/modules/chains.md) for composing LLMs and Embeddings with data and other tools.\n- Utilities for working with text and data.\n- More Coming Soon :)\n\n## Install Library\n\n`npm i promptable`\n\n## Usage\n\nSee our docs for more info on how to use the library.\n[Documentation](https://docs-promptable.vercel.app/)\n\n### Examples\n\nTo run an example, clone the repo and follow these steps\n1. Copy contents of `/apps/web/.env.example` into a new file, `/apps/web/.env`\n2. Copy contents of `/examples/.env.example` into a new file, `/examples/.env` and add your [OpenAI API Key](https://openai.com/api/) to the `OPENAI_API_KEY` field\n3. Run the following commands:\n```\npnpm i\npnpm dev\n```\n4. Run the following command in a different terminal window/tab:\n   *NOTE: example names found in [/examples/src](https://github.com/cfortuner/promptable/tree/main/examples/src)\n```\npnpm run example \u003cexample name\u003e\n```\n\n## What's inside?\n\nThis a Turborepo monorepo of tooling for Typescript developers building LLM apps.\n\nIt uses [pnpm](https://pnpm.io) as a package manager and includes the following packages/apps:\n\n- `packages/promptable`: The Promptable Library for building LLM apps in Typescript / Javascript!\n- `examples`: Examples using the Promptable.js library!\n- `apps/docs`: The Promptable.js Docs\n- `apps/web`: A nextjs app for visualizing Promptable.js steps.\n- `apps/nextjs-promptable`: A nextjs app starter kit with prebuilt features (ChatBot with Streaming, QA Bot etc.)\n\n\n## Contributing\n\n## Install and Run\n\nThen to install run (at the root)\n\n```\npnpm i\n\n```\n\nTo install package in a single workspace\n\n```\n\npnpm i \u003cpackage\u003e --filter \u003cworkspace\u003e\n\n```\n\nFirst copy the `apps/web/.env.example` file to `apps/web/.env`.\n\nThen, To develop all apps and packages, run the following command:\n\n```\n\ncd my-turborepo\npnpm run dev\n\n```\n\nThis will start watching the files for changes.\n\n### UI\n\nSee our [Docs](https://docs-promptable.vercel.app/docs/modules/tracing#tracing-ui).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfortuner%2Fpromptable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfortuner%2Fpromptable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfortuner%2Fpromptable/lists"}