Method: Langchain::Vectorsearch::Milvus#destroy_default_schema

Defined in:
lib/langchain/vectorsearch/milvus.rb

#destroy_default_schemaHash

Delete default schema

Returns:

  • (Hash)

    The response from the server



108
109
110
# File 'lib/langchain/vectorsearch/milvus.rb', line 108

def destroy_default_schema
  client.collections.drop(collection_name: index_name)
end