Skip to content

ranking-agent/kp-registry

Repository files navigation

KP Registry

List of all valid registered Knowledge Providers (KPs) on Smart API

Setup:

To install:

pip install kp-registry

KP Registry will also use an environment variable:

KP_TRAPI_VERSION=1.5.0

Usage:

from kp_registry import Registry

# Initialize the registry
registry = Registry()
# Fetch all valid kps from Smart API
kps = await registry.retrieve_kps()

Release

kp-registry is automatically uploaded to pypi. To make a new release, simply make a new release and tag in the repo.