Registry / ai-ml / corvic-engine

corvic-engine

JSON →
library0.2.50pypypiunverified

Seamless embedding generation and retrieval. Current version 0.2.50, updated frequently.

pip install corvic-engine
INSTALL
IMPORT
SIG · CORVIC-ENGINE
C
corvic-engine
ai-mlpythonv0.2.50
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CorvicClient
from corvic import CorvicClient
from corvic_engine import CorvicClient
Package name is corvic, not corvic_engine.

Instantiate client and generate an embedding.

from corvic import CorvicClient client = CorvicClient(api_key=os.environ.get('CORVIC_API_KEY', '')) result = client.generate_embedding('Hello, world!') print(result)
Debug
Known issues
breakingIn v0.2.0, the API key parameter changed from 'key' to 'api_key'. Old code will raise TypeError.
fix
Use api_key='...' instead of key='...'.
affects: <0.2.0 to >=0.2.0
deprecatedThe method 'create_embedding' has been renamed to 'generate_embedding' in v0.2.0. Old method may be removed soon.
fix
Use client.generate_embedding() instead of client.create_embedding().
affects: >=0.2.0
gotchaClient does not validate API key on initialization; invalid key only fails on first request.
fix
Always expect an exception on the first API call if credentials are wrong.
affects: all
Upgrade
Version history
0.2.50latest on PyPI · released Oct 23, 2024
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources

No resource links recorded.

corvic-engine — pip install corvic-engine · libregistry