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 droxy --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search droxy --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 |
|---|---|---|
| Get Chatbot Leads | get-chatbot-leads | Get leads generated from a chatbot within a date range. |
| Save Conversation | save-conversation | Save or update a chatbot conversation. |
| Get Chatbot Conversations | get-chatbot-conversations | Get conversations for a chatbot within a date range. |
| Delete Resource | delete-resource | Delete a resource by its id. |
| Create YouTube Resource | create-youtube-resource | Create a resource from a YouTube video. |
| Create Website Resource | create-website-resource | Create a resource from a website URL. |
| Create Text Resource | create-text-resource | Create a resource with raw text content. |
| Get Resource | get-resource | Get a resource by its id. |
| List Resources | list-resources | Get all your resources (knowledge sources). |
| Chat with Chatbot | chat-with-chatbot | Send a message to a chatbot and get a response. |
| Delete Chatbot | delete-chatbot | Delete a chatbot by its id. |
| Update Chatbot | update-chatbot | Update a chatbot by its id. |
| Create Chatbot | create-chatbot | Create a new chatbot. |
| Get Chatbot | get-chatbot | Get a chatbot by its id. |
| List Chatbots | list-chatbots | Get all your chatbots. |
| 名称 | 键 | 描述 |
|---|---|---|
| 获取聊天机器人线索 | get-chatbot-leads | 获取指定日期范围内聊天机器人生成的线索。 |
| 保存对话 | save-conversation | 保存或更新聊天机器人对话。 |
| 获取聊天机器人对话 | get-chatbot-conversations | 获取指定日期范围内聊天机器人的对话。 |
| 删除资源 | delete-resource | 根据ID删除资源。 |
| 创建YouTube资源 | create-youtube-resource | 从YouTube视频创建资源。 |
| 创建网站资源 | create-website-resource | 从网站URL创建资源。 |
| 创建文本资源 | create-text-resource | 创建包含原始文本内容的资源。 |
| 获取资源 | get-resource | 根据ID获取资源。 |
| 列出资源 | list-resources | 获取你的所有资源(知识来源)。 |
| 与聊天机器人对话 | chat-with-chatbot | 向聊天机器人发送消息并获取响应。 |
| 删除聊天机器人 | delete-chatbot | 根据ID删除聊天机器人。 |
| 更新聊天机器人 | update-chatbot | 根据ID更新聊天机器人。 |
| 创建聊天机器人 | create-chatbot | 创建新的聊天机器人。 |
| 获取聊天机器人 | get-chatbot | 根据ID获取聊天机器人。 |
| 列出聊天机器人 | list-chatbots | 获取你的所有聊天机器人。 |
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