Skip to content

Vector Store: "Collection not found" when using pre_delete_collection=True #5

@ckurze

Description

@ckurze

Problem

When using pre_delete_collection=True, there is only an error stating "Collection not found", the actual collection is not deleted / emptied.

Details

Example: vector_search.ipynb

COLLECTION_NAME = "state_of_the_union_test"

embeddings = OpenAIEmbeddings()

db = CrateDBVectorSearch.from_documents(
    embedding=embeddings,
    documents=docs,
    collection_name=COLLECTION_NAME,
    connection_string=CONNECTION_STRING,
    pre_delete_collection=True, 
)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions