Skip to content

API Reference parrot.stores.models

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.stores.models

View source

Store data models.

SearchResult and StoreConfig moved to :mod:parrot.models.stores (the dependency-free core models package) so that consumers can import the data contracts without triggering parrot.stores.__init__ (which pulls in AbstractStore and the heavy store/embedding backends). They are re-exported here for backward compatibility — existing from parrot.stores.models import SearchResult, StoreConfig keeps working.

Class DistanceStrategy

Enumerator of the Distance strategies for calculating distances between vectors.

Class Document

A simple document model for adding data to the vector store. This replaces langchain.docstore.document.Document.

Fields:

Field Type Default Description
page_content str
metadata Dict[str, Any]

Alias SearchResult

Re-exported from parrot.models.stores.SearchResult.

Alias StoreConfig

Re-exported from parrot.models.stores.StoreConfig.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally