Chat Features
- AI Conversations: Engage in natural language conversations with AI models
- Tool Integrations: Web search capabilities and other tools
- Feedback System: Collect user feedback on AI responses
- Markdown Support: Rich text formatting in responses
Chat Components
The chat system consists of several key components:Chat Interface
The main chat interface includes:- Message input area
- Chat history display
- Tool integration panels
Chat Bubbles
ProStack provides custom components for displaying user and assistant messages:Tool Invocations
The chat system can invoke external tools like web search:Using the Chat API
To integrate with the chat functionality in your code:OpenAI Integration
The chat system integrates with OpenAI’s API. Configuration is done through environment variables:Web Search Tool
ProStack includes a web search tool that allows the AI to search the internet for information:Extending the Chat System
You can extend the chat system with:- Custom Tools: Add new tool integrations
- AI Model Configuration: Change parameters or switch AI models
- Custom UI: Modify the chat interface to match your branding