Conversational AI Apps.
Built in React.
AI.JSX is a framework for building AI applications using Javascript and JSX. You get great support for prompt engineering, Document Question + Answering, and using external Tools (APIs). You can provide a set of React components to the LLM and have your UI constructed dynamically at runtime (AKA GenUI). Bring all these to life in a Sidekick or use them as building blocks in other apps.
DocsQA
- Ground the model in sources of truth
- URLs, documents, PDFs
- Video and audio files
- Fully hosted or bring your own
Tools
- Give your app new capabilities
- Action-oriented through APIs
- Enable end-users to close the loop
GenUI
- Move beyond simple text chat
- JSX components enable the LLM to build UI dynamically at runtime
Your App Needs a Sidekick
AI.JSX enables you to easily create Sidekicks, embeddable conversational assistants that live alongside your application. Sidekicks harness the power of DocsQA, Tools, and GenUI and bring everything together in a seamless experience.
Powerful JSX Components
Create JSX components for all your conversational AI app needs.
<SystemMessage><Prompt persona="expert customer service agent for Fixie" />You have access to the Fixie customer support docs...</SystemMessage>
-- LLM Prompting<SystemMessage><Prompt persona="expert customer service agent for Fixie" />You have access to the Fixie customer support docs...</SystemMessage>
lookUpFixieKnowledgeBase: {description: 'Look up information about Fixie from itscustomer support and developer docs'...}
-- DocsQAlookUpFixieKnowledgeBase: {description: 'Look up information about Fixie from itscustomer support and developer docs'...}
tools: Record<string, Tool> = {listIssues: {description: 'List issues from Github and Discord',func: async function () {return fetchAPI('issues')}}}
-- Toolstools: Record<string, Tool> = {listIssues: {description: 'List issues from Github and Discord',func: async function () {return fetchAPI('issues')}}}
export const mdxUsageExamples = <>When you list users, use the <ListUsers /> component.
-- GenUIexport const mdxUsageExamples = <>When you list users, use the <ListUsers /> component.
Join our community
AI.JSX is open source. Follow us on Twitter, star our GitHub repo, and join our developer community on Discord!
Stay in the loop
Sign-up for our newsletter. We never spam or share your info. Newsletter guaranteed to include at least one useful thing.