Sinaptik-AI / pandas-ai

Chat with your database (SQL, CSV, pandas, polars, mongodb, noSQL, etc). PandasAI makes data analysis conversational using LLMs (GPT 3.5 / 4, Anthropic, VertexAI) and RAG.
https://pandas-ai.com
Other
11.69k stars 1.08k forks source link

"verbose": False seems to still log to console #1167

Open panjurli45 opened 1 month ago

panjurli45 commented 1 month ago

System Info

2.0.42

🐛 Describe the bug

Agent(connector,
            memory_size=10,
            config={"llm": self.llm, "verbose": False, "open_charts": False, "save_charts": True,
                    "response_parser": StreamlitResponse, 'save_logs': False, "debug": False}
                    )

Below logs still appear in the console with verbose as False


INFO 2024-05-18 10:36:45,968 pandasai.helpers.logger:Prompt ID: 8734daac-f8ab-42c5-b9a7-163b20c0191c
INFO 2024-05-18 10:36:45,969 pandasai.helpers.logger:Executing Pipeline: GenerateChatPipeline
INFO 2024-05-18 10:36:45,980 pandasai.helpers.logger:Executing Step 0: ValidatePipelineInput
INFO 2024-05-18 10:36:45,982 pandasai.helpers.logger:Executing Step 1: CacheLookup
INFO 2024-05-18 10:36:45,985 pandasai.helpers.logger:Executing Step 2: PromptGeneration
INFO 2024-05-18 10:36:46,003 pandasai.helpers.logger:Using prompt: dfs[0]:
gventuri commented 1 month ago

@panjurli45 good catch.

Additionally: