pyrit.common.initialize_pyrit

pyrit.common.initialize_pyrit#

initialize_pyrit(memory_db_type: Literal['InMemory', 'DuckDB', 'AzureSQL'] | str, **memory_instance_kwargs: Any | None) None[source]#

Initializes PyRIT with the provided memory instance and loads environment files.

Parameters:
  • memory_db_type (MemoryDatabaseType) – The MemoryDatabaseType string literal which indicates the memory instance to use for central memory. Options include “InMemory”, “DuckDB”, and “AzureSQL”.

  • **memory_instance_kwargs (Optional[Any]) – Additional keyword arguments to pass to the memory instance.