# EmbeddingCache

UMLClass
Skill Seekers :: skill_seekers :: Embedding :: EmbeddingCache

### Description

SQLite-based cache for embeddings. Stores embeddings with their text hashes to avoid regeneration. Supports TTL (time-to-live) for cache entries.

### Attributes

Visibility | Name | Type | Description
--- | --- | --- | ---
private | db_path | str |
private | ttl_days | int |
private | conn | sqlite3.Connection |

### Operations

Visibility | Name | Description
--- | --- | ---
public | get() |
public | put() |
public | set() |
public | get_batch() |
public | has() |
public | delete() |
public | clear() |
public | clear_expired() |
public | size() |
public | stats() |
public | close() |

### Properties

Name | Value
--- | ---
name | EmbeddingCache
stereotype | null
visibility | public
isAbstract | false
isFinalSpecialization | false
isLeaf | false
isActive | false

### Dependants

### Relationships

### Diagrams