📄️ Guide for AI Newcomers
Large Language Models (LLMs) are powerful tools, representing a paradigm shift in how we build and use software. Machines now have the ability to reason and understand natural language as well as source code. We predict over the coming years, incumbents will be either remake themselves, or be disrupted by AI-native products and platforms.
📄️ Prompting in AI.JSX
- Prereqs:
📄️ Rules of AI.JSX
AI.JSX uses the familiar JSX syntax, but it's not React.
📄️ AI + UI
In traditional UI development, human engineers write deterministic code to handle every possible UI state. With JIT UI, human engineers produce building block components, then hand those to an AI to use in its response.
📄️ Observability
In this guide, we'll start with the hello world example and iteratively add logging.
📄️ Performance
- Architecture
📄️ Deployment Architectures
- Performance
📄️ DocsQA: Grounding Answers with a Source of Truth
Large Language Models (LLMs) are powerful tools for answering open domain questsions, but they're prone to making things up ("hallucination") when their responses are unrestricted. In addition, publicly available LLMs are trained on public data and consequently won't have knowledge of your internal documentation.
📄️ ESM
AI.JSX exports both CJS and ESM files. When you import or require ai-jsx, you'll get the file that matches the module system you're using. If you have a problem with this, please let us know.
📄️ JSX: Build System Considerations
Understanding these details is for power users. If you just want to get started quickly, clone the template repo.
📄️ Models
AI.JSX supports OpenAI and Anthropic.
📄️ Rendering
Once you assemble your AI.JSX component tree, you'll want to render it into text or UI components. The way you do it depends on how you're using AI.JSX.