Skip to main content

Official Query Memory SDK for Knowledge, Agent, Web Parsing, and Extraction APIs

Project description

Query Memory Python SDK

Official SDK for Query Memory Knowledge, Agent, and Web Parsing APIs.

Install

pip install querymemory

Quick Start

from querymemory_sdk import QueryMemoryClient

client = QueryMemoryClient(
    base_url="https://api.querymemory.com",
    api_key="<USER_API_KEY>",
)

result = client.knowledge.query(
    knowledge_id="<KNOWLEDGE_ID>",
    query="Summarize key points",
    top_k=5,
)

print(result)

Use root domain for base_url (no /api/v1):

  • Correct: https://api.querymemory.com
  • Incorrect: https://api.querymemory.com/api/v1

Auth

  • Public query APIs use api_key.
  • Management APIs can use api_key (user API key) or auth_token depending on deployment policy.

You can pass one or both to one client.

Modules

  • client.knowledge
  • client.agents
  • client.web

Each module includes both management and public query helpers.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

querymemory-0.2.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

querymemory-0.2.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file querymemory-0.2.0.tar.gz.

File metadata

  • Download URL: querymemory-0.2.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for querymemory-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d4881b1385ec7092244de9ad9b0198432694183763f7ea733bb5fd49b32bb584
MD5 f3eec9d1d77d17e5f55e840a3b5bf186
BLAKE2b-256 5403d88ab26862b6a4008b5dbee92c44e885b7feeb4d4089c60af2036d708480

See more details on using hashes here.

File details

Details for the file querymemory-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: querymemory-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for querymemory-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69ffd5d87081adf600e6bcd281c8a8b6adc7a10713e42d90193b36dad39dc26b
MD5 d4142ed773e46384b3048767f4977bcd
BLAKE2b-256 5f517a5a2dba1c134e2551aae959346ba4d87f00a2d61b62da03924f2ad30a11

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page