chat_stream

command
v0.34.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2025 License: MIT Imports: 10 Imported by: 0

README

Chat Streaming Example

This example shows how to use Meilisearch's chat features with streaming responses.

What it does

  • Check server health
  • List available chat workspaces
  • Start an interactive chat session
  • Stream responses in real-time
  • Type 'quit' to exit

Prerequisites

Meilisearch Enterprise with chat features enabled

Configuration

export MEILI_HOST="http://localhost:7700"
export MEILI_API_KEY="your-enterprise-api-key"

Run it

go run ./examples/chat_stream

The example will start an interactive chat session where you can ask questions and receive streaming responses. Type 'quit' or 'exit' to end the session.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL