Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
jpfearnworks
/
ai_agents
like
3
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
955418e
ai_agents
/
modules
/
vector_stores
/
embedding_bases.py
jphillips
Vector storage (#1)
566d4e4
unverified
about 3 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Safe
223 Bytes
from
abc
import
ABC, abstractmethod
class
DocumentLoadStrategy
(
ABC
):
@abstractmethod
def
load
(
self
):
pass
@abstractmethod
def
split
(
self, documents, chunk_size, chunk_overlap
):
pass