|
| 1 | +--- |
| 2 | +title: Chat UI Component |
| 3 | +sidebarTitle: Chat UI Component |
| 4 | +description: Interactive chat interface component for conversational search |
| 5 | +--- |
| 6 | + |
| 7 | +This page provides an interactive chat interface component that demonstrates Meilisearch's conversational search capabilities. |
| 8 | + |
| 9 | +## Interactive Demo |
| 10 | + |
| 11 | +<iframe |
| 12 | + src="https://chat-frontend-iframe-fk5ekooet-meili.vercel.app/" |
| 13 | + title="Embedded content" |
| 14 | + className="w-full h-96 rounded-xl" |
| 15 | + sandbox="allow-scripts allow-same-origin allow-forms allow-popups" |
| 16 | + allow="clipboard-write" |
| 17 | + onLoad="console.log('Iframe loaded successfully')" |
| 18 | + onError="console.log('Iframe failed to load')" |
| 19 | +></iframe> |
| 20 | + |
| 21 | +<div className="mt-4 text-center"> |
| 22 | + <p className="text-sm text-gray-600 mb-2">If the chat interface doesn't load above, you can:</p> |
| 23 | + <a |
| 24 | + href="https://chat-frontend-iframe-605rmlkao-meili.vercel.app/" |
| 25 | + target="_blank" |
| 26 | + rel="noopener noreferrer" |
| 27 | + className="inline-block px-4 py-2 bg-blue-500 text-white rounded-lg hover:bg-blue-600 transition-colors" |
| 28 | + > |
| 29 | + Open Chat Interface in New Tab |
| 30 | + </a> |
| 31 | +</div> |
| 32 | + |
| 33 | +## Features |
| 34 | + |
| 35 | +This interactive component showcases: |
| 36 | + |
| 37 | +- Real-time conversational search |
| 38 | +- Streaming responses |
| 39 | +- Source citations |
| 40 | +- Context-aware follow-up questions |
| 41 | +- Multiple LLM provider support |
| 42 | + |
| 43 | +## Integration |
| 44 | + |
| 45 | +The chat UI component can be integrated into your application using the provided iframe or by implementing the underlying API calls directly. |
| 46 | + |
| 47 | +<Note> |
| 48 | +This is a demonstration component. For production use, implement proper authentication and security measures. |
| 49 | +</Note> |
0 commit comments