vera-embed-openai
Official OpenAI embeddings plugin for VERA. Registers the openai provider
under the vera.embedders entry-point group.
vera-cli and vera-app depend on this package so hosted OpenAI conversion
works out of the box. The client uses stdlib urllib — there is no openai
SDK dependency.
Install
python -m pip install "vera-embed-openai>=0.3.0"
From a repository checkout with uv, the workspace installs it by default
(via vera-cli / vera-app):
uv sync
Usage
set OPENAI_API_KEY=...
vera convert "manual.pdf" --model openai:text-embedding-3-small
import os
from vera_ingest import convert
os.environ["OPENAI_API_KEY"] = "..."
convert("manual.pdf", "manual.vera", model="openai:text-embedding-3-small")
Keep the API key in OPENAI_API_KEY. Optional OPENAI_BASE_URL (default
https://api.openai.com/v1) points at Azure, OpenRouter, or a local
OpenAI-compatible server. Archives still record openai:<model-id>, so two
endpoints that embed different models under the same id are indistinguishable
at search time.
Notes
- Known dimensions (no network in the constructor):
text-embedding-3-small1536,text-embedding-3-large3072,text-embedding-ada-0021536. Unrecognized model ids probe once on first use. - Convert-time options:
batch_size(1–2048) andtimeoutseconds. Search resolvesget_embedder(stored_model_name)with defaults. - Semantic search of a hosted archive needs the same provider and credentials on the searching machine. Keyword search still works without a key.
- Desktop Convert Cancel does not interrupt an in-flight embeddings HTTP
batch; conversion checks cancellation after
embed()returns.
See the vera-embed-openai documentation and conversion guide.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vera_embed_openai-0.3.1.tar.gz.
File metadata
- Download URL: vera_embed_openai-0.3.1.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46859a09e0b5309bcc6bb107a405bfc4c587c6f1f0d29f38457235e0301f3f6a
|
|
| MD5 |
1b8531464302cbb6a5912d45f7d59939
|
|
| BLAKE2b-256 |
0a9eaac3dec5e6d9da44e72107e80bd7fd8869549407e4ea1cbd9aad4c836421
|
Provenance
The following attestation bundles were made for vera_embed_openai-0.3.1.tar.gz:
Publisher:
publish-pypi.yml on dkylewillis/vera
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vera_embed_openai-0.3.1.tar.gz -
Subject digest:
46859a09e0b5309bcc6bb107a405bfc4c587c6f1f0d29f38457235e0301f3f6a - Sigstore transparency entry: 2582521411
- Sigstore integration time:
-
Permalink:
dkylewillis/vera@ffd5b81d78e0fe0cc2c26a18f75a6a3a337ac51d -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/dkylewillis
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@ffd5b81d78e0fe0cc2c26a18f75a6a3a337ac51d -
Trigger Event:
release
-
Statement type:
File details
Details for the file vera_embed_openai-0.3.1-py3-none-any.whl.
File metadata
- Download URL: vera_embed_openai-0.3.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4bbdec35b8fe538d9b5a415aa1c7c9de65557d7d53dc0d49f944569a39f3ab0
|
|
| MD5 |
2bea41e4fbdfc8ca00c0dbe6d0a96947
|
|
| BLAKE2b-256 |
1230a22d84b53503d68ab8140beba7225a989ca1ea4620c229545600fc7dd7f7
|
Provenance
The following attestation bundles were made for vera_embed_openai-0.3.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on dkylewillis/vera
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vera_embed_openai-0.3.1-py3-none-any.whl -
Subject digest:
f4bbdec35b8fe538d9b5a415aa1c7c9de65557d7d53dc0d49f944569a39f3ab0 - Sigstore transparency entry: 2582521415
- Sigstore integration time:
-
Permalink:
dkylewillis/vera@ffd5b81d78e0fe0cc2c26a18f75a6a3a337ac51d -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/dkylewillis
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@ffd5b81d78e0fe0cc2c26a18f75a6a3a337ac51d -
Trigger Event:
release
-
Statement type: