The batch embeddings refactor (PR #668) changed the EmbeddingsRequest
schema from `text: str` to `texts: list[str]` and updated the base
class to call `on_embeddings(request.texts, model=model)`.
The Ollama and FastEmbed providers were updated to match, but the
HuggingFace provider was missed:
- Parameter was still named `text` (singular) instead of `texts`
- `embed_documents([text])` wrapped the already-list input in another
list, causing `embed_documents([["text1", "text2"]])` — a list
containing a list instead of a list of strings
This produces:
AttributeError: 'list' object has no attribute 'replace'
Fix aligns the HF provider with Ollama/FastEmbed:
- Rename param `text` → `texts`
- Remove redundant `[text]` wrapping
- Add empty-list guard (consistent with other providers)
* Changed schema for Value -> Term, majorly breaking change
* Following the schema change, Value -> Term into all processing
* Updated Cassandra for g, p, s, o index patterns (7 indexes)
* Reviewed and updated all tests
* Neo4j, Memgraph and FalkorDB remain broken, will look at once settled down
- Keeps processing in different flows separate so that data can go to different stores / collections etc.
- Potentially supports different processing flows
- Tidies the processing API with common base-classes for e.g. LLMs, and automatic configuration of 'clients' to use the right queue names in a flow
* - Locked 0.11 packages to 0.11 deps
- Added 'trustgraph' uber-package which installs the rest
- Added dependency to set package versions before building packages
* Bump version
* Renaming what will become the core package
* Tweaking to get package build working
* Fix metering merge
* Rename to core directory
* Bump version. Use namespace searching for packaging trustgraph-core
* Change references to trustgraph-core
* Forming embeddings-hf package
* Reference modules in core package.
* Build both packages to one container, bump version
* Update YAMLs