Attributes of the DataAnalyzr Class
Overview of the attributes of the DataAnalyzr class in the lyzr library
- Basic Attributes - Instance configuration attributes. Include
analysis_type
,params
,generator_llm
,analysis_llm
,context
,logger
. - Data Related Attributes - Input dataset and vector store connections. Include
df_dict
,database_connector
,vector_store
. - Analysis Related Attributes - Values generated during analysis. Include
analysis_code
,analysis_guide
,analysis_output
,plot_code
. - Output Attributes - Output values returned as responses. Include
plot_output
,insights_output
,recommendations_output
,tasks_output
,ai_queries_output
.
Basic Attributes
The type of analysis to be performed.
Dictionary of class parameters.
LLM instance for generating analysis. Default LLM used is GPT-4o.
For details on configuring the LLM, see the Large Language Models guide.
LLM instance for performing analysis. Default LLM used is GPT-4o.
For details on configuring the LLM, see the Large Language Models guide.
Context dictionary for the analysis.
Logger object for logging messages.
Data Related Attributes
Dictionary of dataframes loaded from files or databases.
Database connector object for connecting to databases.
Vector store object for storing questions and their SQL queries or Python code.
For details on configuring the vector store, see the Vector Store guide.
Analysis Related Attributes
Code generated by the LLM for analysis.
Guide used to generate the analysis code.
Output generated by executing the analysis code.
Code generated by the LLM for generating visualisations.
Output Attributes
Path to a PNG file containing the plot generated by executing the plot code.
Insights generated by the LLM.
Recommendations generated by the LLM.
Tasks generated by the LLM.
AI queries generated by the LLM.