-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
from weaviate.classes.config import Property, DataType, Configure, Tokenization
vdb_client.collections.create(
name="episodic_memory",
description="Collection containing historical chat interactions and takeaways.",
vectorizer_config=[
Configure.NamedVectors.text2vec_ollama(
name="title_vector",
source_properties=["title"],
api_endpoint="http://host.docker.internal:11434", # If using Docker, use this to contact your local Ollama instance
model="nomic-embed-text",
)
],
properties=[
Property(name="conversation", data_type=DataType.TEXT),
Property(name="context_tags", data_type=DataType.TEXT_ARRAY),
Property(name="conversation_summary", data_type=DataType.TEXT),
Property(name="what_worked", data_type=DataType.TEXT),
Property(name="what_to_avoid", data_type=DataType.TEXT),
]
)
why you set source_properties=["title"] when there is no such property?
Metadata
Metadata
Assignees
Labels
No labels