mix mcpixir.chat (Mcpixir v0.1.0)

View Source

Demonstrates a basic chat interaction with an LLM using Mcpixir.

This task connects to an LLM (OpenAI or Anthropic) and allows for a simple chat interaction using weather tools.

Usage

mix mcpixir.chat

Options

--provider=PROVIDER   LLM provider (openai or anthropic, default: openai)
--model=MODEL         Model to use (default: gpt-4o for OpenAI, claude-3-opus-20240229 for Anthropic)
--query=QUERY         Query to send to the LLM (default: "What's the weather like in San Francisco?")

Examples

mix mcpixir.chat
mix mcpixir.chat --provider=anthropic
mix mcpixir.chat --model=gpt-4o --query="What's the weather like in London?"