Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/climembranenpm install -g @membranehq/climembrane login --tenantmembrane login complete <code>membrane login --tenantmembrane login complete <code>membrane search openai --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search openai --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane connection list --jsonconnectionIdmembrane connection list --jsonconnectionIdmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --jsonmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --json| Name | Key | Description |
|---|---|---|
| Delete File | delete-file | Deletes a file. |
| Get File | get-file | Returns information about a specific file. |
| List Files | list-files | Returns a list of files that belong to the user's organization. |
| Get Model | get-model | Retrieves a model instance, providing basic information about the model. |
| List Models | list-models | Lists the currently available models and provides basic information about each one. |
| Create Moderation | create-moderation | Classifies if text violates OpenAI's Content Policy. |
| Generate Image | generate-image | Creates an image given a prompt using DALL-E. |
| Create Embedding | create-embedding | Creates an embedding vector representing the input text. |
| Create Chat Completion | create-chat-completion | Creates a model response for the given chat conversation using GPT models. |
| 名称 | 键 | 描述 |
|---|---|---|
| 删除文件 | delete-file | 删除指定文件。 |
| 获取文件 | get-file | 返回指定文件的相关信息。 |
| 列出文件 | list-files | 返回归属用户组织的文件列表。 |
| 获取模型 | get-model | 检索模型实例,返回模型的基础信息。 |
| 列出模型 | list-models | 列出当前可用的所有模型,并返回每个模型的基础信息。 |
| 创建内容审核 | create-moderation | 判别文本是否违反OpenAI内容政策。 |
| 生成图片 | generate-image | 基于提示词通过DALL-E生成图片。 |
| 创建Embedding | create-embedding | 生成表示输入文本的embedding向量。 |
| 创建聊天补全 | create-chat-completion | 通过GPT模型为给定的聊天对话生成模型响应。 |
membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane request CONNECTION_ID /path/to/endpoint| Flag | Description |
|---|---|
| HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
| Add a request header (repeatable), e.g. |
| Request body (string) |
| Shorthand to send a JSON body and set |
| Send the body as-is without any processing |
| Query-string parameter (repeatable), e.g. |
| Path parameter (repeatable), e.g. |
membrane request CONNECTION_ID /path/to/endpoint| 标识 | 描述 |
|---|---|
| HTTP请求方法(GET, POST, PUT, PATCH, DELETE),默认是GET |
| 添加请求头(可重复添加),例如 |
| 请求体(字符串格式) |
| 发送JSON请求体的简写,会自动设置 |
| 不做任何处理直接发送请求体 |
| 查询字符串参数(可重复添加),例如 |
| 路径参数(可重复添加),例如 |
membrane action list --intent=QUERYmembrane action list --intent=QUERY