The cache is a SQLite database that stores the results of previous queries.
PandasAI uses a cache to store the results of previous queries. This is useful for two reasons:
The cache is stored in a file called cache.db
in the /cache
directory of the project. The cache is a SQLite database, and can be viewed using any SQLite client. The file will be created automatically when the first query is made.
The cache can be disabled by setting the enable_cache
parameter to False
when creating the PandasAI
object:
By default, the cache is enabled.
The cache can be cleared by deleting the cache.db
file. The file will be recreated automatically when the next query is made. Alternatively, the cache can be cleared by calling the clear_cache()
method on the PandasAI
object:
The cache is a SQLite database that stores the results of previous queries.
PandasAI uses a cache to store the results of previous queries. This is useful for two reasons:
The cache is stored in a file called cache.db
in the /cache
directory of the project. The cache is a SQLite database, and can be viewed using any SQLite client. The file will be created automatically when the first query is made.
The cache can be disabled by setting the enable_cache
parameter to False
when creating the PandasAI
object:
By default, the cache is enabled.
The cache can be cleared by deleting the cache.db
file. The file will be recreated automatically when the next query is made. Alternatively, the cache can be cleared by calling the clear_cache()
method on the PandasAI
object: