TopRank Skills

Home / Claw Skills / Autres / aimlapi-embeddings
Official OpenClaw rules 15%

aimlapi-embeddings

Generate text embeddings via AIMLAPI. Use for semantic search, clustering, or high-dimensional text representations with text-embedding-3-large and other models.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 aimlapi-embeddings 技能。 若已安装,则直接安装 aimlapi-embeddings 技能。

Overview

Skill Key
aimlapihello/aiml-embeddings
Author
aimlapihello
Source Repo
openclaw/skills
Version
-
Source Path
skills/aimlapihello/aiml-embeddings
Latest Commit SHA
b4a324083cc41fe7ce65256bcc0413cfd4a46aa9

Extracted Content

SKILL.md excerpt

# AIMLAPI Embeddings

## Overview

Converts text into high-dimensional numerical representations (vectors) using AIMLAPI's embedding models like `text-embedding-3-large`.

## Quick start

```bash
export AIMLAPI_API_KEY="sk-aimlapi-..."
python3 {baseDir}/scripts/gen_embeddings.py --input "Laura is a DJ."
```

## Tasks

### Generate embeddings

Use `scripts/gen_embeddings.py` to get vector representations of text.

```bash
python3 {baseDir}/scripts/gen_embeddings.py \
  --input "Knowledge is power." \
  --model text-embedding-3-large \
  --dimensions 1024 \
  --out-dir ./out/embeddings
```

## References

- `references/endpoints.md`: API schema and parameter details.

README excerpt

# aimlapi-embeddings

Text embeddings via AIMLAPI.

## Installation

```bash
clawhub install aimlapi-embeddings
```

## Setup

Set your API key:
```bash
export AIMLAPI_API_KEY="your-key-here"
```

## Usage

```bash
# Basic usage
python scripts/gen_embeddings.py --input "Hello world"

# Specify model and dimensions
python scripts/gen_embeddings.py --input "Semantic search is cool" --model text-embedding-3-large --dimensions 1024
```

## Features
- Standard OpenAI-compatible embeddings API.
- Support for `text-embedding-3-small`, `text-embedding-3-large`, and others.
- Automatic retries and timeout handling.
- Flexible output directory.

Related Claw Skills