register_default_adapters
Function
This function is defined in the adapters module.Wire the wrapper’s default readers, retrievers, and rerankers into the core-SDK registries — the single explicit entry point. The adapter modules deliberately do NOT auto-register on import (that would mutate process-wide core-SDK singletons as an import side effect, breaking multi-tenant runtimes and tests). Callers that need the built-in adapters wired in invoke this once; it is idempotent and thread-safe. Vector stores are intentionally excluded:
register_default_vector_stores
probes chromadb/pinecone on disk and must stay opt-in.
Signature
Uses
register_default_readersregister_default_retrieversregister_default_rerankers
Source
View on GitHub
praisonai/adapters/__init__.py at line 21
