API Key Permissions & Averaged Multi-Input Embeddings

Two major updates to enhance security and embedding quality:

  1. Granular API Key Permissions
  • Create keys with read-only, write-only, or read-write access
  • Secure client-side apps by restricting sensitive operations
  • Configure via Settings > API Keys in studio portal
  1. Averaged Multi-Input Embeddings
  • Creates more representative embeddings by combining multiple inputs
  • Preserves all original embedding requests for reference
  • Supports both text and image inputs across all embedding providers

Example implementation:

settings = [
    EmbeddingRequest(type="text", value="a dog running", embedding_model="clip"),
    EmbeddingRequest(type="text", value="canine in motion", embedding_model="clip")
]
# Result includes averaged vector and preserves original inputs

Release Notes: Product Updates - Mixpeek