Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Latest commit

 

History

History
66 lines (52 loc) · 2.8 KB

chat.mdx

File metadata and controls

66 lines (52 loc) · 2.8 KB
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. :::

cortex chat

:::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.

Usage

```sh # Stable cortex chat [options]

Beta

cortex-beta chat [options] <model_id>

Nightly

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. :::

Options

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