Loading...
Loading...
Cohere integration. Manage Documents, Models, Datasets, Jobs. Use when the user wants to interact with Cohere data.
npx skill4agent add membranedev/application-skills coheremembranenpm install -g @membranehq/climembrane login --tenantmembrane login complete <code>membrane search cohere --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane connection list --jsonconnectionIdmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --json| Name | Key | Description |
|---|---|---|
| List Models | list-models | Get a list of available Cohere models. |
| Summarize | summarize | Generate a summary of a given text. |
| Detokenize | detokenize | Convert tokens back into text using a specified model's tokenizer. |
| Tokenize | tokenize | Convert text into tokens using a specified model's tokenizer. |
| Classify | classify | Classify text inputs into categories using few-shot examples or a fine-tuned model. |
| Rerank | rerank | Rerank a list of documents based on relevance to a query using Cohere's Rerank API (v2). |
| Embed | embed | Generate embeddings for texts or images using Cohere's Embed API (v2). |
| Chat | chat | Generate a response to a conversation using Cohere's Chat API (v2). |
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 action list --intent=QUERY