In-memory implementation of the VectorDatabase. This class provides an in-memory vector database connector, which is useful for testing and development purposes.

Constructor

InMemoryVectorDatabase(default_query_limit=-1)
Initialize the InMemoryVectorDatabase and set up an in-memory vector DB connector for testing and development.

Parameters

default_query_limit
int
default:"-1"
The default limit for query results. A value of -1 indicates no limit.

Inheritance

Inheritance Chain:
  • InMemoryVectorDatabase
  • VectorDatabase
  • ABC
  • Generic