title | description | slug |
---|---|---|
Cortex Chat |
Cortex chat command. |
chat |
import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem";
:::warning 🚧 Cortex.cpp is currently under development. Our documentation outlines the intended behavior of Cortex, which may not yet be fully implemented in the codebase. :::
:::info This CLI command calls the following API endpoint:
This command starts a chat session with a specified model, allowing you to interact directly with it through an interactive chat interface.
```sh # Stable cortex chat [options]cortex-beta chat [options] <model_id>
cortex-nightly chat [options] <model_id>
</TabItem>
<TabItem value="Windows" label="Windows">
```sh
# Stable
cortex.exe chat [options] <model_id> <message>
# Beta
cortex-beta.exe chat [options] <model_id> <message>
# Nightly
cortex-nightly.exe chat [options] <model_id> <message>
:::info
This command uses a model_id
from the model that you have downloaded or available in your file system.
:::
Option | Description | Required | Default value | Example |
---|---|---|---|---|
model_id |
Model ID to chat with. | Yes | - | mistral |
-m , --message <message> |
Message to send to the model | Yes | - | -m "Hello, model!" |
-h , --help |
Display help information for the command. | No | - | -h |