CLI Reference

opik

CLI tool for Opik.

opik [OPTIONS] COMMAND [ARGS]...

Options

-v, --version

Show the version and exit.

configure

Create a configuration file for the Opik Python SDK, if a configuration file already exists, it will be overwritten. This is also available as a function in the Python SDK.

opik configure [OPTIONS]

Options

--use_local, --use-local

Flag to configure the Opik Python SDK for local Opik deployments.

-y, --yes

Flag to automatically answer yes whenever a user approval might be required

proxy

Start the Opik server.

opik proxy [OPTIONS]

Options

--ollama

Run as a proxy server for Ollama

--ollama-host <ollama_host>

Ollama server URL when using –ollama-proxy

Default:

'http://localhost:11434'

--lm-studio

Run as a proxy server for LM Studio

--lm-studio-host <lm_studio_host>

LM Studio server URL when using –lm-studio-proxy

Default:

'http://localhost:1234'

--host <host>

Host to bind to

Default:

'localhost'

--port <port>

Port to bind to

Default:

7860