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.
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.