@@ -285,8 +283,8 @@ class EmbeddingItem(BaseModel):
vectors:int=Field(title="Vectors",description="The number of vectors in the embedding")
classEmbeddingsResponse(BaseModel):
loaded:Dict[str,EmbeddingItem]=Field(title="Loaded",description="Embeddings loaded for the current model")
skipped:Dict[str,EmbeddingItem]=Field(title="Skipped",description="Embeddings skipped for the current model (likely due to architecture incompatibility)")
loaded:dict[str,EmbeddingItem]=Field(title="Loaded",description="Embeddings loaded for the current model")
skipped:dict[str,EmbeddingItem]=Field(title="Skipped",description="Embeddings skipped for the current model (likely due to architecture incompatibility)")
@@ -2,7 +2,6 @@ from __future__ import annotations
importre
fromcollectionsimportnamedtuple
fromtypingimportList
importlark
# a prompt like this: "fantasy landscape with a [mountain:lake:0.25] and [an oak:a christmas tree:0.75][ in foreground::0.6][ in background:0.25] [shoddy:masterful:0.5]"