MockHero

embedding_vector

Technical

Generate float vectors matching the dimensions used by OpenAI (1536), Cohere (1024), or custom models. For testing pgvector, Pinecone, Weaviate, and other vector databases without calling embedding APIs.

Example Outputs

[0.0234, -0.1847, 0.5612, ...]

Parameters

ParameterDescription
dimensionsVector dimensions (default 1536 for OpenAI)

API Usage

Send a POST request to generate embedding vector data:

curl -X POST https://mockhero.dev/api/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tables": [
    {
      "name": "example",
      "count": 5,
      "fields": [
        {
          "name": "embedding_vector",
          "type": "embedding_vector",
          "params": {
            "dimensions": 1536
          }
        }
      ]
    }
  ]
}'

Common Use Cases

  • pgvector testing
  • Pinecone/Weaviate seeding
  • Similarity search testing
  • RAG pipeline testing

Quick Info

Field Type
embedding_vector
Category
Technical
Parameters
1 parameter
Output Format
JSON, CSV, SQL

Try it now

Generate embedding vector data instantly in the playground.

Related Types

Generate Embedding Vector + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free