mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-06 02:48:22 +00:00
Some checks are pending
Pre-commit / run (ubuntu-latest) (push) Waiting to run
- Removed hash, size, content, and chunk_count fields from FileMetadata model - Updated chroma and local file stores to remove excluded fields from model dump - Removed hash calculation and content storage from default file parser - Removed chunk count tracking from file parsing logic - Simplified FileMetadata schema to only include essential fields - Added new SQLite file store implementation with vector and full-text search - Added memory search step for semantic search functionality
9 lines
257 B
Python
9 lines
257 B
Python
from pydantic import BaseModel, Field
|
|
|
|
|
|
class FileMetadata(BaseModel):
|
|
file: str = Field(...)
|
|
path: str = Field(...)
|
|
st_mtime: float = Field(...)
|
|
link: list[str] = Field(default_factory=list)
|
|
metadata: dict = Field(default_factory=dict)
|