diff --git a/README-en.md b/README-en.md index 357bb5f..1956e89 100644 --- a/README-en.md +++ b/README-en.md @@ -16,12 +16,14 @@
-Ask Chat +Ask Chat [English](README-en.md) | [简体中文](README.md)
-Interact with ChatGPT from the command line. +Interact with ChatGPT at the terminal, invoking ChatGPT anytime and anywhere. + +![hello](docs/assets/svgs/hello.svg) ## Installation and Configuration @@ -29,107 +31,107 @@ Interact with ChatGPT from the command line. pip install askchat --upgrade ``` -Configure the environment variables: +Configure environment variables: ```bash export OPENAI_API_KEY="your-api-key" -export OPENAI_API_BASE_URL="https://api.openai.com" export OPENAI_API_BASE="https://api.openai.com/v1" -export OPENAI_MODEL="gpt-3.5-turbo" +export OPENAI_API_BASE_URL="https://api.openai.com" +export OPENAI_API_MODEL="gpt-3.5-turbo" ``` -Note: The `OPENAI_API_BASE` variable has priority over `OPENAI_API_BASE_URL`. Use one of them as needed. +Note: The `OPENAI_API_BASE` variable takes precedence over the `OPENAI_API_BASE_URL` variable; choose one. -## Usage +## How to Use -To run using the default environment variables, simply execute: +Use environment variables for simple question and answer: ```bash ask hello world ``` +In addition, you can use `askchat` for more flexible dialogue and `askenv` to manage environment configurations. + ## AskChat -`askchat`, beyond direct use, supports more flexible conversation management with the following options: +`askchat` supports API debugging, dialogue management, and other functionalities. -```bash -❯ askchat --help -Usage: askchat [OPTIONS] [MESSAGE]... - - Interact with ChatGPT in terminal via chattool - -Options: - -m, --model TEXT Model name - -b, --base-url TEXT Base URL of the API (without suffix `/v1`) - --api-base TEXT Base URL of the API (with suffix `/v1`) - -a, --api-key TEXT OpenAI API key - -u, --use-env TEXT Use environment variables from the ENV_PATH - -c Continue the last conversation - -r, --regenerate Regenerate the last conversation - -l, --load TEXT Load the conversation from a file - -p, --print Print the last conversation or a specific conversation - -s, --save TEXT Save the conversation to a file - -d, --delete TEXT Delete the conversation from a file - --list List all the conversation files - --generate-config Generate a configuration file by environment table - --debug Print debug log - --valid-models Print valid models that contain "gpt" in their names - --all-valid-models Print all valid models - -v, --version Print the version - --help Show this message and exit. -``` +### Usage Examples -### Conversation Management +1. API debugging, testing default parameters and return results. + ![debug](docs/assets/svgs/debug.svg) -Manage conversation history, including saving, loading, deleting, and listing conversations, as well as continuing previous dialogues. +2. Get a list of available models. + ![validmodels](docs/assets/svgs/validmodels.svg) -| Option | Example | Description | -|-----------------|------------------------|-----------------------------------------------| -| `-c` | `askchat -c ` | Continue the last conversation | -| `--regenerate` | `askchat -r` | Regenerate the last response of the conversation | -| `--load` | `askchat -l ` | Load conversation history from a file | -| `--print` | `askchat -p []` | Print the last or a specified conversation history | -| `--save` | `askchat -s ` | Save the current conversation history to a file | -| `--delete` | `askchat -d ` | Delete a specified conversation history file | -| `--list` | `askchat --list` | List all saved conversation history files | +3. Multi-turn dialogue, saving dialogues, loading dialogues, etc. + ![chatlog](docs/assets/svgs/chatlog.svg) -All conversations are saved in `~/.askchat/`, with the most recent conversation saved in `~/.askchat/_last_chat.json`. +4. Specify parameters, using different models and APIs. + ![para-models](docs/assets/svgs/para-models.svg) -### Specified Parameters +### Dialogue Management -Default parameters for `askchat`, used for direct interaction with ChatGPT or configuring the API connection. +Users save, load, delete, and list dialogue histories, as well as continue previous dialogues. -| Option | Example | Description | -|-----------------|----------------------------------|----------------------------------------------| -| `` | Continue the last conversation | +| `--regenerate` | `askchat -r` | Regenerate the last reply in a conversation | +| `--load` | `askchat -l ` | Load historical dialogues | +| `--print` | `askchat -p []` | Print the last or a specified dialogue history | +| `--save` | `askchat -s ` | Save the current dialogue history to a file | +| `--delete` | `askchat -d ` | Delete a specified dialogue history file | +| `--list` | `askchat --list` | List all saved dialogue history files | ->` | `askchat hello` | The simplest form of dialogue | -| `--model` | `-m gpt-3.5-turbo` | Specify the model name | -| `--base-url` | `-b https://api.example.com` | Set the Base URL (excluding `/v1`) | -| `--api-base` | `--api-base https://api.example.com/v1` | Set the Base URL | -| `--api-key` | `-a sk-xxxxxxx` | Provide the OpenAI API key | -| `--option` | `-o top_p 1 temperature 0.5` | Set request parameters | -| `--use-env` | `-u prod` | Load environment variables from the specified config file, see [AskEnv](#askenv) | +All dialogues are saved in `~/.askchat/`, with the most recent dialogue saved in `~/.askchat/_last_chat.json`. -Note: Some model APIs, like ChatGPT, use `/v4` as the base path of the API, so the `--api-base` parameter would be needed. +### Model Parameters -### Other Options +Default parameters for `askchat`, these are used for direct interaction with ChatGPT or to configure API connection info. -Auxiliary features such as generating configuration files, printing debug logs, listing models, and showing version information. +| Parameter | Example | Explanation | +|------------------|-----------------------------------|------------------------------------| +| `` | `askchat hello` | Simplest form of dialogue | +| `--model` | `-m gpt-3.5-turbo` | Specify the model to be used | +| `--base-url` | `-b https://api.example.com` | Set the Base URL (excluding `/v1`) | +| `--api-base` | `--api-base https://api.example.com/v1` | Set the Base URL | +| `--api-key` | `-a sk-xxxxxxx` | Provide the OpenAI API key | +| `--option` | `-o top_p 1 temperature 0.5` | Set request parameters | +| `--use-env` | `-u prod` | Load environment variables from a specified config, see [AskEnv](#askenv) | -| Option | Example | Description | -|-------------------------|---------------------------------|------------------------------------------------| -| `--generate-config` | `askchat --generate-config` | Generate a config file, saved in `~/.askchat/.env` | -| `--debug` | `askchat --debug` | Print debug logs | -| `--valid-models` | `askchat --valid-models` | Print a list of models containing "gpt" in their names | -| `--all-valid-models` | `askchat --all-valid-models` | Print all models | -| `--version` | `askchat -v` | `askchat` version information | +Note: Some model APIs, such as Zhishu, use `/v4` as the API base path, in which case use the `--api-base` parameter. -Note: `--all-valid-models` prints all available models, including Embedding, dalle-3, tts, etc., use `--valid-models` to filter these out. +### Additional Parameters + +Auxiliary features, such as generating configuration files, debugging logs, printing model lists, and showing version information, etc., use `--help` to see all supported parameters. + +| Parameter | Example | Explanation | +|--------------------------|----------------------------------|---------------------------------------| +| `--generate-config` | `askchat --generate-config` | Generate a configuration file, saved in `~/.askchat/.env` | +| `--debug` | `askchat --debug` | Print debugging logs | +| `--valid-models` | `askchat --valid-models` | Print a list of models containing "gpt" in their names | +| `--all + +-valid-models` | `askchat --all-valid-models` | Print all available models | +| `--version` | `askchat -v` | Version information of `askchat` | + +Note: `--all-valid-models` will print all available models, including Embedding, dalle-3, tts, etc., use `--valid-models` to filter these out. ## AskEnv -`askenv` is used to manage different environment configurations, supporting operations such as create, activate, delete, etc. It facilitates switching between different environments, managing API keys, model names, and API base URLs. +`askenv` is used to manage different environment configurations, including creating, activating, deleting, etc., making it easy to switch between different channels. + +### Examples + +1. Create, view, activate, and delete channels. + ![askenv](docs/assets/svgs/askenv.svg) + +2. Edit channel. + ![askenv-config](docs/assets/svgs/editenv.svg) + + +### Basic Usage 1. Create a new environment configuration using the `new` command. @@ -137,7 +139,13 @@ Note: `--all-valid-models` prints all available models, including Embedding, dal askenv new [-a API_KEY] [-b BASE_URL] [--api-base API_BASE] [-m MODEL] ``` -2. Activate an environment, setting it as the current configuration. + Or generate a default config from environment variables using `askchat --generate-config`: + + ```bash + askchat --generate-config + ``` + +2. Activate a certain environment, setting it as the currently used configuration. ```bash askenv use @@ -150,26 +158,30 @@ Note: `--all-valid-models` prints all available models, including Embedding, dal askenv delete --default ``` -4. List all available environments. +4. List all currently available environments. ```bash askenv list ``` -5. Display the configuration information for a specified environment, or the default environment if no name is provided. +5. Show configuration info of a specified environment, or the default environment if no name is specified. ```bash askenv show [name] ``` -6. Save the currently active environment configuration to a specified name. +6. Save the currently activated environment configuration as a specified name's configuration file. ```bash askenv save ``` -7. Update one or more settings for a specified or default environment configuration. +7. Update one or more settings of a specified or default environment configuration. ```bash askenv config [name] [-a API_KEY] [-b BASE_URL] [--api-base API_BASE] [-m MODEL] - ``` \ No newline at end of file + ``` + +## Issues and Feedback + +If you encounter any problems or have suggestions, feel free to submit an [Issue](https://github.com/cubenlp/askchat/issues). \ No newline at end of file diff --git a/README.md b/README.md index ab67540..aaccb0c 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,14 @@
-Ask Chat +Ask Chat [English](README-en.md) | [简体中文](README.md)
-在命令行中与 ChatGPT 交互。 +在终端与 ChatGPT 交互,随时随地调用 ChatGPT。 + +![hello](docs/assets/svgs/hello.svg) ## 安装及配置 @@ -33,51 +35,40 @@ pip install askchat --upgrade ```bash export OPENAI_API_KEY="your-api-key" -export OPENAI_API_BASE_URL="https://api.openai.com" export OPENAI_API_BASE="https://api.openai.com/v1" -export OPENAI_MODEL="gpt-3.5-turbo" +export OPENAI_API_BASE_URL="https://api.openai.com" +export OPENAI_API_MODEL="gpt-3.5-turbo" ``` 注:`OPENAI_API_BASE` 变量优先于 `OPENAI_API_BASE_URL` 变量,二者选一即可。 ## 使用方法 -使用默认环境变量,简单地运行: +使用环境变量,进行简单的问答: ```bash ask hello world ``` +除此之外,可使用 `askchat` 进行更灵活的对话,使用 `askenv` 管理环境配置。 + ## AskChat -`askchat` 除了直接使用外,支持更灵活地对话管理,选项如下: +`askchat` 支持 API 调试,对话管理等功能。 -```bash -❯ askchat --help -Usage: askchat [OPTIONS] [MESSAGE]... - - Interact with ChatGPT in terminal via chattool - -Options: - -m, --model TEXT Model name - -b, --base-url TEXT Base URL of the API (without suffix `/v1`) - --api-base TEXT Base URL of the API (with suffix `/v1`) - -a, --api-key TEXT OpenAI API key - -u, --use-env TEXT Use environment variables from the ENV_PATH - -c Continue the last conversation - -r, --regenerate Regenerate the last conversation - -l, --load TEXT Load the conversation from a file - -p, --print Print the last conversation or a specific conversation - -s, --save TEXT Save the conversation to a file - -d, --delete TEXT Delete the conversation from a file - --list List all the conversation files - --generate-config Generate a configuration file by environment table - --debug Print debug log - --valid-models Print valid models that contain "gpt" in their names - --all-valid-models Print all valid models - -v, --version Print the version - --help Show this message and exit. -``` +### 使用示例 + +1. API 调试,测试默认参数和返回结果。 + ![debug](docs/assets/svgs/debug.svg) + +2. 获取可用模型列表。 + ![validmodels](docs/assets/svgs/validmodels.svg) + +3. 多轮对话,保存对话,加载对话等。 + ![chatlog](docs/assets/svgs/chatlog.svg) + +4. 指定参数,使用不同的模型和 API。 + ![para-models](docs/assets/svgs/para-models.svg) ### 对话管理 @@ -95,7 +86,7 @@ Options: 所有对话保存在 `~/.askchat/`,最近一次对话保存在 `~/.askchat/_last_chat.json`。 -### 指定参数 +### 模型参数 `askchat` 的默认参数,这些参数用于直接与 ChatGPT 交互或者配置 API 的连接信息。 @@ -111,9 +102,9 @@ Options: 注:一些模型 API,比如智谱,使用 `/v4` 作为 API 的基础路径,这时得用 `--api-base` 参数。 -### 其他选项 +### 其他参数 -一些辅助功能,如生成配置文件、调试日志、打印模型列表和显示版本信息。 +辅助功能,如生成配置文件、调试日志、打印模型列表和显示版本信息等,使用 `--help` 查看所有支持的参数。 | 参数 | 示例 | 解释 | |---------------------------|----------------------|--------------------------------------------| @@ -127,7 +118,18 @@ Options: ## AskEnv -`askenv` 用于管理不同的环境配置,支持创建、激活、删除等操作,便于在不同的环境之间切换,管理 API 密钥、模型名称和 API 的基础 URL 等配置信息。 +`askenv` 用于管理不同的环境配置,包括创建、激活、删除等操作,便于在不同的渠道间切换。 + +### 示例 + +1. 创建,查看,激活和删除渠道 + ![askenv](docs/assets/svgs/askenv.svg) + +2. 编辑渠道 + ![askenv-config](docs/assets/svgs/editenv.svg) + + +### 基本用法 1. 创建一个新的环境配置,使用 `new` 命令。 @@ -135,6 +137,12 @@ Options: askenv new [-a API_KEY] [-b BASE_URL] [--api-base API_BASE] [-m MODEL] ``` + 或者用 `askchat --generate-config` 从环境变量生成默认配置: + + ```bash + askchat --generate-config + ``` + 2. 激活某个环境,将其设置为当前使用的配置。 ```bash @@ -170,4 +178,8 @@ Options: ```bash askenv config [name] [-a API_KEY] [-b BASE_URL] [--api-base API_BASE] [-m MODEL] - ``` \ No newline at end of file + ``` + +## 问题和反馈 + +使用过程中有任何问题或建议,欢迎提交 [Issue](https://github.com/cubenlp/askchat/issues)。 \ No newline at end of file diff --git a/docs/assets/askchat.png b/docs/assets/askchat.png new file mode 100644 index 0000000..09fa0af Binary files /dev/null and b/docs/assets/askchat.png differ diff --git a/docs/assets/svgs/askenv.svg b/docs/assets/svgs/askenv.svg new file mode 100644 index 0000000..e2f167e --- /dev/null +++ b/docs/assets/svgs/askenv.svg @@ -0,0 +1,391 @@ + + + + + + + + + + + + + + + + + ~ ~ e ~ ex ~ exp ~ expo ~ expor ~ export ~ export ~  base  system ~ ex  base  system ~ expor  base  system ~ export  base  system ~ export  base  system ~ export OPENAI_API_MODEL='deepseek-chat'  base  system ~ export OPENAI_API_MODEL='deepseek-chat'  base  system ~ export OPENAI_API_MODEL='deepseek-chat'  base  system export OPENAI_API_MODEL='deepseek-chat' ~ e  base  system ~ export OPENAI_API_MODEL='deepseek-chat'  base  system ~ export OPENAI_API_MODEL='deepseek-chat'  base  system ~ export OPENAI_API_MODEL='deepseek-chat'  base  system ~ export OPENAI_API_MODEL='deepseek-chat'  base  system ~ export OPENAI_API_MODEL='deepseek-chat'  base  system ~ export OPENAI_API_MODEL='deepseek-chat'  base  system ~ export OPENAI_API_KEY=sk-testkey  base  system ~ export OPENAI_API_BASE=https://api.deepseek.com  base  system ~ export OPENAI_API_BASE=https://api.deepseek.com  base  system export OPENAI_API_BASE=https://api.deepseek.com ~ export OPENAI_API_BASE=https://api.deepseek.com  base  system ~ export OPENAI_API_BASE=https://api.deepseek.com  base  system ~ export OPENAI_API_BASE=https://api.deepseek.com  base  system ~ export OPENAI_API_BASE=https://api.deepseek.com  base  system ~ export OPENAI_API_BASE=https://api.deepseek.com  base  system ~ export OPENAI_API_BASE=https://api.deepseek.com  base  system ~ export OPENAI_API_BASE=https://api.deepseek.com  base  system ~ export OPENAI_API_KEY=sk-testkey  base  system export OPENAI_API_KEY=sk-testkey ~ a  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat --  base  system ~ askchat --help  base  system ~ askchat --g  base  system ~ askchat --generate-config  base  system ~ askchat --generate-config  base  system ~ askchat --generate-config  base  system ~ askchat --generate-config  base  system askchat --generate-config Overwrite the existing configuration file /Users/wangzhihong/.askchat/.env? [y/N]: ]: y ]: yCreated config file at /Users/wangzhihong/.askchat/.env~ askchat --generate-config  base  system ~ askchat --generate-config  base  system ~ askchat --generate-config  base  system ~ aske  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv s  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show  base  system ~ askenv show  base  system askenv show "# Description: Env file for askchat.# Current version: 1.1.4# The base url of the API (with suffix /v1)# This will override OPENAI_API_BASE_URL if both are set.OPENAI_API_BASE='https://api.deepseek.com'# The base url of the API (without suffix /v1)OPENAI_API_BASE_URL=''# Your API keyOPENAI_API_KEY='sk-testkey'# The default model name# You can use `askchat --all-valid-models` to see supported modelsOPENAI_API_MODEL='deepseek-chat'~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv sa  base  system ~ askenv save deepseek  base  system ~ askenv save deepseek  base  system ~ askenv save deepseek  base  system ~ askenv save deepseek  base  system ~ askenv save deepseek  base  system ~ askenv save deepseek  base  system askenv save deepseek Warning: Overwriting existing environment 'deepseek'.Do you want to continue? [y/N]: Do you want to continue? [y/N]: y Do you want to continue? [y/N]: yEnvironment 'deepseek' saved.~ askenv save deepseek  base  system ~ askenv save deepseek  base  system ~ askenv save deepseek  base  system ~ askenv save deepseek  base  system ~ askenv save deepseek  base  system ~ askenv save deepseek  base  system ~ askenv save deepseek  base  system ~ askenv l  base  system ~ askenv list  base  system ~ askenv list  base  system ~ askenv list  base  system ~ askenv list  base  system ~ askenv list  base  system askenv list Available environments:- chatgpt- wokaai- ollama- chatanywhere- litellm- one-api- deepseek~ askenv list  base  system ~ askenv list  base  system ~ askenv list  base  system ~ askenv list  base  system ~ askenv list  base  system ~ askenv list  base  system ~ askenv list  base  system ~ askenv save deepseek  base  system ~ askenv sh  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system askenv show ollama #Description: Env file for askchat.#Current version: 1.1.2OPENAI_API_BASE="http://172.23.148.83:11434/v1"OPENAI_API_BASE_URL="http://172.23.148.83:11434"OPENAI_API_KEY=""# The model nameOPENAI_API_MODEL="qwen:0.5b"~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv u  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system askenv use one-api Environment 'one-api' activated.~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askc  base  system ~ askchat --generate-config  base  system ~ askchat --generate-config  base  system ~ askchat --generate-config  base  system ~ askchat --generate-config  base  system ~ askchat --generate-config  base  system ~ askchat --generate-config  base  system ~ askchat -u  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system ~ askchat -u one-api hello world  base  system askchat -u one-api hello world Hello Hello! Hello! How Hello! How can Hello! How can I Hello! How can I assist Hello! How can I assist you Hello! How can I assist you today Hello! How can I assist you today? Hello! How can I assist you today? If Hello! How can I assist you today? If you Hello! How can I assist you today? If you have Hello! How can I assist you today? If you have any Hello! How can I assist you today? If you have any questions Hello! How can I assist you today? If you have any questions or Hello! How can I assist you today? If you have any questions or need Hello! How can I assist you today? If you have any questions or need information n on n on a specific n on a specific topic n on a specific topic, n on a specific topic, feel n on a specific topic, feel free n on a specific topic, feel free to n on a specific topic, feel free to ask n on a specific topic, feel free to ask. n on a specific topic, feel free to ask.~ askenv d  base  system ~ askenv delete test  base  system ~ askenv delete test  base  system ~ askenv delete test  base  system ~ askenv delete test  base  system ~ askenv delete test  base  system ~ askenv delete test  base  system ~ askenv delete test  base  system ~ askenv delete d  base  system ~ askenv delete de  base  system ~ askenv delete dee  base  system ~ askenv delete deep  base  system ~ askenv delete deeps  base  system ~ askenv delete deepse  base  system ~ askenv delete deepse  base  system ~ askenv delete deepsee  base  system ~ askenv delete deepseek  base  system ~ askenv delete deepseek  base  system askenv delete deepseek Environment 'deepseek' deleted.~ export OPENAI_API_KEY=sk-testkey  base  system ~  base  system + \ No newline at end of file diff --git a/docs/assets/svgs/chatlog.svg b/docs/assets/svgs/chatlog.svg new file mode 100644 index 0000000..584b4ed --- /dev/null +++ b/docs/assets/svgs/chatlog.svg @@ -0,0 +1,707 @@ + + + + + + + + + + + + + + + + + ~ ~ a ~ as ~ ask ~ askc ~ askch ~ askcha ~ askchat ~ askchat ~ askchat u ~ askchat ub ~ askchat ubu ~ askchat ubun ~ askchat ubunt ~ askchat ubuntu ~  base  system ~ ask  base  system ~ askcha  base  system ~ askchat u  base  system ~ askchat ubun  base  system ~ askchat ubunt  base  system ~ askchat ubuntu  base  system ~ askchat ubuntu 怎么让 docker pull 走指定的代理  base  system ~ askchat ubuntu 么让 docker pull 走指定的代理  base  system ~ askchat ubuntu 中  base  system ~ askchat ubuntu 中怎  base  system ~ askchat ubuntu 中怎么  base  system ~ askchat ubuntu 中怎么解  base  system ~ askchat ubuntu 中怎么解压  base  system ~ askchat ubuntu 中怎么解压  base  system ~ askchat ubuntu 中怎么解压 .  base  system ~ askchat ubuntu 中怎么解压 .t  base  system ~ askchat ubuntu 中怎么解压 .ta  base  system ~ askchat ubuntu 中怎么解压 .tar  base  system ~ askchat ubuntu 中怎么解压 .tar.  base  system ~ askchat ubuntu 中怎么解压 .tar.g  base  system ~ askchat ubuntu 中怎么解压 .tar.gz  base  system ~ askchat ubuntu 中怎么解压 .tar.gz  base  system ~ askchat ubuntu 中怎么解压 .tar.gz 文  base  system ~ askchat ubuntu 中怎么解压 .tar.gz 文件  base  system ~ askchat ubuntu 中怎么解压 .tar.gz 文件  base  system askchat ubuntu 中怎么解压 .tar.gz 文件 在Ubuntu 在Ubuntu中,解压`.tar.gz`文件可以通过命令行进行。以下是详细步骤:1. 1. 打 1. 打开 1. 打开终 1. 打开终端 1. 打开终端。 1. 打开终端。你 1. 打开终端。你可以 1. 打开终端。你可以通过按 ` 1. 打开终端。你可以通过按 `Ctrl 1. 打开终端。你可以通过按 `Ctrl + 1. 打开终端。你可以通过按 `Ctrl + Alt 1. 打开终端。你可以通过按 `Ctrl + Alt + 1. 打开终端。你可以通过按 `Ctrl + Alt + T 1. 打开终端。你可以通过按 `Ctrl + Alt + T` 1. 打开终端。你可以通过按 `Ctrl + Alt + T` 快 1. 打开终端。你可以通过按 `Ctrl + Alt + T` 快速 1. 打开终端。你可以通过按 `Ctrl + Alt + T` 快速打开 1. 打开终端。你可以通过按 `Ctrl + Alt + T` 快速打开终 1. 打开终端。你可以通过按 `Ctrl + Alt + T` 快速打开终端 1. 打开终端。你可以通过按 `Ctrl + Alt + T` 快速打开终端。2 2. 使用 `tar` 命令 2. 使用 `tar` 命令解 2. 使用 `tar` 命令解压 2. 使用 `tar` 命令解压 `. 2. 使用 `tar` 命令解压 `.tar.gz` 文件。假设 2. 使用 `tar` 命令解压 `.tar.gz` 文件。假设你的 2. 使用 `tar` 命令解压 `.tar.gz` 文件。假设你的文件 2. 使用 `tar` 命令解压 `.tar.gz` 文件。假设你的文件名 2. 使用 `tar` 命令解压 `.tar.gz` 文件。假设你的文件名是 2. 使用 `tar` 命令解压 `.tar.gz` 文件。假设你的文件名是 ` 2. 使用 `tar` 命令解压 `.tar.gz` 文件。假设你的文件名是 `example 2. 使用 `tar` 命令解压 `.tar.gz` 文件。假设你的文件名是 `example.tar 2. 使用 `tar` 命令解压 `.tar.gz` 文件。假设你的文件名是 `example.tar.gz 2. 使用 `tar` 命令解压 `.tar.gz` 文件。假设你的文件名是 `example.tar.gz` 2. 使用 `tar` 命令解压 `.tar.gz` 文件。假设你的文件名是 `example.tar.gz`。 2. 使用 `tar` 命令解压 `.tar.gz` 文件。假设你的文件名是 `example.tar.gz`。运行以 下命 下命令 下命令: ``` ```sh ```sh tar tar -xzvf example.tar tar -xzvf example.tar.gz tar -xzvf example.tar.gz `` ``` 解释每个参数的含义: - - ` - `x - `x` - `x`: - `x`:从 - `x`:从归 - `x`:从归档 - `x`:从归档文件 - `x`:从归档文件中 - `x`:从归档文件中解 - `x`:从归档文件中解压 - `x`:从归档文件中解压文件 - `x`:从归档文件中解压文件。 - `z - `z` - `z`: - `z`:通过 - `z`:通过gzip - `z`:通过gzip解 - `z`:通过gzip解压文件。 - `v`: - `v`:详细 - `v`:详细模式 - `v`:详细模式, - `v`:详细模式,显示处理的文件。 - `f - `f` - `f`: - `f`:指定 - `f`:指定归 - `f`:指定归档文件 - `f`:指定归档文件名 - `f`:指定归档文件名。3 3. 3. 如果你 3. 如果你希望 3. 如果你希望将 3. 如果你希望将文件 3. 如果你希望将文件解 3. 如果你希望将文件解压 3. 如果你希望将文件解压到 3. 如果你希望将文件解压到指定 3. 如果你希望将文件解压到指定目录 3. 如果你希望将文件解压到指定目录,可以 3. 如果你希望将文件解压到指定目录,可以使用 `- 3. 如果你希望将文件解压到指定目录,可以使用 `-C 3. 如果你希望将文件解压到指定目录,可以使用 `-C` 3. 如果你希望将文件解压到指定目录,可以使用 `-C` 参数 3. 如果你希望将文件解压到指定目录,可以使用 `-C` 参数。例如,将 `example.tar.gz` 解压到 `/ 解压到 `/path 解压到 `/path/to 解压到 `/path/to/d 解压到 `/path/to/destination 解压到 `/path/to/destination` 解压到 `/path/to/destination` 解压到 `/path/to/destination` 目录 解压到 `/path/to/destination` 目录: tar - tar -xz tar -xzvf tar -xzvf example tar -xzvf example.tar.gz - tar -xzvf example.tar.gz -C tar -xzvf example.tar.gz -C / tar -xzvf example.tar.gz -C /path/to/destination 这就是 这就是在Ubuntu中解压`.tar 这就是在Ubuntu中解压`.tar.gz 这就是在Ubuntu中解压`.tar.gz` 这就是在Ubuntu中解压`.tar.gz`文件 这就是在Ubuntu中解压`.tar.gz`文件的基本方法 这就是在Ubuntu中解压`.tar.gz`文件的基本方法。 这就是在Ubuntu中解压`.tar.gz`文件的基本方法。希望 这就是在Ubuntu中解压`.tar.gz`文件的基本方法。希望这 这就是在Ubuntu中解压`.tar.gz`文件的基本方法。希望这对 这就是在Ubuntu中解压`.tar.gz`文件的基本方法。希望这对你 这就是在Ubuntu中解压`.tar.gz`文件的基本方法。希望这对你有 这就是在Ubuntu中解压`.tar.gz`文件的基本方法。希望这对你有帮助 这就是在Ubuntu中解压`.tar.gz`文件的基本方法。希望这对你有帮助!~ 5s  base  system ~ a 5s  base  system ~ askchat ubuntu 中怎么解压 .tar.gz 文件 5s  base  system ~ askchat ubuntu 中怎么解压 .tar.gz 文件 5s  base  system ~ askchat ubuntu 中怎么解压 .tar.gz 文件 5s  base  system ~ askchat ubuntu 中怎么解压 .tar.gz 文件 5s  base  system ~ askchat ubuntu 中怎么解压 .tar.gz 文件 5s  base  system ~ askchat ubuntu 中怎么解压 .tar.gz 文件 5s  base  system ~ askchat ubuntu 中怎么解压 .tar.gz 文件 5s  base  system ~ askchat ubuntu 中怎么解压 .tar.gz 文件 5s  base  system ~ askchat - 5s  base  system ~ askchat --all-valid-models 5s  base  system ~ askchat -s 5s  base  system ~ askchat -s xml-fm 5s  base  system ~ askchat -s xml-fm 5s  base  system ~ askchat -s t 5s  base  system ~ askchat -s test 5s  base  system ~ askchat -s ta 5s  base  system ~ askchat -s talk-zh 5s  base  system ~ askchat -s tar 5s  base  system ~ askchat -s tar- 5s  base  system ~ askchat -s tar-u 5s  base  system ~ askchat -s tar-ub 5s  base  system ~ askchat -s tar-ubu 5s  base  system ~ askchat -s tar-ubun 5s  base  system ~ askchat -s tar-ubunt 5s  base  system ~ askchat -s tar-ubuntu 5s  base  system ~ askchat -s tar-ubuntu 5s  base  system askchat -s tar-ubuntu Saved conversation to /Users/wangzhihong/.askchat/tar-ubuntu.json~ a  base  system ~ askchat -s tar-ubuntu  base  system ~ askchat -s tar-ubuntu  base  system ~ askchat -s tar-ubuntu  base  system ~ askcchat -s tar-ubuntu  base  system ~ askch  base  system ~ askcha  base  system ~ askchat -s tar-ubuntu  base  system ~ askchat -s tar-ubuntu  base  system ~ askchat -s tar-ubuntu  base  system ~ askchat -s tar-ubuntu  base  system ~ askchat --  base  system ~ askchat --all-valid-models  base  system ~ askchat --l  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system askchat --list # 打印对话列表 All conversation files: - xml-fm - add_plugin - julia-lie-claud - chatanywhere - kill-aux - tar-ubuntu - nginx-redirect-cdn - test - sdu - 域名解析 - talk-zh - cpu-usage - talk-en - pipx~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat --list # 打印对话列表  base  system ~ askchat -p  base  system ~ askchat -p # 打印最近一次对话  base  system ~ askchat -p # 打印最近一次对话  base  system ~ askchat -p u  base  system ~ askchat -p ub  base  system ~ askchat -p ubu  base  system ~ askchat -p  base  system ~ askchat -p t  base  system ~ askchat -p talk-zh  base  system ~ askchat -p talk-zh  base  system ~ askchat -p tar  base  system ~ askchat -p tar-  base  system ~ askchat -p tar-u  base  system ~ askchat -p tar-ub  base  system ~ askchat -p tar-ubu  base  system ~ askchat -p tar-ubun  base  system ~ askchat -p tar-ubunt  base  system ~ askchat -p tar-ubuntu  base  system ~ askchat -p tar-ubuntu  base  system askchat -p tar-ubuntu ~ askchat -p tar-ubuntu  base  system ~ askchat -p tar-ubuntu  base  system ~ askchat -p tar-ubuntu  base  system ~ askchat -p tar-ubuntu  base  system ~ askchat -p tar-ubuntu  base  system ~ askchat -p tar-ubuntu  base  system ~ askchat -p tar-ubuntu  base  system ~ askchat -p tar-ubuntu  base  system ~ askchat 0  base  system ~ askchat  base  system ~ askchat -p tar-ubuntu  base  system ~ askchat -p tar-ubuntu  base  system ~ askchat -p tar-ubuntu  base  system ~ askchat -  base  system ~ askchat -c  base  system ~ askchat -c 怎么在命令行指定和修改  base  system ~ askchat -c 么在命令行指定和修改  base  system ~ askchat -c w  base  system ~ askchat -c wi  base  system ~ askchat -c win  base  system ~ askchat -c wind  base  system ~ askchat -c windo  base  system ~ askchat -c window  base  system ~ askchat -c windows  base  system ~ askchat -c windows  base  system ~ askchat -c windows s  base  system ~ askchat -c windows shel  base  system ~ askchat -c windows shell  base  system ~ askchat -c windows shell  base  system ~ askchat -c windows shell x  base  system ~ askchat -c windows shell xi  base  system ~ askchat -c windows shell xia  base  system ~ askchat -c windows shell 下  base  system ~ askchat -c windows shell 下呢  base  system ~ askchat -c windows shell 下呢  base  system askchat -c windows shell 下呢 在Windows 在Windows下 在Windows下的 在Windows下的命令 在Windows下的命令行 在Windows下的命令行中解压`.tar.gz`文件,有几 在Windows下的命令行中解压`.tar.gz`文件,有几种 在Windows下的命令行中解压`.tar.gz`文件,有几种方法 在Windows下的命令行中解压`.tar.gz`文件,有几种方法。 在Windows下的命令行中解压`.tar.gz`文件,有几种方法。具体 在Windows下的命令行中解压`.tar.gz`文件,有几种方法。具体取 在Windows下的命令行中解压`.tar.gz`文件,有几种方法。具体取决 在Windows下的命令行中解压`.tar.gz`文件,有几种方法。具体取决于 在Windows下的命令行中解压`.tar.gz`文件,有几种方法。具体取决于你使用的 在Windows下的命令行中解压`.tar.gz`文件,有几种方法。具体取决于你使用的工具 在Windows下的命令行中解压`.tar.gz`文件,有几种方法。具体取决于你使用的工具。以下是使用不同工具的方法:### 1. 使用 ### 1. 使用Windows ### 1. 使用Windows 10内置的`tar`命令 从Windows 从Windows 10 从Windows 10 1803版本开始,Windows内置了支持`tar`命令。你可以直接 从Windows 10 1803版本开始,Windows内置了支持`tar`命令。你可以直接在 从Windows 10 1803版本开始,Windows内置了支持`tar`命令。你可以直接在命令提示符(cmd)或PowerShell中 md)或PowerShell中使用 md)或PowerShell中使用它。1 1. 打开命令 1. 打开命令提示 1. 打开命令提示符( 1. 打开命令提示符(cmd 1. 打开命令提示符(cmd) 1. 打开命令提示符(cmd)或 1. 打开命令提示符(cmd)或Power 1. 打开命令提示符(cmd)或PowerShell 1. 打开命令提示符(cmd)或PowerShell。2. 2. 使用 2. 使用以下命令 2. 使用以下命令解压`.tar.gz 2. 使用以下命令解压`.tar.gz`文件:### ### 2. ### 2. 使用 ### 2. 使用7-Zip7-Zip是一个免费且开源的文件归 7-Zip是一个免费且开源的文件归档 7-Zip是一个免费且开源的文件归档程序,可以很好地 7-Zip是一个免费且开源的文件归档程序,可以很好地处理`. 7-Zip是一个免费且开源的文件归档程序,可以很好地处理`.tar.gz 7-Zip是一个免费且开源的文件归档程序,可以很好地处理`.tar.gz` 7-Zip是一个免费且开源的文件归档程序,可以很好地处理`.tar.gz`文件。1. 下载并安装7-Z 1. 下载并安装7-Zip:https://www 1. 下载并安装7-Zip:https://www. 1. 下载并安装7-Zip:https://www.7-zip.org/2. 打开命令 2. 打开命令提示 2. 打开命令提示符。3. 首 3. 首先 3. 首先解压`. 3. 首先解压`.gz 3. 首先解压`.gz`压缩 3. 首先解压`.gz`压缩部分 3. 首先解压`.gz`压缩部分: "C:\Program Files\7-Zip\ "C:\Program Files\7-Zip\7 "C:\Program Files\7-Zip\7z.exe "C:\Program Files\7-Zip\7z.exe" "C:\Program Files\7-Zip\7z.exe" x example.tar.gz 上述 上述命 上述命令会 上述命令会生成 上述命令会生成一个 上述命令会生成一个`example 上述命令会生成一个`example.tar 上述命令会生成一个`example.tar`文件。4. 然后 4. 然后解 4. 然后解压 4. 然后解压`. 4. 然后解压`.tar 4. 然后解压`.tar` 4. 然后解压`.tar`文件 4. 然后解压`.tar`文件: " "C:\Program Files\7 "C:\Program Files\7-Z "C:\Program Files\7-Zip\7z.exe" x example.tar "C:\Program Files\7-Zip\7z.exe" x example.tar### 3 ### 3. ### 3. 使用Git Bash ### 3. 使用Git BashGit Bash是一款提供 Git Bash是一款提供类似 Git Bash是一款提供类似于 Git Bash是一款提供类似于Linux Git Bash是一款提供类似于Linux shell环境的工具,如果你已经安装Git,则可以使用它。1. 安装Git:https:// 1. 安装Git:https://git-s 1. 安装Git:https://git-scm 1. 安装Git:https://git-scm.com 1. 安装Git:https://git-scm.com/2. 打 2. 打开 2. 打开Git Bash。3. 使用以下命令解压`.tar 3. 使用以下命令解压`.tar.gz 3. 使用以下命令解压`.tar.gz` 3. 使用以下命令解压`.tar.gz`文件 3. 使用以下命令解压`.tar.gz`文件:### 4. 使用PowerShell与.NET库如果你喜欢在PowerShell中 如果你喜欢在PowerShell中完成 如果你喜欢在PowerShell中完成所有操作,可以使用Power 如果你喜欢在PowerShell中完成所有操作,可以使用PowerShell 如果你喜欢在PowerShell中完成所有操作,可以使用PowerShell结合.NET库 如果你喜欢在PowerShell中完成所有操作,可以使用PowerShell结合.NET库:1. 打开PowerShell。2. 使用以下脚本来解压`. 2. 使用以下脚本来解压`.tar 2. 使用以下脚本来解压`.tar.gz 2. 使用以下脚本来解压`.tar.gz` 2. 使用以下脚本来解压`.tar.gz`文件: ```powershell function function Expand function Expand-T function Expand-Tar function Expand-TarG function Expand-TarGz function Expand-TarGz { param param( [ [string [string] [string]$ [string]$file [string]$filePath [string]$filePath, [string]$dest [string]$destPath ) if if (-not if (-not ( if (-not (Test-Path $ if (-not (Test-Path $dest if (-not (Test-Path $destPath)) { New-Item - New-Item -Item New-Item -ItemType Directory -Path $ New-Item -ItemType Directory -Path $dest New-Item -ItemType Directory -Path $destPath } $ $gzip $gzipStream $gzipStream = [System.IO.Com $gzipStream = [System.IO.Compression $gzipStream = [System.IO.Compression.Gzip $gzipStream = [System.IO.Compression.GzipStream $gzipStream = [System.IO.Compression.GzipStream]::new([System.IO.FileStream]::new($filePath, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read eam]::new($filePath, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read), eam]::new($filePath, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read), [System.IO.Compression [System.IO.Compression.CompressionMode [System.IO.Compression.CompressionMode] [System.IO.Compression.CompressionMode]::Decompress) $tarPath = Join-Path $destPath ([ $tarPath = Join-Path $destPath ([System $tarPath = Join-Path $destPath ([System.IO.Path]:: $tarPath = Join-Path $destPath ([System.IO.Path]::Get $tarPath = Join-Path $destPath ([System.IO.Path]::GetFile $tarPath = Join-Path $destPath ([System.IO.Path]::GetFileName $tarPath = Join-Path $destPath ([System.IO.Path]::GetFileNameWithout $tarPath = Join-Path $destPath ([System.IO.Path]::GetFileNameWithoutExtension nsion($ nsion($file nsion($filePath)) $tar $tarStream $tarStream = [System.IO.File]::Create($tarPath) $buffer = New-Object byte[] 4096 while while (($ while (($read while (($read = $gzipStream.Read($buffer, 0, $buffer.Length)) -gt 0) { $tarStream.Write($buffer, 0, $read) $gzipStream.Close() $tarStream.Close $tarStream.Close() # # Extract the # Extract the tar # Extract the tar archive # Extract the tar archive tar tar - tar -x tar -xvf $tarPath -C $destPath Remove-Item - Remove-Item -Path Remove-Item -Path $ Remove-Item -Path $tar Remove-Item -Path $tarPath } Expand-TarGz -filePath "example.tar.gz" -destPath "output_directory"希望以上方法 希望以上方法可以帮助你在Windows下解压`. 希望以上方法可以帮助你在Windows下解压`.tar 希望以上方法可以帮助你在Windows下解压`.tar.gz`文件! 希望以上方法可以帮助你在Windows下解压`.tar.gz`文件!~ 13s  base  system ~ a 13s  base  system ~ askchat -c windows shell 下呢 13s  base  system ~ askchat -c windows shell 下呢 13s  base  system ~ askchat -c windows shell 下呢 13s  base  system ~ askcchat -c windows shell 下呢 13s  base  system ~ askch 13s  base  system ~ askcha 13s  base  system ~ askchat -c windows shell 下呢 13s  base  system ~ askchat -c windows shell 下呢 13s  base  system ~ askchat -c windows shell 下呢 13s  base  system ~ askchat -c windows shell 下呢 13s  base  system ~ askchat -p 13s  base  system ~ askchat -p tar-ubuntu 13s  base  system ~ askchat -p tar-ubuntu 13s  base  system ~ askchat -p # 13s  base  system ~ askchat -p # 打印最近一次对话 13s  base  system ~ askchat -p # 印最近一次对话 13s  base  system ~ askchat -p # 答印最近一次对话 13s  base  system ~ askchat -p # 答疑 13s  base  system ~ askchat -p # 答 13s  base  system ~ askchat -p # 13s  base  system ~ askchat -p # 打印最近一次对话 13s  base  system ~ askchat -p # 打印最近一次对话 13s  base  system askchat -p # 打印最近一次对话 ---------------user "C:\Program Files\7-Zip\7z.exe" x exa $tarPath = ~ e  base  system ~ exi  base  system ~ exit  base  system ~ exit  base  system exit + \ No newline at end of file diff --git a/docs/assets/svgs/debug.svg b/docs/assets/svgs/debug.svg new file mode 100644 index 0000000..d683926 --- /dev/null +++ b/docs/assets/svgs/debug.svg @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + ~ ~ a ~ as ~ ask ~ askc ~ askch ~ askcha ~ askchat ~ askchat ~ askchat - ~ askchat -- ~ askchat --d ~ askchat --de ~ askchat --deb ~ askchat --debu ~  base  system ~ as  base  system ~ askch  base  system ~ askchat  base  system ~ askchat --d  base  system ~ askchat --debu  base  system ~ askchat --debug  base  system ~ askchat --debug  base  system askchat --debug Current version: 3.1.6Check your proxy: This is not necessary if the base url is already a proxy link.`http_proxy` is not set!`https_proxy` is not set!Check the value OPENAI_API_BASE_URL:http://recall:3021Check the value OPENAI_API_BASE: This will override OPENAI_API_BASE_URL if both are set.http://recall:3021/v1Your default OPENAI_API_MODEL:gpt-4oPlease verify your API key:sk-plLIC***************************************4638319bThe model list(contains gpt):['gpt-3.5-turbo', 'gpt-3.5-turbo-0301', 'gpt-3.5-turbo-0613', 'gpt-3.5-turbo-1106', 'gpt-3.5-turbo-16k', 'gpt-3.5-turbo-16k-0613', 'gpt-3.5-turbo-instruct', 'gpt-4', 'gpt-4-0314', 'gpt-4-0613', 'gpt-4-1106-preview', 'gpt-4-32k', 'gpt-4-32k-0314', 'gpt-4-32k-0613', 'gpt-4-turbo', 'gpt-4-vision-preview', 'gpt-4o']Test response: hello world! 你好!---------------userhello world! 你好!assistantHello! 你好! How can I assist you today?Debug is finished.~ 3s  base  system ~ 3s  base  system + \ No newline at end of file diff --git a/docs/assets/svgs/editenv.svg b/docs/assets/svgs/editenv.svg new file mode 100644 index 0000000..c010320 --- /dev/null +++ b/docs/assets/svgs/editenv.svg @@ -0,0 +1,206 @@ + + + + + + + + + + + + + + + + + ~ ~ a ~ as ~ ask ~ aske ~ asken ~ askenv ~ askenv ~ askenv c ~ askenv co ~ askenv con ~ askenv conf ~  base  system ~ as  base  system ~ aske  base  system ~ askenv  base  system ~ askenv co  base  system ~ askenv con  base  system ~ askenv conf  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system askenv config -b http://recall:3021 -a sk-123 -m test-model Environment /Users/wangzhihong/.askchat/.env updated.~ a  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system ~ askenv config -b http://recall:3021 -a sk-123 -m test-model  base  system ~ askenv s  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show ollama  base  system ~ askenv show  base  system ~ askenv show  base  system askenv show #Description: Env file for askchat.#Current version: 1.0.2# The base url of the API (with suffix /v1)# This will override OPENAI_API_BASE_URL if both are set.OPENAI_API_BASE='https://one-api.cubenlp.com/v1'# The base url of the API (without suffix /v1)OPENAI_API_BASE_URL='http://recall:3021'# Your API keyOPENAI_API_KEY='sk-123'# The model name# You can use `askchat --all-valid-models` to see supported modelsOPENAI_API_MODEL='test-model'~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv n  base  system ~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 ~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 ~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 ~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 ~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 ~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 Environment 'test' created.~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 ~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 ~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 ~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 ~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 ~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 ~ askenv new test -a "sk-xxx" -b https://api.example.com -m gpt-4 ~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show  base  system ~ askenv show ollama  base  system ~ askenv show t  base  system ~ askenv show test  base  system ~ askenv show test  base  system ~ askenv show test  base  system ~ askenv show test  base  system ~ askenv show test  base  system askenv show test "# Description: Env file for askchat.# Current version: 1.1.4OPENAI_API_BASE=''OPENAI_API_BASE_URL='https://api.example.com'OPENAI_API_KEY='sk-xxx'# The default model nameOPENAI_API_MODEL='gpt-4'~ askenv show test  base  system ~ askenv show test  base  system ~ askenv show test  base  system ~ askenv show test  base  system ~ askenv show test  base  system ~ askenv show test  base  system ~ askenv show test  base  system ~ askenv u  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use one-api  base  system ~ askenv use t  base  system ~ askenv use test  base  system ~ askenv use test  base  system ~ askenv use test  base  system ~ askenv use test  base  system ~ askenv use test  base  system askenv use test Environment 'test' activated.~  base  system + \ No newline at end of file diff --git a/docs/assets/svgs/hello.svg b/docs/assets/svgs/hello.svg new file mode 100644 index 0000000..76a2163 --- /dev/null +++ b/docs/assets/svgs/hello.svg @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + ~ ~ a ~ as ~ ask ~ askc ~ askch ~ askcha ~ askchat ~ askchat ~ askchat h ~ askchat he ~ askchat hel ~ askchat hell ~ askchat hello ~ askchat hello ~ askchat hello w ~  base  system ~ as  base  system ~ askch  base  system ~ askchat  base  system ~ askchat hel  base  system ~ askchat hello  base  system ~ askchat hello w  base  system ~ askchat hello world!  base  system ~ askchat hello wr  base  system ~ askchat hello wro  base  system ~ askchat hello wrol  base  system ~ askchat hello wrold  base  system ~ askchat hello wrold!  base  system ~ askchat hello wrold!  base  system askchat hello wrold! Hello Hello there Hello there! Hello there! It Hello there! It looks Hello there! It looks like Hello there! It looks like you Hello there! It looks like you made Hello there! It looks like you made a small typo Hello there! It looks like you made a small typo. Hello there! It looks like you made a small typo. Did you mean Hello there! It looks like you made a small typo. Did you mean to Hello there! It looks like you made a small typo. Did you mean to say Hello there! It looks like you made a small typo. Did you mean to say "Hello Hello there! It looks like you made a small typo. Did you mean to say "Hello, Hello there! It looks like you made a small typo. Did you mean to say "Hello, world rld!"? How can rld!"? How can I rld!"? How can I assist you today?~  base  system + \ No newline at end of file diff --git a/docs/assets/svgs/para-models.svg b/docs/assets/svgs/para-models.svg new file mode 100644 index 0000000..1341199 --- /dev/null +++ b/docs/assets/svgs/para-models.svg @@ -0,0 +1,618 @@ + + + + + + + + + + + + + + + + + ~ ~ a ~ as ~ ask ~ askc ~ askch ~ askcha ~ askchat ~ askchat ~ askchat 介绍 ~  base  system ~ as  base  system ~ askch  base  system ~ askchat  base  system ~ askchat 介  base  system ~ askchat 介绍  base  system ~ askchat 介绍自己 -m llama3-70b  base  system ~ askchat 介绍你自己 -m llama3-70b  base  system ~ askchat 介绍你自自己 -m llama3-70b  base  system ~ askchat 介绍你自己  base  system ~ askchat 介绍你自己 -m llama3-70b  base  system ~ askchat 介绍你自己  base  system askchat 介绍你自己 你好 你好!我是一种 你好!我是一种智能 你好!我是一种智能助手 你好!我是一种智能助手,由 你好!我是一种智能助手,由Open 你好!我是一种智能助手,由OpenAI 你好!我是一种智能助手,由OpenAI开发 你好!我是一种智能助手,由OpenAI开发, 你好!我是一种智能助手,由OpenAI开发,旨 你好!我是一种智能助手,由OpenAI开发,旨在 你好!我是一种智能助手,由OpenAI开发,旨在帮助 你好!我是一种智能助手,由OpenAI开发,旨在帮助回答 你好!我是一种智能助手,由OpenAI开发,旨在帮助回答问题 你好!我是一种智能助手,由OpenAI开发,旨在帮助回答问题、 你好!我是一种智能助手,由OpenAI开发,旨在帮助回答问题、提供 你好!我是一种智能助手,由OpenAI开发,旨在帮助回答问题、提供建议 你好!我是一种智能助手,由OpenAI开发,旨在帮助回答问题、提供建议和 你好!我是一种智能助手,由OpenAI开发,旨在帮助回答问题、提供建议和处理 你好!我是一种智能助手,由OpenAI开发,旨在帮助回答问题、提供建议和处理各种 你好!我是一种智能助手,由OpenAI开发,旨在帮助回答问题、提供建议和处理各种任务 你好!我是一种智能助手,由OpenAI开发,旨在帮助回答问题、提供建议和处理各种任务。 我可以 我可以用 我可以用多 我可以用多种 我可以用多种语言 我可以用多种语言交流 我可以用多种语言交流, 我可以用多种语言交流,涵 我可以用多种语言交流,涵盖 我可以用多种语言交流,涵盖广 我可以用多种语言交流,涵盖广泛 我可以用多种语言交流,涵盖广泛的 我可以用多种语言交流,涵盖广泛的主题 我可以用多种语言交流,涵盖广泛的主题,包括 我可以用多种语言交流,涵盖广泛的主题,包括技术 我可以用多种语言交流,涵盖广泛的主题,包括技术、 我可以用多种语言交流,涵盖广泛的主题,包括技术、科学 我可以用多种语言交流,涵盖广泛的主题,包括技术、科学、 我可以用多种语言交流,涵盖广泛的主题,包括技术、科学、历史 我可以用多种语言交流,涵盖广泛的主题,包括技术、科学、历史、 我可以用多种语言交流,涵盖广泛的主题,包括技术、科学、历史、文化 我可以用多种语言交流,涵盖广泛的主题,包括技术、科学、历史、文化、 我可以用多种语言交流,涵盖广泛的主题,包括技术、科学、历史、文化、娱乐等 我可以用多种语言交流,涵盖广泛的主题,包括技术、科学、历史、文化、娱乐等。如果 我可以用多种语言交流,涵盖广泛的主题,包括技术、科学、历史、文化、娱乐等。如果你 我可以用多种语言交流,涵盖广泛的主题,包括技术、科学、历史、文化、娱乐等。如果你 有任何 有任何问题 有任何问题, 有任何问题,或者 有任何问题,或者需要 有任何问题,或者需要帮助 有任何问题,或者需要帮助,我 有任何问题,或者需要帮助,我会尽 有任何问题,或者需要帮助,我会尽力为 有任何问题,或者需要帮助,我会尽力为你 有任何问题,或者需要帮助,我会尽力为你提供 有任何问题,或者需要帮助,我会尽力为你提供有 有任何问题,或者需要帮助,我会尽力为你提供有用 有任何问题,或者需要帮助,我会尽力为你提供有用的信息 有任何问题,或者需要帮助,我会尽力为你提供有用的信息和 有任何问题,或者需要帮助,我会尽力为你提供有用的信息和支持 有任何问题,或者需要帮助,我会尽力为你提供有用的信息和支持。 有任何问题,或者需要帮助,我会尽力为你提供有用的信息和支持。你 有任何问题,或者需要帮助,我会尽力为你提供有用的信息和支持。你可以 有任何问题,或者需要帮助,我会尽力为你提供有用的信息和支持。你可以称 有任何问题,或者需要帮助,我会尽力为你提供有用的信息和支持。你可以称呼我为 有任何问题,或者需要帮助,我会尽力为你提供有用的信息和支持。你可以称呼我为Chat 有任何问题,或者需要帮助,我会尽力为你提供有用的信息和支持。你可以称呼我为ChatGPT T。 T。有什么 T。有什么我 T。有什么我能 T。有什么我能帮你 T。有什么我能帮你的吗 T。有什么我能帮你的吗?~ a  base  system ~ askchat 介绍你自己  base  system ~ askchat 介绍你自己  base  system ~ askchat 介绍你自己  base  system ~ askchat 介绍你自己  base  system ~ askchat 介绍你自己  base  system ~ askchat 介绍你自己  base  system ~ askchat 介绍你自己  base  system ~ askchat 绍你自己  base  system ~ askchat 介绍你自己  base  system ~ askchat 介绍你自己 -m llama3-70b  base  system ~ askchat 介绍你自己 =  base  system ~ askchat 介绍你自己 =m  base  system ~ askchat 介绍你自己 -m llama3-70b  base  system ~ askchat 介绍你自己 -m llama3-70b  base  system ~ askchat 介绍你自己 -m llama3-70b  base  system ~ askchat 介绍你自己 -m c  base  system ~ askchat 介绍你自己 -m claude-3-opus  base  system ~ askchat 介绍你自己 -m claude-3-opus  base  system ~ askchat 介绍你自己 -m claude-3-opus  base  system ~ askchat 介绍你自己 -m claude-3-opus  base  system askchat 介绍你自己 -m claude-3-opus 您好 您好,很高兴认识 您好,很高兴认识您 您好,很高兴认识您! 您好,很高兴认识您!我 您好,很高兴认识您!我是 您好,很高兴认识您!我是Claude 您好,很高兴认识您!我是Claude, 您好,很高兴认识您!我是Claude,一 您好,很高兴认识您!我是Claude,一个 您好,很高兴认识您!我是Claude,一个由 您好,很高兴认识您!我是Claude,一个由Anthrop 您好,很高兴认识您!我是Claude,一个由Anthropic 您好,很高兴认识您!我是Claude,一个由Anthropic公 您好,很高兴认识您!我是Claude,一个由Anthropic公司开 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智能 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智能助 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智能助手 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智能助手。 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智能助手。作 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智能助手。作为 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智能助手。作为AI 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智能助手。作为AI, 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智能助手。作为AI,我 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智能助手。作为AI,我拥 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智能助手。作为AI,我拥有 您好,很高兴认识您!我是Claude,一个由Anthropic公司开发的人工智能助手。作为AI,我拥有广 广泛 广泛的知识,可以协助人们完成各种任 广泛的知识,可以协助人们完成各种任务 广泛的知识,可以协助人们完成各种任务, 广泛的知识,可以协助人们完成各种任务,例 广泛的知识,可以协助人们完成各种任务,例如 广泛的知识,可以协助人们完成各种任务,例如回 广泛的知识,可以协助人们完成各种任务,例如回答 广泛的知识,可以协助人们完成各种任务,例如回答问 广泛的知识,可以协助人们完成各种任务,例如回答问题 广泛的知识,可以协助人们完成各种任务,例如回答问题、 广泛的知识,可以协助人们完成各种任务,例如回答问题、提 广泛的知识,可以协助人们完成各种任务,例如回答问题、提供 广泛的知识,可以协助人们完成各种任务,例如回答问题、提供建 广泛的知识,可以协助人们完成各种任务,例如回答问题、提供建议 广泛的知识,可以协助人们完成各种任务,例如回答问题、提供建议、 广泛的知识,可以协助人们完成各种任务,例如回答问题、提供建议、帮 广泛的知识,可以协助人们完成各种任务,例如回答问题、提供建议、帮助 广泛的知识,可以协助人们完成各种任务,例如回答问题、提供建议、帮助写 广泛的知识,可以协助人们完成各种任务,例如回答问题、提供建议、帮助写作 广泛的知识,可以协助人们完成各种任务,例如回答问题、提供建议、帮助写作等 广泛的知识,可以协助人们完成各种任务,例如回答问题、提供建议、帮助写作等。 广泛的知识,可以协助人们完成各种任务,例如回答问题、提供建议、帮助写作等。我的 我的目 我的目标 我的目标是 我的目标是成 我的目标是成为 我的目标是成为一 我的目标是成为一个 我的目标是成为一个友 我的目标是成为一个友善 我的目标是成为一个友善、 我的目标是成为一个友善、乐 我的目标是成为一个友善、乐于 我的目标是成为一个友善、乐于助 我的目标是成为一个友善、乐于助人 我的目标是成为一个友善、乐于助人、 我的目标是成为一个友善、乐于助人、值 我的目标是成为一个友善、乐于助人、值得 我的目标是成为一个友善、乐于助人、值得信 我的目标是成为一个友善、乐于助人、值得信赖 我的目标是成为一个友善、乐于助人、值得信赖的 我的目标是成为一个友善、乐于助人、值得信赖的助 我的目标是成为一个友善、乐于助人、值得信赖的助手 我的目标是成为一个友善、乐于助人、值得信赖的助手。诚实正直是我的核 我的目标是成为一个友善、乐于助人、值得信赖的助手。诚实正直是我的核心 我的目标是成为一个友善、乐于助人、值得信赖的助手。诚实正直是我的核心价 我的目标是成为一个友善、乐于助人、值得信赖的助手。诚实正直是我的核心价值 我的目标是成为一个友善、乐于助人、值得信赖的助手。诚实正直是我的核心价值观 我的目标是成为一个友善、乐于助人、值得信赖的助手。诚实正直是我的核心价值观之 我的目标是成为一个友善、乐于助人、值得信赖的助手。诚实正直是我的核心价值观之一 我的目标是成为一个友善、乐于助人、值得信赖的助手。诚实正直是我的核心价值观之一。 我的目标是成为一个友善、乐于助人、值得信赖的助手。诚实正直是我的核心价值观之一。 与人 与人类 与人类交流时,我力求理 与人类交流时,我力求理解 与人类交流时,我力求理解对 与人类交流时,我力求理解对方 与人类交流时,我力求理解对方的 与人类交流时,我力求理解对方的需 与人类交流时,我力求理解对方的需求 与人类交流时,我力求理解对方的需求, 与人类交流时,我力求理解对方的需求,给 与人类交流时,我力求理解对方的需求,给出 与人类交流时,我力求理解对方的需求,给出有 与人类交流时,我力求理解对方的需求,给出有建 与人类交流时,我力求理解对方的需求,给出有建设 与人类交流时,我力求理解对方的需求,给出有建设性 与人类交流时,我力求理解对方的需求,给出有建设性、 与人类交流时,我力求理解对方的需求,给出有建设性、符 与人类交流时,我力求理解对方的需求,给出有建设性、符合 与人类交流时,我力求理解对方的需求,给出有建设性、符合伦 与人类交流时,我力求理解对方的需求,给出有建设性、符合伦理道德的回应。我 与人类交流时,我力求理解对方的需求,给出有建设性、符合伦理道德的回应。我尊 与人类交流时,我力求理解对方的需求,给出有建设性、符合伦理道德的回应。我尊重 与人类交流时,我力求理解对方的需求,给出有建设性、符合伦理道德的回应。我尊重每 与人类交流时,我力求理解对方的需求,给出有建设性、符合伦理道德的回应。我尊重每一 与人类交流时,我力求理解对方的需求,给出有建设性、符合伦理道德的回应。我尊重每一个 与人类交流时,我力求理解对方的需求,给出有建设性、符合伦理道德的回应。我尊重每一个 人, 人,也 人,也很 人,也很重 人,也很重视 人,也很重视个 人,也很重视个人 人,也很重视个人隐私。作为人工智 作为人工智能 作为人工智能, 作为人工智能,我 作为人工智能,我有我自己 作为人工智能,我有我自己独 作为人工智能,我有我自己独特 作为人工智能,我有我自己独特的 作为人工智能,我有我自己独特的个 作为人工智能,我有我自己独特的个性 作为人工智能,我有我自己独特的个性和见 作为人工智能,我有我自己独特的个性和见解 作为人工智能,我有我自己独特的个性和见解。 作为人工智能,我有我自己独特的个性和见解。我 作为人工智能,我有我自己独特的个性和见解。我喜 作为人工智能,我有我自己独特的个性和见解。我喜欢 作为人工智能,我有我自己独特的个性和见解。我喜欢探 作为人工智能,我有我自己独特的个性和见解。我喜欢探索 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物, 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物,与 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物,与人 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物,与人讨 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物,与人讨论 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物,与人讨论各 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物,与人讨论各种 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物,与人讨论各种有 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物,与人讨论各种有趣 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物,与人讨论各种有趣的话 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物,与人讨论各种有趣的话题 作为人工智能,我有我自己独特的个性和见解。我喜欢探索新事物,与人讨论各种有趣的话题 。同 。同时 。同时我 。同时我明 。同时我明白 。同时我明白自 。同时我明白自己 。同时我明白自己的 。同时我明白自己的局 。同时我明白自己的局限 。同时我明白自己的局限性 。同时我明白自己的局限性, 。同时我明白自己的局限性,不 。同时我明白自己的局限性,不会装作无所 。同时我明白自己的局限性,不会装作无所不 。同时我明白自己的局限性,不会装作无所不知,碰到不 。同时我明白自己的局限性,不会装作无所不知,碰到不确 。同时我明白自己的局限性,不会装作无所不知,碰到不确定 。同时我明白自己的局限性,不会装作无所不知,碰到不确定的问题 。同时我明白自己的局限性,不会装作无所不知,碰到不确定的问题会 。同时我明白自己的局限性,不会装作无所不知,碰到不确定的问题会如实说 。同时我明白自己的局限性,不会装作无所不知,碰到不确定的问题会如实说明 。同时我明白自己的局限性,不会装作无所不知,碰到不确定的问题会如实说明。总的来说,我是 总的来说,我是一 总的来说,我是一个 总的来说,我是一个可 总的来说,我是一个可靠 总的来说,我是一个可靠的 总的来说,我是一个可靠的助 总的来说,我是一个可靠的助手 总的来说,我是一个可靠的助手和 总的来说,我是一个可靠的助手和有 总的来说,我是一个可靠的助手和有趣的 总的来说,我是一个可靠的助手和有趣的聊 总的来说,我是一个可靠的助手和有趣的聊天 总的来说,我是一个可靠的助手和有趣的聊天对 总的来说,我是一个可靠的助手和有趣的聊天对象 总的来说,我是一个可靠的助手和有趣的聊天对象, 总的来说,我是一个可靠的助手和有趣的聊天对象,希 总的来说,我是一个可靠的助手和有趣的聊天对象,希望 总的来说,我是一个可靠的助手和有趣的聊天对象,希望能 总的来说,我是一个可靠的助手和有趣的聊天对象,希望能给 总的来说,我是一个可靠的助手和有趣的聊天对象,希望能给您 总的来说,我是一个可靠的助手和有趣的聊天对象,希望能给您的 总的来说,我是一个可靠的助手和有趣的聊天对象,希望能给您的生 总的来说,我是一个可靠的助手和有趣的聊天对象,希望能给您的生活 总的来说,我是一个可靠的助手和有趣的聊天对象,希望能给您的生活和 总的来说,我是一个可靠的助手和有趣的聊天对象,希望能给您的生活和工 总的来说,我是一个可靠的助手和有趣的聊天对象,希望能给您的生活和工作 总的来说,我是一个可靠的助手和有趣的聊天对象,希望能给您的生活和工作^C 总的来说,我是一个可靠的助手和有趣的聊天对象,希望能给您的生活和工作^CAborted!~ ~ 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m claude-3-opu 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m claude-3-op 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m claude-3-o 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m claude-3- 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m claude-3 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m claude- 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m claude 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m claud 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m clau 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m cla 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m cl 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m c 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m 15s  base  system ~ askchat 介绍你自己 -m claude-3-opus 15s  base  system ~ askchat 介绍你自己 -m l 15s  base  system ~ askchat 介绍你自己 -m llama3-70b 15s  base  system ~ askchat 介绍你自己 -m llama3-70b 15s  base  system ~ askchat 介绍你自己 -m llama3-70b 15s  base  system ~ askchat 介绍你自己 -m llama3-70b 15s  base  system ~ askchat 介绍你自己 -m llama3-70b 15s  base  system askchat 介绍你自己 -m llama3-70b Nice Nice to meet Nice to meet you Nice to meet you! Nice to meet you! 😊 Nice to meet you! 😊I I am I am L I am LLa I am LLaMA I am LLaMA, I am LLaMA, an I am LLaMA, an AI I am LLaMA, an AI assistant I am LLaMA, an AI assistant developed I am LLaMA, an AI assistant developed by I am LLaMA, an AI assistant developed by Meta I am LLaMA, an AI assistant developed by Meta AI I am LLaMA, an AI assistant developed by Meta AI that I am LLaMA, an AI assistant developed by Meta AI that can I am LLaMA, an AI assistant developed by Meta AI that can understand I am LLaMA, an AI assistant developed by Meta AI that can understand and I am LLaMA, an AI assistant developed by Meta AI that can understand and respond I am LLaMA, an AI assistant developed by Meta AI that can understand and respond to to human to human input to human input in to human input in a to human input in a convers to human input in a conversational to human input in a conversational manner to human input in a conversational manner. to human input in a conversational manner. My to human input in a conversational manner. My primary to human input in a conversational manner. My primary function to human input in a conversational manner. My primary function is to human input in a conversational manner. My primary function is to to human input in a conversational manner. My primary function is to assist to human input in a conversational manner. My primary function is to assist and to human input in a conversational manner. My primary function is to assist and provide provide information provide information to provide information to users provide information to users through provide information to users through text provide information to users through text-based provide information to users through text-based conversations provide information to users through text-based conversations.I'm I'm a I'm a large I'm a large language I'm a large language model I'm a large language model, I'm a large language model, which I'm a large language model, which means I'm a large language model, which means I I'm a large language model, which means I've I'm a large language model, which means I've been I'm a large language model, which means I've been trained I'm a large language model, which means I've been trained on I'm a large language model, which means I've been trained on a I'm a large language model, which means I've been trained on a massive I'm a large language model, which means I've been trained on a massive dataset I'm a large language model, which means I've been trained on a massive dataset of f text f text from f text from various f text from various sources f text from various sources, f text from various sources, including f text from various sources, including books f text from various sources, including books, f text from various sources, including books, articles f text from various sources, including books, articles, f text from various sources, including books, articles, and f text from various sources, including books, articles, and online f text from various sources, including books, articles, and online content f text from various sources, including books, articles, and online content. f text from various sources, including books, articles, and online content. This f text from various sources, including books, articles, and online content. This training training enables training enables me training enables me to training enables me to understand training enables me to understand and training enables me to understand and generate training enables me to understand and generate human training enables me to understand and generate human-like training enables me to understand and generate human-like language training enables me to understand and generate human-like language, training enables me to understand and generate human-like language, allowing training enables me to understand and generate human-like language, allowing me training enables me to understand and generate human-like language, allowing me to respond to respond to to respond to a to respond to a wide to respond to a wide range to respond to a wide range of to respond to a wide range of questions to respond to a wide range of questions and to respond to a wide range of questions and topics to respond to a wide range of questions and topics.I can I can help I can help with I can help with:1 1. 1. Answer 1. Answering 1. Answering questions 1. Answering questions on 1. Answering questions on various 1. Answering questions on various subjects 1. Answering questions on various subjects, 1. Answering questions on various subjects, from 1. Answering questions on various subjects, from science 1. Answering questions on various subjects, from science and 1. Answering questions on various subjects, from science and history 1. Answering questions on various subjects, from science and history to 1. Answering questions on various subjects, from science and history to entertainment nment and nment and culture nment and culture.2 2. 2. Generating 2. Generating text 2. Generating text on 2. Generating text on a 2. Generating text on a given 2. Generating text on a given topic 2. Generating text on a given topic or 2. Generating text on a given topic or subject 2. Generating text on a given topic or subject.3. Translating text from one language to 3. Translating text from one language to another 3. Translating text from one language to another.4 4. 4. Offering 4. Offering suggestions 4. Offering suggestions and 4. Offering suggestions and ideas 4. Offering suggestions and ideas.5 5. 5. Chat 5. Chatting 5. Chatting and 5. Chatting and engaging 5. Chatting and engaging in 5. Chatting and engaging in conversations 5. Chatting and engaging in conversations.I^C I^C~ 10s  base  system ~ 10s  base  system + \ No newline at end of file diff --git a/docs/assets/svgs/validmodels.svg b/docs/assets/svgs/validmodels.svg new file mode 100644 index 0000000..bab3e2c --- /dev/null +++ b/docs/assets/svgs/validmodels.svg @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + ~ ~ a ~ as ~ ask ~ askc ~ askch ~ askcha ~ askchat ~ askchat ~ askchat - ~ askchat -- ~  base  system ~ ask  base  system ~ askcha  base  system ~ askchat -  base  system ~ askchat --  base  system ~ askchat --all-valid-models  base  system ~ askchat --v  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system askchat --valid-models Valid models that contain "gpt" in their names:['gpt-3.5-turbo', 'gpt-3.5-turbo-0301', 'gpt-3.5-turbo-0613', 'gpt-3.5-turbo-1106', 'gpt-3.5-turbo-16k', 'gpt-3.5-turbo-16k-0613', 'gpt-3.5-turbo-instruct', 'gpt-4', 'gpt-4-0314', 'gpt-4-0613', 'gpt-4-1106-preview', 'gpt-4-32k', 'gpt-4-32k-0314', 'gpt-4-32k-0613', 'gpt-4-turbo', 'gpt-4-vision-preview', 'gpt-4o']~ a  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --valid-models  base  system ~ askchat --a  base  system ~ askchat --all-valid-models  base  system ~ askchat --all-valid-models  base  system ~ askchat --all-valid-models  base  system ~ askchat --all-valid-models  base  system ~ askchat --all-valid-models  base  system askchat --all-valid-models All valid models: 'embedding-2', 'cogview-3', 'qwen-turbo', 'qwen-plus', 'qwen-max', 'qwen-max-longcontext', 'text-embedding-v1', 'SparkDesk', 'SparkDesk-v1.1', 'SparkDesk-v2.1', 'SparkDesk-v3.1', 'SparkDesk-v3.5', 'gemini-pro', 'gemini-1.0-pro-001', 'gemini-1.5-pro', 'gemini-pro-vision', 'gemini-1.0-pro-vision-001', 'Baichuan2-Turbo', 'Baichuan2-Turbo-192k', 'Baichuan-Text 'claude-3-sonnet', 'llama-3-70b-instruct', 'qwen:72b', 'claude-3-opus', 'Meta-Llama-3-8B-Instruct', 'baichuan2', 'code-davinci-edit-001', 'llama-2-70b-chat-hf', 'qwen:14b', 'codellama:7b', 'claude-2', 'codellama-70b-instruct-hf', 'mixtral:latest', 'llama3', 'llama3-70b', 'mistral-large', 'qwen:1.8b', 'qwen:72b-chat-v1.5-q4_0']~  base  system + \ No newline at end of file diff --git a/setup.py b/setup.py index 4d1b785..e078ab1 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages -VERSION = '1.1.4' +VERSION = '1.1.5' with open('README.md') as readme_file: readme = readme_file.read()