vanna.mistral.mistral
Helper class that provides a standard way to create an ABC using inheritance.
def
generate_plotly_code( self, question: str = None, sql: str = None, df_metadata: str = None, **kwargs) -> str:
def
get_followup_questions_prompt( self, question: str, question_sql_list: list, ddl_list: list, doc_list: list, **kwargs):
@staticmethod
def
add_ddl_to_prompt(initial_prompt: str, ddl_list: list[str], max_tokens: int = 14000) -> str:
@staticmethod
def
add_documentation_to_prompt( initial_prompt: str, documentation_list: list[str], max_tokens: int = 14000) -> str:
@staticmethod
def
add_sql_to_prompt(initial_prompt: str, sql_list: list[str], max_tokens: int = 14000) -> str:
def
get_sql_prompt( self, question: str, question_sql_list: list, ddl_list: list, doc_list: list, **kwargs):
Inherited Members
- vanna.base.base.VannaBase
- config
- run_sql_is_set
- generate_followup_questions
- generate_questions
- generate_embedding
- get_similar_question_sql
- add_question_sql
- add_ddl
- add_documentation
- get_training_data
- remove_training_data
- connect_to_snowflake
- connect_to_sqlite
- connect_to_postgres
- connect_to_bigquery
- run_sql
- ask
- train
- get_training_plan_generic
- get_training_plan_snowflake
- get_plotly_figure