The cache is a SQLite database that stores the results of previous queries.
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.
enable_cache
parameter to False
when creating the PandasAI
object:
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: