Skip to main content

AI Semantic Engine Python SDK

The official Python client for the AI Semantic Engine.

Installation

pip install ai-semantic-engine-pythonsdk

Usage

from ai_semantic_engine.client import AiSemanticEngineClient

# Initialize the client
client = AiSemanticEngineClient(base_url="https://ai.quizcore.org", api_key="YOUR_API_KEY")

# 1. Embed Text
embeddings = client.embed("Hello world", model="fast")

# 2. Compute Similarity
score = client.similarity("Apple", "Orange")
print(f"Similarity: {score}%")

# 3. Store Knowledge
client.store_item(text="Machine learning is fascinating.", metadata={"topic": "AI", "source": "wiki"})

# 4. Search Knowledge
results = client.search(query="Tell me about AI", top_k=3, filters={"topic": "AI"})
for r in results:
    print(r["score"], r["text"])

Endpoints Supported

  • embed and embed-batch
  • similarity
  • store_item (items endpoint)
  • search
  • detect_duplicates (detect-duplicates endpoint)

Metadata

Release files for ai-semantic-engine-pythonsdk 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-semantic-engine-pythonsdk 1.0.2
File Size Uploaded Provenance Actions
ai_semantic_engine_pythonsdk-1.0.2.tar.gz 3.4 kB Without provenance Details for ai_semantic_engine_pythonsdk-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-semantic-engine-pythonsdk 1.0.2
File Interpreter ABI Platform Actions
ai_semantic_engine_pythonsdk-1.0.2-py3-none-any.whl Python 3 none any Details for ai_semantic_engine_pythonsdk-1.0.2-py3-none-any.whl

Total release size: 7.5 kB

Release files / ai_semantic_engine_pythonsdk-1.0.2.tar.gz

Download URL ai_semantic_engine_pythonsdk-1.0.2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
396ac3159485475bd7a20a5c6b778c5b7fde4a938678a69c52659f854d37cd6a
BLAKE2b-256 checksum
How to use checksums
f42f8a475bc1018a986cbf05c99846dd710741097094244fd12bf9ac99f2a634
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / ai_semantic_engine_pythonsdk-1.0.2-py3-none-any.whl

Download URL ai_semantic_engine_pythonsdk-1.0.2-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6eed41a8d1de541bf7fa3823f7a74812509f43ac82bcbccd31f6cef7a6b53da9
BLAKE2b-256 checksum
How to use checksums
d932b55b78f9b822fb65ec423d86f422e609a8eff6a5b1050708d3be6357f56c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for ai-semantic-engine-pythonsdk 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page