Skip to main content

vapi-moss

Moss semantic search integration for VAPI Custom Knowledge Base webhooks.

Provides MossVapiSearch — a framework-agnostic adapter that queries a preloaded Moss index and returns documents in VAPI's expected {"content", "similarity"} shape. Also includes verify_vapi_signature for webhook HMAC-SHA256 verification.

Installation

pip install vapi-moss

Quick Start

from vapi_moss import MossVapiSearch

search = MossVapiSearch(
    project_id="your-id",
    project_key="your-key",
    index_name="my-faq-index",
)
await search.load_index()

result = await search.search("How do I return an item?")
print(result.documents)    # [{"content": "...", "similarity": 0.92}, ...]
print(result.time_taken_ms)  # 3

Signature Verification

from vapi_moss import verify_vapi_signature

is_valid = verify_vapi_signature(
    raw_body=request_bytes,
    signature_header=headers["x-vapi-signature"],
    secret="your-webhook-secret",
)

See apps/vapi-moss for a complete FastAPI server example.

Metadata

Release files for vapi-moss 0.0.1

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

Source distribution (sdist)

Source distribution for vapi-moss 0.0.1
File Size Uploaded Provenance Actions
vapi_moss-0.0.1.tar.gz 5.4 kB Without provenance Details for vapi_moss-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vapi-moss 0.0.1
File Interpreter ABI Platform Actions
vapi_moss-0.0.1-py3-none-any.whl Python 3 none any Details for vapi_moss-0.0.1-py3-none-any.whl

Total release size: 10.8 kB

Release files / vapi_moss-0.0.1.tar.gz

Download URL vapi_moss-0.0.1.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f0e650526f8a8107ebb6f27735af8938bc88f39b6d24ce52788e7d43695c1f45
BLAKE2b-256 checksum
How to use checksums
2a29d84627964445d901f0822faad118970cf1fdec2890408a1c6007d3ba9ac3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / vapi_moss-0.0.1-py3-none-any.whl

Download URL vapi_moss-0.0.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1be444f4f8f257b1fd55ddf8ad53db82bb7ad30c63a7d2c8eeffd4536d74e1d8
BLAKE2b-256 checksum
How to use checksums
62d778dd683a36ec8ed27d1fe1b7923b4094f8808f68a12b12e8b76c3f3680cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for vapi-moss 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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