- The required keys in the
config
dictionary depend on the specifieddb_type
. - The
vector_store_config
dictionary is optional and can be used to configure the vector store. - Sets the
df_dict
,database_connector
andvector_store
attributes of theDataAnalyzr
object. - The method does not return any value.
Parameters
The type of database to connect to.
Configuration dictionary for the database connection.When When When
db_type
is files
:db_type
is redshift
or postgres
:db_type
is sqlite
:Configuration dictionary for the vector store.For details on vector store usage and configuration, refer to the Vector Store guide.