Basic Usage\n\nGetting an API key \n\n\n
import vanna as vn \napi_key = vn . get_api_key ( 'my-email@example.com' ) \nvn . set_api_key ( api_key ) \n
\n
\n\nSetting the model \n\n\n
vn . set_model ( 'demo-tpc-h' ) \n
\n
\n\nAsking a question \n\n\n
sql , df , fig , followup_questions = vn . ask ( question = 'What are the top 10 customers by sales?' ) \n
\n
\n\nFor a more comprehensive starting guide see the Starter Notebook .
\n\nNomenclature \n\n\n\n\n Prefix \n Definition \n Examples \n \n \n\n\n vn.set_
\n Sets the variable for the current session \n [vn.set_model(...)
][vanna.set_model] [vn.set_api_key(...)
][vanna.set_api_key] \n \n\n vn.get_
\n Performs a read-only operation \n [vn.get_model()
][vanna.get_models] \n \n\n vn.add_
\n Adds something to the model \n [vn.add_sql(...)
][vanna.add_sql] [vn.add_ddl(...)
][vanna.add_ddl] \n \n\n vn.generate_
\n Generates something using AI based on the information in the model \n [vn.generate_sql(...)
][vanna.generate_sql] [vn.generate_explanation()
][vanna.generate_explanation] \n \n\n vn.run_
\n Runs code (SQL or Plotly) \n [vn.run_sql
][vanna.run_sql] \n \n\n vn.remove_
\n Removes something from the model \n [vn.remove_training_data
][vanna.remove_training_data] \n \n\n vn.update_
\n Updates something in the model \n [vn.update_model_visibility(...)
][vanna.update_model_visibility] \n \n\n vn.connect_
\n Connects to a database \n [vn.connect_to_snowflake(...)
][vanna.connect_to_snowflake] \n \n \n
\n\nPermissions \n\nBy default when you create a model it is private. You can add members or admins to your model or make it public.
\n\n\n \n User Role \n Public Model \n Private Model \n \n \n Use \n Train \n Use \n Train \n \n \n Non-Member \n \u2705 \n \u274c \n \u274c \n \u274c \n \n \n Member \n \u2705 \n \u274c \n \u2705 \n \u274c \n \n \n Admin \n \u2705 \n \u2705 \n \u2705 \n \u2705 \n \n
\n\nAPI Reference \n"}, "vanna.api_key": {"fullname": "vanna.api_key", "modulename": "vanna", "qualname": "api_key", "kind": "variable", "doc": "
\n", "annotation": ": Optional[str]", "default_value": "None"}, "vanna.run_sql": {"fullname": "vanna.run_sql", "modulename": "vanna", "qualname": "run_sql", "kind": "variable", "doc": "Example
\n\n\n
vn . run_sql = lambda sql : pd . read_sql ( sql , engine ) \n
\n
\n\nSet the SQL to DataFrame function for Vanna.AI. This is used in the [vn.ask(...)
][vanna.ask] function.\nInstead of setting this directly you can also use [vn.connect_to_snowflake(...)
][vanna.connect_to_snowflake] to set this.
\n", "annotation": ": Optional[Callable[[str], pandas.core.frame.DataFrame]]", "default_value": "None"}, "vanna.get_api_key": {"fullname": "vanna.get_api_key", "modulename": "vanna", "qualname": "get_api_key", "kind": "function", "doc": "Example:
\n\n\n
vn . get_api_key ( email = "my-email@example.com" ) \n
\n
\n\nLogin to the Vanna.AI API.
\n\nArguments: \n\n\nemail (str): The email address to login with. \notp_code (Union[str, None]): The OTP code to login with. If None, an OTP code will be sent to the email address. \n \n\nReturns: \n\n\n str: The API key.
\n \n", "signature": "(email : str , otp_code : Optional [ str ] = None ) -> str : ", "funcdef": "def"}, "vanna.set_api_key": {"fullname": "vanna.set_api_key", "modulename": "vanna", "qualname": "set_api_key", "kind": "function", "doc": "Sets the API key for Vanna.AI.
\n\nExample:
\n\n\n
api_key = vn . get_api_key ( email = "my-email@example.com" ) \nvn . set_api_key ( api_key ) \n
\n
\n\nArguments: \n\n\nkey (str): The API key. \n \n", "signature": "(key : str ) -> None : ", "funcdef": "def"}, "vanna.get_models": {"fullname": "vanna.get_models", "modulename": "vanna", "qualname": "get_models", "kind": "function", "doc": "Example:
\n\n\n
models = vn . get_models () \n
\n
\n\nList the models that the user is a member of.
\n\nReturns: \n\n\n List[str]: A list of model names.
\n \n", "signature": "() -> List [ str ] : ", "funcdef": "def"}, "vanna.create_model": {"fullname": "vanna.create_model", "modulename": "vanna", "qualname": "create_model", "kind": "function", "doc": "Example:
\n\n\n
vn . create_model ( model = "my-model" , db_type = "postgres" ) \n
\n
\n\nCreate a new model.
\n\nArguments: \n\n\nmodel (str): The name of the model to create. \ndb_type (str): The type of database to use for the model. This can be \"Snowflake\", \"BigQuery\", \"Postgres\", or anything else. \n \n\nReturns: \n\n\n bool: True if the model was created successfully, False otherwise.
\n \n", "signature": "(model : str , db_type : str ) -> bool : ", "funcdef": "def"}, "vanna.add_user_to_model": {"fullname": "vanna.add_user_to_model", "modulename": "vanna", "qualname": "add_user_to_model", "kind": "function", "doc": "Example:
\n\n\n
vn . add_user_to_model ( model = "my-model" , email = "user@example.com" ) \n
\n
\n\nAdd a user to an model.
\n\nArguments: \n\n\nmodel (str): The name of the model to add the user to. \nemail (str): The email address of the user to add. \nis_admin (bool): Whether or not the user should be an admin. \n \n\nReturns: \n\n\n bool: True if the user was added successfully, False otherwise.
\n \n", "signature": "(model : str , email : str , is_admin : bool ) -> bool : ", "funcdef": "def"}, "vanna.update_model_visibility": {"fullname": "vanna.update_model_visibility", "modulename": "vanna", "qualname": "update_model_visibility", "kind": "function", "doc": "Example:
\n\n\n
vn . update_model_visibility ( public = True ) \n
\n
\n\nSet the visibility of the current model. If a model is visible, anyone can see it. If it is not visible, only members of the model can see it.
\n\nArguments: \n\n\npublic (bool): Whether or not the model should be publicly visible. \n \n\nReturns: \n\n\n bool: True if the model visibility was set successfully, False otherwise.
\n \n", "signature": "(public : bool ) -> bool : ", "funcdef": "def"}, "vanna.set_model": {"fullname": "vanna.set_model", "modulename": "vanna", "qualname": "set_model", "kind": "function", "doc": "Set the models to use for the Vanna.AI API.
\n\nExample:
\n\n\n
vn . set_model ( "my-model" ) \n
\n
\n\nArguments: \n\n\nmodel (str): The name of the model to use. \n \n", "signature": "(model : str ): ", "funcdef": "def"}, "vanna.add_sql": {"fullname": "vanna.add_sql", "modulename": "vanna", "qualname": "add_sql", "kind": "function", "doc": "Adds a question and its corresponding SQL query to the model's training data
\n\nExample:
\n\n\n
vn . add_sql ( \n question = "What is the average salary of employees?" , \n sql = "SELECT AVG(salary) FROM employees" \n) \n
\n
\n\nArguments: \n\n\nquestion (str): The question to store. \nsql (str): The SQL query to store. \ntag (Union[str, None]): A tag to associate with the question and SQL query. \n \n\nReturns: \n\n\n bool: True if the question and SQL query were stored successfully, False otherwise.
\n \n", "signature": "(question : str , sql : str , tag : Optional [ str ] = 'Manually Trained' ) -> bool : ", "funcdef": "def"}, "vanna.add_ddl": {"fullname": "vanna.add_ddl", "modulename": "vanna", "qualname": "add_ddl", "kind": "function", "doc": "Adds a DDL statement to the model's training data
\n\nExample:
\n\n\n
vn . add_ddl ( \n ddl = "CREATE TABLE employees (id INT, name VARCHAR(255), salary INT)" \n) \n
\n
\n\nArguments: \n\n\nddl (str): The DDL statement to store. \n \n\nReturns: \n\n\n bool: True if the DDL statement was stored successfully, False otherwise.
\n \n", "signature": "(ddl : str ) -> bool : ", "funcdef": "def"}, "vanna.add_documentation": {"fullname": "vanna.add_documentation", "modulename": "vanna", "qualname": "add_documentation", "kind": "function", "doc": "Adds documentation to the model's training data
\n\nExample:
\n\n\n
vn . add_documentation ( \n documentation = "Our organization's definition of sales is the discount price of an item multiplied by the quantity sold." \n) \n
\n
\n\nArguments: \n\n\ndocumentation (str): The documentation string to store. \n \n\nReturns: \n\n\n bool: True if the documentation string was stored successfully, False otherwise.
\n \n", "signature": "(documentation : str ) -> bool : ", "funcdef": "def"}, "vanna.TrainingPlanItem": {"fullname": "vanna.TrainingPlanItem", "modulename": "vanna", "qualname": "TrainingPlanItem", "kind": "class", "doc": "
\n"}, "vanna.TrainingPlanItem.__init__": {"fullname": "vanna.TrainingPlanItem.__init__", "modulename": "vanna", "qualname": "TrainingPlanItem.__init__", "kind": "function", "doc": "
\n", "signature": "(item_type : str , item_group : str , item_name : str , item_value : str ) "}, "vanna.TrainingPlanItem.item_type": {"fullname": "vanna.TrainingPlanItem.item_type", "modulename": "vanna", "qualname": "TrainingPlanItem.item_type", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.TrainingPlanItem.item_group": {"fullname": "vanna.TrainingPlanItem.item_group", "modulename": "vanna", "qualname": "TrainingPlanItem.item_group", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.TrainingPlanItem.item_name": {"fullname": "vanna.TrainingPlanItem.item_name", "modulename": "vanna", "qualname": "TrainingPlanItem.item_name", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.TrainingPlanItem.item_value": {"fullname": "vanna.TrainingPlanItem.item_value", "modulename": "vanna", "qualname": "TrainingPlanItem.item_value", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"fullname": "vanna.TrainingPlanItem.ITEM_TYPE_SQL", "modulename": "vanna", "qualname": "TrainingPlanItem.ITEM_TYPE_SQL", "kind": "variable", "doc": "
\n", "default_value": "'sql'"}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"fullname": "vanna.TrainingPlanItem.ITEM_TYPE_DDL", "modulename": "vanna", "qualname": "TrainingPlanItem.ITEM_TYPE_DDL", "kind": "variable", "doc": "
\n", "default_value": "'ddl'"}, "vanna.TrainingPlanItem.ITEM_TYPE_IS": {"fullname": "vanna.TrainingPlanItem.ITEM_TYPE_IS", "modulename": "vanna", "qualname": "TrainingPlanItem.ITEM_TYPE_IS", "kind": "variable", "doc": "
\n", "default_value": "'is'"}, "vanna.TrainingPlan": {"fullname": "vanna.TrainingPlan", "modulename": "vanna", "qualname": "TrainingPlan", "kind": "class", "doc": "A class representing a training plan. You can see what's in it, and remove items from it that you don't want trained.
\n\nExample:
\n\n\n
plan = vn . get_training_plan () \n\nplan . get_summary () \n
\n
\n"}, "vanna.TrainingPlan.__init__": {"fullname": "vanna.TrainingPlan.__init__", "modulename": "vanna", "qualname": "TrainingPlan.__init__", "kind": "function", "doc": "
\n", "signature": "(plan : List [ vanna . TrainingPlanItem ] ) "}, "vanna.TrainingPlan.get_summary": {"fullname": "vanna.TrainingPlan.get_summary", "modulename": "vanna", "qualname": "TrainingPlan.get_summary", "kind": "function", "doc": "Example:
\n\n\n
plan = vn . get_training_plan () \n\nplan . get_summary () \n
\n
\n\nGet a summary of the training plan.
\n\nReturns: \n\n\n List[str]: A list of strings describing the training plan.
\n \n", "signature": "(self ) -> List [ str ] : ", "funcdef": "def"}, "vanna.TrainingPlan.remove_item": {"fullname": "vanna.TrainingPlan.remove_item", "modulename": "vanna", "qualname": "TrainingPlan.remove_item", "kind": "function", "doc": "Example:
\n\n\n
plan = vn . get_training_plan () \n\nplan . remove_item ( "Train on SQL: What is the average salary of employees?" ) \n
\n
\n\nRemove an item from the training plan.
\n\nArguments: \n\n\nitem (str): The item to remove. \n \n", "signature": "(self , item : str ): ", "funcdef": "def"}, "vanna.get_training_plan_postgres": {"fullname": "vanna.get_training_plan_postgres", "modulename": "vanna", "qualname": "get_training_plan_postgres", "kind": "function", "doc": "
\n", "signature": "(\tfilter_databases : Optional [ List [ str ]] = None , \tfilter_schemas : Optional [ List [ str ]] = None , \tinclude_information_schema : bool = False , \tuse_historical_queries : bool = True ) -> vanna . TrainingPlan : ", "funcdef": "def"}, "vanna.get_training_plan_generic": {"fullname": "vanna.get_training_plan_generic", "modulename": "vanna", "qualname": "get_training_plan_generic", "kind": "function", "doc": "
\n", "signature": "(df ) -> vanna . TrainingPlan : ", "funcdef": "def"}, "vanna.get_training_plan_experimental": {"fullname": "vanna.get_training_plan_experimental", "modulename": "vanna", "qualname": "get_training_plan_experimental", "kind": "function", "doc": "EXPERIMENTAL : This method is experimental and may change in future versions.
\n\nGet a training plan based on the metadata in the database. Currently this only works for Snowflake.
\n\nExample:
\n\n\n
plan = vn . get_training_plan_experimental ( filter_databases = [ "employees" ], filter_schemas = [ "public" ]) \n\nvn . train ( plan = plan ) \n
\n
\n", "signature": "(\tfilter_databases : Optional [ List [ str ]] = None , \tfilter_schemas : Optional [ List [ str ]] = None , \tinclude_information_schema : bool = False , \tuse_historical_queries : bool = True ) -> vanna . TrainingPlan : ", "funcdef": "def"}, "vanna.train": {"fullname": "vanna.train", "modulename": "vanna", "qualname": "train", "kind": "function", "doc": "Example:
\n\n\n\nTrain Vanna.AI on a question and its corresponding SQL query. \nIf you call it with no arguments, it will check if you connected to a database and it will attempt to train on the metadata of that database.\nIf you call it with the sql argument, it's equivalent to [add_sql()
][vanna.add_sql].\nIf you call it with the ddl argument, it's equivalent to [add_ddl()
][vanna.add_ddl].\nIf you call it with the documentation argument, it's equivalent to [add_documentation()
][vanna.add_documentation].\nIt can also accept a JSON file path or SQL file path to train on a batch of questions and SQL queries or a list of SQL queries respectively.\nAdditionally, you can pass a [TrainingPlan
][vanna.TrainingPlan] object. Get a training plan with [vn.get_training_plan_experimental()
][vanna.get_training_plan_experimental].
\n\nArguments: \n\n\nquestion (str): The question to train on. \nsql (str): The SQL query to train on. \nsql_file (str): The SQL file path. \njson_file (str): The JSON file path. \nddl (str): The DDL statement. \ndocumentation (str): The documentation to train on. \nplan (TrainingPlan): The training plan to train on. \n \n", "signature": "(\tquestion : str = None , \tsql : str = None , \tddl : str = None , \tdocumentation : str = None , \tjson_file : str = None , \tsql_file : str = None , \tplan : vanna . TrainingPlan = None ) -> bool : ", "funcdef": "def"}, "vanna.flag_sql_for_review": {"fullname": "vanna.flag_sql_for_review", "modulename": "vanna", "qualname": "flag_sql_for_review", "kind": "function", "doc": "Example:
\n\n\n
vn . flag_sql_for_review ( question = "What is the average salary of employees?" ) \n
\n
\n\nFlag a question and its corresponding SQL query for review. You can see the tag show up in [vn.get_all_questions()
][vanna.get_all_questions]
\n\nArguments: \n\n\nquestion (str): The question to flag. \nsql (str): The SQL query to flag. \nerror_msg (str): The error message to flag. \n \n\nReturns: \n\n\n bool: True if the question and SQL query were flagged successfully, False otherwise.
\n \n", "signature": "(\tquestion : str , \tsql : Optional [ str ] = None , \terror_msg : Optional [ str ] = None ) -> bool : ", "funcdef": "def"}, "vanna.remove_sql": {"fullname": "vanna.remove_sql", "modulename": "vanna", "qualname": "remove_sql", "kind": "function", "doc": "Remove a question and its corresponding SQL query from the model's training data
\n\nExample:
\n\n\n
vn . remove_sql ( question = "What is the average salary of employees?" ) \n
\n
\n\nArguments: \n\n\nquestion (str): The question to remove. \n \n", "signature": "(question : str ) -> bool : ", "funcdef": "def"}, "vanna.remove_training_data": {"fullname": "vanna.remove_training_data", "modulename": "vanna", "qualname": "remove_training_data", "kind": "function", "doc": "Remove training data from the model
\n\nExample:
\n\n\n
vn . remove_training_data ( id = "1-ddl" ) \n
\n
\n\nArguments: \n\n\nid (str): The ID of the training data to remove. \n \n", "signature": "(id : str ) -> bool : ", "funcdef": "def"}, "vanna.generate_sql": {"fullname": "vanna.generate_sql", "modulename": "vanna", "qualname": "generate_sql", "kind": "function", "doc": "Example:
\n\n\n
vn . generate_sql ( question = "What is the average salary of employees?" ) \n# SELECT AVG(salary) FROM employees \n
\n
\n\nGenerate an SQL query using the Vanna.AI API.
\n\nArguments: \n\n\nquestion (str): The question to generate an SQL query for. \n \n\nReturns: \n\n\n str or None: The SQL query, or None if an error occurred.
\n \n", "signature": "(question : str ) -> str : ", "funcdef": "def"}, "vanna.get_related_training_data": {"fullname": "vanna.get_related_training_data", "modulename": "vanna", "qualname": "get_related_training_data", "kind": "function", "doc": "Example:
\n\n\n
training_data = vn . get_related_training_data ( question = "What is the average salary of employees?" ) \n
\n
\n\nGet the training data related to a question.
\n\nArguments: \n\n\nquestion (str): The question to get related training data for. \n \n\nReturns: \n\n\n TrainingData or None: The related training data, or None if an error occurred.
\n \n", "signature": "(question : str ) -> vanna . types . TrainingData : ", "funcdef": "def"}, "vanna.generate_meta": {"fullname": "vanna.generate_meta", "modulename": "vanna", "qualname": "generate_meta", "kind": "function", "doc": "Example:
\n\n\n
vn . generate_meta ( question = "What tables are in the database?" ) \n# Information about the tables in the database \n
\n
\n\nGenerate answers about the metadata of a database using the Vanna.AI API.
\n\nArguments: \n\n\nquestion (str): The question to generate an answer for. \n \n\nReturns: \n\n\n str or None: The answer, or None if an error occurred.
\n \n", "signature": "(question : str ) -> str : ", "funcdef": "def"}, "vanna.generate_followup_questions": {"fullname": "vanna.generate_followup_questions", "modulename": "vanna", "qualname": "generate_followup_questions", "kind": "function", "doc": "Example:
\n\n\n
vn . generate_followup_questions ( question = "What is the average salary of employees?" , df = df ) \n# ['What is the average salary of employees in the Sales department?', 'What is the average salary of employees in the Engineering department?', ...] \n
\n
\n\nGenerate follow-up questions using the Vanna.AI API.
\n\nArguments: \n\n\nquestion (str): The question to generate follow-up questions for. \ndf (pd.DataFrame): The DataFrame to generate follow-up questions for. \n \n\nReturns: \n\n\n List[str] or None: The follow-up questions, or None if an error occurred.
\n \n", "signature": "(question : str , df : pandas . core . frame . DataFrame ) -> List [ str ] : ", "funcdef": "def"}, "vanna.generate_questions": {"fullname": "vanna.generate_questions", "modulename": "vanna", "qualname": "generate_questions", "kind": "function", "doc": "Example:
\n\n\n
vn . generate_questions () \n# ['What is the average salary of employees?', 'What is the total salary of employees?', ...] \n
\n
\n\nGenerate questions using the Vanna.AI API.
\n\nReturns: \n\n\n List[str] or None: The questions, or None if an error occurred.
\n \n", "signature": "() -> List [ str ] : ", "funcdef": "def"}, "vanna.ask": {"fullname": "vanna.ask", "modulename": "vanna", "qualname": "ask", "kind": "function", "doc": "Example:
\n\n\n
# RECOMMENDED IN A NOTEBOOK: \nsql , df , fig , followup_questions = vn . ask () \n\n\nsql , df , fig , followup_questions = vn . ask ( question = "What is the average salary of employees?" ) \n# SELECT AVG(salary) FROM employees \n
\n
\n\nAsk a question using the Vanna.AI API. This generates an SQL query, runs it, and returns the results in a dataframe and a Plotly figure.\nIf you set print_results to True, the sql, dataframe, and figure will be output to the screen instead of returned.
\n\nArguments: \n\n\nquestion (str): The question to ask. If None, you will be prompted to enter a question. \nprint_results (bool): Whether to print the SQL query and results. \nauto_train (bool): Whether to automatically train the model if the SQL query is incorrect. \ngenerate_followups (bool): Whether to generate follow-up questions. \n \n\nReturns: \n\n\n str or None: The SQL query, or None if an error occurred.\n pd.DataFrame or None: The results of the SQL query, or None if an error occurred.\n plotly.graph_objs.Figure or None: The Plotly figure, or None if an error occurred.\n List[str] or None: The follow-up questions, or None if an error occurred.
\n \n", "signature": "(\tquestion : Optional [ str ] = None , \tprint_results : bool = True , \tauto_train : bool = True , \tgenerate_followups : bool = True ) -> Optional [ Tuple [ Optional [ str ], Optional [ pandas . core . frame . DataFrame ], Optional [ plotly . graph_objs . _figure . Figure ], Optional [ List [ str ]]]] : ", "funcdef": "def"}, "vanna.generate_plotly_code": {"fullname": "vanna.generate_plotly_code", "modulename": "vanna", "qualname": "generate_plotly_code", "kind": "function", "doc": "Example:
\n\n\n
vn . generate_plotly_code ( \n question = "What is the average salary of employees?" , \n sql = "SELECT AVG(salary) FROM employees" , \n df = df \n) \n# fig = px.bar(df, x="name", y="salary") \n
\n
\n\nGenerate Plotly code using the Vanna.AI API.
\n\nArguments: \n\n\nquestion (str): The question to generate Plotly code for. \nsql (str): The SQL query to generate Plotly code for. \ndf (pd.DataFrame): The dataframe to generate Plotly code for. \nchart_instructions (str): Optional instructions for how to plot the chart. \n \n\nReturns: \n\n\n str or None: The Plotly code, or None if an error occurred.
\n \n", "signature": "(\tquestion : Optional [ str ] , \tsql : Optional [ str ] , \tdf : pandas . core . frame . DataFrame , \tchart_instructions : Optional [ str ] = None ) -> str : ", "funcdef": "def"}, "vanna.get_plotly_figure": {"fullname": "vanna.get_plotly_figure", "modulename": "vanna", "qualname": "get_plotly_figure", "kind": "function", "doc": "Example:
\n\n\n
fig = vn . get_plotly_figure ( \n plotly_code = "fig = px.bar(df, x='name', y='salary')" , \n df = df \n) \nfig . show () \n
\n
\n\nGet a Plotly figure from a dataframe and Plotly code.
\n\nArguments: \n\n\ndf (pd.DataFrame): The dataframe to use. \nplotly_code (str): The Plotly code to use. \n \n\nReturns: \n\n\n plotly.graph_objs.Figure: The Plotly figure.
\n \n", "signature": "(\tplotly_code : str , \tdf : pandas . core . frame . DataFrame , \tdark_mode : bool = True ) -> plotly . graph_objs . _figure . Figure : ", "funcdef": "def"}, "vanna.get_results": {"fullname": "vanna.get_results", "modulename": "vanna", "qualname": "get_results", "kind": "function", "doc": "DEPRECATED. Use vn.run_sql
instead.\nRun the SQL query and return the results as a pandas dataframe. This is just a helper function that does not use the Vanna.AI API.
\n\nArguments: \n\n\ncs: Snowflake connection cursor. \ndefault_database (str): The default database to use. \nsql (str): The SQL query to execute. \n \n\nReturns: \n\n\n pd.DataFrame: The results of the SQL query.
\n \n", "signature": "(cs , default_database : str , sql : str ) -> pandas . core . frame . DataFrame : ", "funcdef": "def"}, "vanna.generate_explanation": {"fullname": "vanna.generate_explanation", "modulename": "vanna", "qualname": "generate_explanation", "kind": "function", "doc": "Example:
\n\n\n
vn . generate_explanation ( sql = "SELECT * FROM students WHERE name = 'John Doe'" ) \n# 'This query selects all columns from the students table where the name is John Doe.' \n
\n
\n\nGenerate an explanation of an SQL query using the Vanna.AI API.
\n\nArguments: \n\n\nsql (str): The SQL query to generate an explanation for. \n \n\nReturns: \n\n\n str or None: The explanation, or None if an error occurred.
\n \n", "signature": "(sql : str ) -> str : ", "funcdef": "def"}, "vanna.generate_question": {"fullname": "vanna.generate_question", "modulename": "vanna", "qualname": "generate_question", "kind": "function", "doc": "Example:
\n\n\n
vn . generate_question ( sql = "SELECT * FROM students WHERE name = 'John Doe'" ) \n# 'What is the name of the student?' \n
\n
\n\nGenerate a question from an SQL query using the Vanna.AI API.
\n\nArguments: \n\n\nsql (str): The SQL query to generate a question for. \n \n\nReturns: \n\n\n str or None: The question, or None if an error occurred.
\n \n", "signature": "(sql : str ) -> str : ", "funcdef": "def"}, "vanna.get_all_questions": {"fullname": "vanna.get_all_questions", "modulename": "vanna", "qualname": "get_all_questions", "kind": "function", "doc": "Get a list of questions from the Vanna.AI API.
\n\nExample:
\n\n\n
questions = vn . get_all_questions () \n
\n
\n\nReturns: \n\n\n pd.DataFrame or None: The list of questions, or None if an error occurred.
\n \n", "signature": "() -> pandas . core . frame . DataFrame : ", "funcdef": "def"}, "vanna.get_training_data": {"fullname": "vanna.get_training_data", "modulename": "vanna", "qualname": "get_training_data", "kind": "function", "doc": "Get the training data for the current model
\n\nExample:
\n\n\n
training_data = vn . get_training_data () \n
\n
\n\nReturns: \n\n\n pd.DataFrame or None: The training data, or None if an error occurred.
\n \n", "signature": "() -> pandas . core . frame . DataFrame : ", "funcdef": "def"}, "vanna.connect_to_sqlite": {"fullname": "vanna.connect_to_sqlite", "modulename": "vanna", "qualname": "connect_to_sqlite", "kind": "function", "doc": "Connect to a SQLite database. This is just a helper function to set [vn.run_sql
][vanna.run_sql]
\n\nArguments: \n\n\nurl (str): The URL of the database to connect to. \n \n\nReturns: \n\n\n None
\n \n", "signature": "(url : str ): ", "funcdef": "def"}, "vanna.connect_to_snowflake": {"fullname": "vanna.connect_to_snowflake", "modulename": "vanna", "qualname": "connect_to_snowflake", "kind": "function", "doc": "Connect to Snowflake using the Snowflake connector. This is just a helper function to set [vn.run_sql
][vanna.run_sql]
\n\nExample:
\n\n\n
import snowflake.connector \n\nvn . connect_to_snowflake ( \n account = "myaccount" , \n username = "myusername" , \n password = "mypassword" , \n database = "mydatabase" , \n role = "myrole" , \n) \n
\n
\n\nArguments: \n\n\naccount (str): The Snowflake account name. \nusername (str): The Snowflake username. \npassword (str): The Snowflake password. \ndatabase (str): The default database to use. \nrole (Union[str, None], optional): The role to use. Defaults to None. \n \n", "signature": "(\taccount : str , \tusername : str , \tpassword : str , \tdatabase : str , \trole : Optional [ str ] = None ): ", "funcdef": "def"}, "vanna.connect_to_postgres": {"fullname": "vanna.connect_to_postgres", "modulename": "vanna", "qualname": "connect_to_postgres", "kind": "function", "doc": "Connect to postgres using the psycopg2 connector. This is just a helper function to set [vn.run_sql
][vanna.run_sql]\nExample:
\n\n\n
import psycopg2.connect \nvn . connect_to_bigquery ( \n host = "myhost" , \n dbname = "mydatabase" , \n user = "myuser" , \n password = "mypassword" , \n port = 5432 \n) \n
\n
\n\nArguments: \n\n\nhost (str): The postgres host. \ndbname (str): The postgres database name. \nuser (str): The postgres user. \npassword (str): The postgres password. \nport (int): The postgres Port. \n \n", "signature": "(\thost : str = None , \tdbname : str = None , \tuser : str = None , \tpassword : str = None , \tport : int = None ): ", "funcdef": "def"}, "vanna.connect_to_bigquery": {"fullname": "vanna.connect_to_bigquery", "modulename": "vanna", "qualname": "connect_to_bigquery", "kind": "function", "doc": "Connect to gcs using the bigquery connector. This is just a helper function to set [vn.run_sql
][vanna.run_sql]\nExample:
\n\n\n
import bigquery.Client \nvn . connect_to_bigquery ( \n project_id = "myprojectid" , \n cred_file_path = "path/to/credentials.json" , \n) \n
\n
\n\nArguments: \n\n\nproject_id (str): The gcs project id. \ncred_file_path (str): The gcs credential file path \n \n", "signature": "(cred_file_path : str = None , project_id : str = None ): ", "funcdef": "def"}, "vanna.base": {"fullname": "vanna.base", "modulename": "vanna.base", "kind": "module", "doc": "
\n"}, "vanna.base.VannaBase": {"fullname": "vanna.base.VannaBase", "modulename": "vanna.base", "qualname": "VannaBase", "kind": "class", "doc": "Helper class that provides a standard way to create an ABC using\ninheritance.
\n", "bases": "abc.ABC"}, "vanna.base.VannaBase.config": {"fullname": "vanna.base.VannaBase.config", "modulename": "vanna.base", "qualname": "VannaBase.config", "kind": "variable", "doc": "
\n"}, "vanna.base.VannaBase.run_sql_is_set": {"fullname": "vanna.base.VannaBase.run_sql_is_set", "modulename": "vanna.base", "qualname": "VannaBase.run_sql_is_set", "kind": "variable", "doc": "
\n"}, "vanna.base.VannaBase.generate_sql_from_question": {"fullname": "vanna.base.VannaBase.generate_sql_from_question", "modulename": "vanna.base", "qualname": "VannaBase.generate_sql_from_question", "kind": "function", "doc": "
\n", "signature": "(self , question : str , ** kwargs ) -> str : ", "funcdef": "def"}, "vanna.base.VannaBase.generate_embedding": {"fullname": "vanna.base.VannaBase.generate_embedding", "modulename": "vanna.base", "qualname": "VannaBase.generate_embedding", "kind": "function", "doc": "
\n", "signature": "(self , data : str , ** kwargs ) -> list [ float ] : ", "funcdef": "def"}, "vanna.base.VannaBase.get_similar_question_sql": {"fullname": "vanna.base.VannaBase.get_similar_question_sql", "modulename": "vanna.base", "qualname": "VannaBase.get_similar_question_sql", "kind": "function", "doc": "
\n", "signature": "(self , question : str , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.base.VannaBase.get_related_ddl": {"fullname": "vanna.base.VannaBase.get_related_ddl", "modulename": "vanna.base", "qualname": "VannaBase.get_related_ddl", "kind": "function", "doc": "
\n", "signature": "(self , question : str , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.base.VannaBase.get_related_documentation": {"fullname": "vanna.base.VannaBase.get_related_documentation", "modulename": "vanna.base", "qualname": "VannaBase.get_related_documentation", "kind": "function", "doc": "
\n", "signature": "(self , question : str , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.base.VannaBase.add_question_sql": {"fullname": "vanna.base.VannaBase.add_question_sql", "modulename": "vanna.base", "qualname": "VannaBase.add_question_sql", "kind": "function", "doc": "
\n", "signature": "(self , question : str , sql : str , ** kwargs ): ", "funcdef": "def"}, "vanna.base.VannaBase.add_ddl": {"fullname": "vanna.base.VannaBase.add_ddl", "modulename": "vanna.base", "qualname": "VannaBase.add_ddl", "kind": "function", "doc": "
\n", "signature": "(self , ddl : str , ** kwargs ): ", "funcdef": "def"}, "vanna.base.VannaBase.add_documentation": {"fullname": "vanna.base.VannaBase.add_documentation", "modulename": "vanna.base", "qualname": "VannaBase.add_documentation", "kind": "function", "doc": "
\n", "signature": "(self , doc : str , ** kwargs ): ", "funcdef": "def"}, "vanna.base.VannaBase.get_prompt": {"fullname": "vanna.base.VannaBase.get_prompt", "modulename": "vanna.base", "qualname": "VannaBase.get_prompt", "kind": "function", "doc": "
\n", "signature": "(\tself , \tquestion : str , \tquestion_sql_list : list , \tddl_list : list , \tdoc_list : list , \t** kwargs ): ", "funcdef": "def"}, "vanna.base.VannaBase.submit_prompt": {"fullname": "vanna.base.VannaBase.submit_prompt", "modulename": "vanna.base", "qualname": "VannaBase.submit_prompt", "kind": "function", "doc": "
\n", "signature": "(self , prompt , ** kwargs ) -> str : ", "funcdef": "def"}, "vanna.base.VannaBase.generate_question": {"fullname": "vanna.base.VannaBase.generate_question", "modulename": "vanna.base", "qualname": "VannaBase.generate_question", "kind": "function", "doc": "
\n", "signature": "(self , sql : str , ** kwargs ) -> str : ", "funcdef": "def"}, "vanna.base.VannaBase.generate_plotly_code": {"fullname": "vanna.base.VannaBase.generate_plotly_code", "modulename": "vanna.base", "qualname": "VannaBase.generate_plotly_code", "kind": "function", "doc": "
\n", "signature": "(\tself , \tquestion : str = None , \tsql : str = None , \tdf_metadata : str = None , \t** kwargs ) -> str : ", "funcdef": "def"}, "vanna.base.VannaBase.connect_to_snowflake": {"fullname": "vanna.base.VannaBase.connect_to_snowflake", "modulename": "vanna.base", "qualname": "VannaBase.connect_to_snowflake", "kind": "function", "doc": "
\n", "signature": "(\tself , \taccount : str , \tusername : str , \tpassword : str , \tdatabase : str , \trole : Optional [ str ] = None ): ", "funcdef": "def"}, "vanna.base.VannaBase.run_sql": {"fullname": "vanna.base.VannaBase.run_sql", "modulename": "vanna.base", "qualname": "VannaBase.run_sql", "kind": "function", "doc": "
\n", "signature": "(sql : str , ** kwargs ) -> pandas . core . frame . DataFrame : ", "funcdef": "def"}, "vanna.base.VannaBase.ask": {"fullname": "vanna.base.VannaBase.ask", "modulename": "vanna.base", "qualname": "VannaBase.ask", "kind": "function", "doc": "
\n", "signature": "(\tself , \tquestion : Optional [ str ] = None , \tprint_results : bool = True , \tauto_train : bool = True ) -> Optional [ Tuple [ Optional [ str ], Optional [ pandas . core . frame . DataFrame ], Optional [ plotly . graph_objs . _figure . Figure ]]] : ", "funcdef": "def"}, "vanna.base.VannaBase.train": {"fullname": "vanna.base.VannaBase.train", "modulename": "vanna.base", "qualname": "VannaBase.train", "kind": "function", "doc": "Example:
\n\n\n\nTrain Vanna.AI on a question and its corresponding SQL query.\nIf you call it with no arguments, it will check if you connected to a database and it will attempt to train on the metadata of that database.\nIf you call it with the sql argument, it's equivalent to [add_sql()
][vanna.add_sql].\nIf you call it with the ddl argument, it's equivalent to [add_ddl()
][vanna.add_ddl].\nIf you call it with the documentation argument, it's equivalent to [add_documentation()
][vanna.add_documentation].\nAdditionally, you can pass a [TrainingPlan
][vanna.TrainingPlan] object. Get a training plan with [vn.get_training_plan_experimental()
][vanna.get_training_plan_experimental].
\n\nArguments: \n\n\nquestion (str): The question to train on. \nsql (str): The SQL query to train on. \nddl (str): The DDL statement. \ndocumentation (str): The documentation to train on. \nplan (TrainingPlan): The training plan to train on. \n \n", "signature": "(\tself , \tquestion : str = None , \tsql : str = None , \tddl : str = None , \tdocumentation : str = None , \tplan : vanna . types . TrainingPlan = None ) -> bool : ", "funcdef": "def"}, "vanna.base.VannaBase.get_training_plan_snowflake": {"fullname": "vanna.base.VannaBase.get_training_plan_snowflake", "modulename": "vanna.base", "qualname": "VannaBase.get_training_plan_snowflake", "kind": "function", "doc": "
\n", "signature": "(\tself , \tfilter_databases : Optional [ List [ str ]] = None , \tfilter_schemas : Optional [ List [ str ]] = None , \tinclude_information_schema : bool = False , \tuse_historical_queries : bool = True ) -> vanna . types . TrainingPlan : ", "funcdef": "def"}, "vanna.base.VannaBase.get_plotly_figure": {"fullname": "vanna.base.VannaBase.get_plotly_figure", "modulename": "vanna.base", "qualname": "VannaBase.get_plotly_figure", "kind": "function", "doc": "Example:
\n\n\n
fig = vn . get_plotly_figure ( \n plotly_code = "fig = px.bar(df, x='name', y='salary')" , \n df = df \n) \nfig . show () \n
\n
\n\nGet a Plotly figure from a dataframe and Plotly code.
\n\nArguments: \n\n\ndf (pd.DataFrame): The dataframe to use. \nplotly_code (str): The Plotly code to use. \n \n\nReturns: \n\n\n plotly.graph_objs.Figure: The Plotly figure.
\n \n", "signature": "(\tself , \tplotly_code : str , \tdf : pandas . core . frame . DataFrame , \tdark_mode : bool = True ) -> plotly . graph_objs . _figure . Figure : ", "funcdef": "def"}, "vanna.base.SplitStorage": {"fullname": "vanna.base.SplitStorage", "modulename": "vanna.base", "qualname": "SplitStorage", "kind": "class", "doc": "Helper class that provides a standard way to create an ABC using\ninheritance.
\n", "bases": "VannaBase"}, "vanna.base.SplitStorage.get_similar_question_sql": {"fullname": "vanna.base.SplitStorage.get_similar_question_sql", "modulename": "vanna.base", "qualname": "SplitStorage.get_similar_question_sql", "kind": "function", "doc": "
\n", "signature": "(self , embedding : str , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.base.SplitStorage.get_related_ddl": {"fullname": "vanna.base.SplitStorage.get_related_ddl", "modulename": "vanna.base", "qualname": "SplitStorage.get_related_ddl", "kind": "function", "doc": "
\n", "signature": "(self , embedding : str , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.base.SplitStorage.get_related_documentation": {"fullname": "vanna.base.SplitStorage.get_related_documentation", "modulename": "vanna.base", "qualname": "SplitStorage.get_related_documentation", "kind": "function", "doc": "
\n", "signature": "(self , embedding : str , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.base.SplitStorage.store_question_sql_embedding": {"fullname": "vanna.base.SplitStorage.store_question_sql_embedding", "modulename": "vanna.base", "qualname": "SplitStorage.store_question_sql_embedding", "kind": "function", "doc": "
\n", "signature": "(self , embedding : str , ** kwargs ) -> str : ", "funcdef": "def"}, "vanna.base.SplitStorage.store_ddl_embedding": {"fullname": "vanna.base.SplitStorage.store_ddl_embedding", "modulename": "vanna.base", "qualname": "SplitStorage.store_ddl_embedding", "kind": "function", "doc": "
\n", "signature": "(self , embedding : str , ** kwargs ) -> str : ", "funcdef": "def"}, "vanna.base.SplitStorage.store_documentation_embedding": {"fullname": "vanna.base.SplitStorage.store_documentation_embedding", "modulename": "vanna.base", "qualname": "SplitStorage.store_documentation_embedding", "kind": "function", "doc": "
\n", "signature": "(self , embedding : str , ** kwargs ) -> str : ", "funcdef": "def"}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"fullname": "vanna.base.SplitStorage.get_similar_question_sql_ids", "modulename": "vanna.base", "qualname": "SplitStorage.get_similar_question_sql_ids", "kind": "function", "doc": "
\n", "signature": "(self , embedding : str , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.base.SplitStorage.get_related_ddl_ids": {"fullname": "vanna.base.SplitStorage.get_related_ddl_ids", "modulename": "vanna.base", "qualname": "SplitStorage.get_related_ddl_ids", "kind": "function", "doc": "
\n", "signature": "(self , embedding : str , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.base.SplitStorage.get_related_documentation_ids": {"fullname": "vanna.base.SplitStorage.get_related_documentation_ids", "modulename": "vanna.base", "qualname": "SplitStorage.get_related_documentation_ids", "kind": "function", "doc": "
\n", "signature": "(self , embedding : str , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.base.SplitStorage.get_question_sql": {"fullname": "vanna.base.SplitStorage.get_question_sql", "modulename": "vanna.base", "qualname": "SplitStorage.get_question_sql", "kind": "function", "doc": "
\n", "signature": "(self , question_sql_ids : list , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.base.SplitStorage.get_documentation": {"fullname": "vanna.base.SplitStorage.get_documentation", "modulename": "vanna.base", "qualname": "SplitStorage.get_documentation", "kind": "function", "doc": "
\n", "signature": "(self , doc_ids : list , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.base.SplitStorage.get_ddl": {"fullname": "vanna.base.SplitStorage.get_ddl", "modulename": "vanna.base", "qualname": "SplitStorage.get_ddl", "kind": "function", "doc": "
\n", "signature": "(self , ddl_ids : list , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.chromadb_vector": {"fullname": "vanna.chromadb_vector", "modulename": "vanna.chromadb_vector", "kind": "module", "doc": "
\n"}, "vanna.chromadb_vector.default_ef": {"fullname": "vanna.chromadb_vector.default_ef", "modulename": "vanna.chromadb_vector", "qualname": "default_ef", "kind": "variable", "doc": "
\n", "default_value": "<chromadb.utils.embedding_functions.ONNXMiniLM_L6_V2 object>"}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"fullname": "vanna.chromadb_vector.ChromaDB_VectorStore", "modulename": "vanna.chromadb_vector", "qualname": "ChromaDB_VectorStore", "kind": "class", "doc": "Helper class that provides a standard way to create an ABC using\ninheritance.
\n", "bases": "vanna.base.VannaBase"}, "vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"fullname": "vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client", "modulename": "vanna.chromadb_vector", "qualname": "ChromaDB_VectorStore.chroma_client", "kind": "variable", "doc": "
\n"}, "vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"fullname": "vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection", "modulename": "vanna.chromadb_vector", "qualname": "ChromaDB_VectorStore.documentation_collection", "kind": "variable", "doc": "
\n"}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"fullname": "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection", "modulename": "vanna.chromadb_vector", "qualname": "ChromaDB_VectorStore.ddl_collection", "kind": "variable", "doc": "
\n"}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"fullname": "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection", "modulename": "vanna.chromadb_vector", "qualname": "ChromaDB_VectorStore.sql_collection", "kind": "variable", "doc": "
\n"}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"fullname": "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding", "modulename": "vanna.chromadb_vector", "qualname": "ChromaDB_VectorStore.generate_embedding", "kind": "function", "doc": "
\n", "signature": "(self , data : str , ** kwargs ) -> list [ float ] : ", "funcdef": "def"}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"fullname": "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql", "modulename": "vanna.chromadb_vector", "qualname": "ChromaDB_VectorStore.add_question_sql", "kind": "function", "doc": "
\n", "signature": "(self , question : str , sql : str , ** kwargs ): ", "funcdef": "def"}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"fullname": "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl", "modulename": "vanna.chromadb_vector", "qualname": "ChromaDB_VectorStore.add_ddl", "kind": "function", "doc": "
\n", "signature": "(self , ddl : str , ** kwargs ): ", "funcdef": "def"}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"fullname": "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation", "modulename": "vanna.chromadb_vector", "qualname": "ChromaDB_VectorStore.add_documentation", "kind": "function", "doc": "
\n", "signature": "(self , doc : str , ** kwargs ): ", "funcdef": "def"}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"fullname": "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql", "modulename": "vanna.chromadb_vector", "qualname": "ChromaDB_VectorStore.get_similar_question_sql", "kind": "function", "doc": "
\n", "signature": "(self , question : str , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"fullname": "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl", "modulename": "vanna.chromadb_vector", "qualname": "ChromaDB_VectorStore.get_related_ddl", "kind": "function", "doc": "
\n", "signature": "(self , question : str , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"fullname": "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation", "modulename": "vanna.chromadb_vector", "qualname": "ChromaDB_VectorStore.get_related_documentation", "kind": "function", "doc": "
\n", "signature": "(self , question : str , ** kwargs ) -> list : ", "funcdef": "def"}, "vanna.exceptions": {"fullname": "vanna.exceptions", "modulename": "vanna.exceptions", "kind": "module", "doc": "
\n"}, "vanna.exceptions.ImproperlyConfigured": {"fullname": "vanna.exceptions.ImproperlyConfigured", "modulename": "vanna.exceptions", "qualname": "ImproperlyConfigured", "kind": "class", "doc": "Raise for incorrect configuration.
\n", "bases": "builtins.BaseException"}, "vanna.exceptions.DependencyError": {"fullname": "vanna.exceptions.DependencyError", "modulename": "vanna.exceptions", "qualname": "DependencyError", "kind": "class", "doc": "Raise for missing dependencies.
\n", "bases": "builtins.BaseException"}, "vanna.exceptions.ConnectionError": {"fullname": "vanna.exceptions.ConnectionError", "modulename": "vanna.exceptions", "qualname": "ConnectionError", "kind": "class", "doc": "Raise for connection
\n", "bases": "builtins.BaseException"}, "vanna.exceptions.OTPCodeError": {"fullname": "vanna.exceptions.OTPCodeError", "modulename": "vanna.exceptions", "qualname": "OTPCodeError", "kind": "class", "doc": "Raise for invalid otp or not able to send it
\n", "bases": "builtins.BaseException"}, "vanna.exceptions.SQLRemoveError": {"fullname": "vanna.exceptions.SQLRemoveError", "modulename": "vanna.exceptions", "qualname": "SQLRemoveError", "kind": "class", "doc": "Raise when not able to remove SQL
\n", "bases": "builtins.BaseException"}, "vanna.exceptions.ExecutionError": {"fullname": "vanna.exceptions.ExecutionError", "modulename": "vanna.exceptions", "qualname": "ExecutionError", "kind": "class", "doc": "Raise when not able to execute Code
\n", "bases": "builtins.BaseException"}, "vanna.exceptions.ValidationError": {"fullname": "vanna.exceptions.ValidationError", "modulename": "vanna.exceptions", "qualname": "ValidationError", "kind": "class", "doc": "Raise for validations
\n", "bases": "builtins.BaseException"}, "vanna.exceptions.APIError": {"fullname": "vanna.exceptions.APIError", "modulename": "vanna.exceptions", "qualname": "APIError", "kind": "class", "doc": "Raise for API errors
\n", "bases": "builtins.BaseException"}, "vanna.local": {"fullname": "vanna.local", "modulename": "vanna.local", "kind": "module", "doc": "
\n"}, "vanna.local.LocalContext_OpenAI": {"fullname": "vanna.local.LocalContext_OpenAI", "modulename": "vanna.local", "qualname": "LocalContext_OpenAI", "kind": "class", "doc": "Helper class that provides a standard way to create an ABC using\ninheritance.
\n", "bases": "vanna.chromadb_vector.ChromaDB_VectorStore, vanna.openai_chat.OpenAI_Chat"}, "vanna.local.LocalContext_OpenAI.__init__": {"fullname": "vanna.local.LocalContext_OpenAI.__init__", "modulename": "vanna.local", "qualname": "LocalContext_OpenAI.__init__", "kind": "function", "doc": "
\n", "signature": "(config = None ) "}, "vanna.mock": {"fullname": "vanna.mock", "modulename": "vanna.mock", "kind": "module", "doc": "
\n"}, "vanna.mock.MockModel": {"fullname": "vanna.mock.MockModel", "modulename": "vanna.mock", "qualname": "MockModel", "kind": "class", "doc": "Helper class that provides a standard way to create an ABC using\ninheritance.
\n", "bases": "vanna.chromadb_vector.ChromaDB_VectorStore"}, "vanna.mock.MockModel.get_prompt": {"fullname": "vanna.mock.MockModel.get_prompt", "modulename": "vanna.mock", "qualname": "MockModel.get_prompt", "kind": "function", "doc": "
\n", "signature": "(\tself , \tquestion : str , \tquestion_sql_list : list , \tddl_list : list , \tdoc_list : list , \t** kwargs ) -> str : ", "funcdef": "def"}, "vanna.mock.MockModel.submit_prompt": {"fullname": "vanna.mock.MockModel.submit_prompt", "modulename": "vanna.mock", "qualname": "MockModel.submit_prompt", "kind": "function", "doc": "
\n", "signature": "(self , prompt : str , ** kwargs ) -> str : ", "funcdef": "def"}, "vanna.openai_chat": {"fullname": "vanna.openai_chat", "modulename": "vanna.openai_chat", "kind": "module", "doc": "
\n"}, "vanna.openai_chat.OpenAI_Chat": {"fullname": "vanna.openai_chat.OpenAI_Chat", "modulename": "vanna.openai_chat", "qualname": "OpenAI_Chat", "kind": "class", "doc": "Helper class that provides a standard way to create an ABC using\ninheritance.
\n", "bases": "vanna.base.VannaBase"}, "vanna.openai_chat.OpenAI_Chat.system_message": {"fullname": "vanna.openai_chat.OpenAI_Chat.system_message", "modulename": "vanna.openai_chat", "qualname": "OpenAI_Chat.system_message", "kind": "function", "doc": "
\n", "signature": "(message : str ) -> dict : ", "funcdef": "def"}, "vanna.openai_chat.OpenAI_Chat.user_message": {"fullname": "vanna.openai_chat.OpenAI_Chat.user_message", "modulename": "vanna.openai_chat", "qualname": "OpenAI_Chat.user_message", "kind": "function", "doc": "
\n", "signature": "(message : str ) -> dict : ", "funcdef": "def"}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"fullname": "vanna.openai_chat.OpenAI_Chat.assistant_message", "modulename": "vanna.openai_chat", "qualname": "OpenAI_Chat.assistant_message", "kind": "function", "doc": "
\n", "signature": "(message : str ) -> dict : ", "funcdef": "def"}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"fullname": "vanna.openai_chat.OpenAI_Chat.get_prompt", "modulename": "vanna.openai_chat", "qualname": "OpenAI_Chat.get_prompt", "kind": "function", "doc": "
\n", "signature": "(\tself , \tquestion : str , \tquestion_sql_list : list , \tddl_list : list , \tdoc_list : list , \t** kwargs ) -> str : ", "funcdef": "def"}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"fullname": "vanna.openai_chat.OpenAI_Chat.generate_question", "modulename": "vanna.openai_chat", "qualname": "OpenAI_Chat.generate_question", "kind": "function", "doc": "
\n", "signature": "(self , sql : str , ** kwargs ) -> str : ", "funcdef": "def"}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"fullname": "vanna.openai_chat.OpenAI_Chat.generate_plotly_code", "modulename": "vanna.openai_chat", "qualname": "OpenAI_Chat.generate_plotly_code", "kind": "function", "doc": "
\n", "signature": "(\tself , \tquestion : str = None , \tsql : str = None , \tdf_metadata : str = None , \t** kwargs ) -> str : ", "funcdef": "def"}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"fullname": "vanna.openai_chat.OpenAI_Chat.submit_prompt", "modulename": "vanna.openai_chat", "qualname": "OpenAI_Chat.submit_prompt", "kind": "function", "doc": "
\n", "signature": "(self , prompt , ** kwargs ) -> str : ", "funcdef": "def"}, "vanna.openai_embeddings": {"fullname": "vanna.openai_embeddings", "modulename": "vanna.openai_embeddings", "kind": "module", "doc": "
\n"}, "vanna.openai_embeddings.OpenAI_Embeddings": {"fullname": "vanna.openai_embeddings.OpenAI_Embeddings", "modulename": "vanna.openai_embeddings", "qualname": "OpenAI_Embeddings", "kind": "class", "doc": "Helper class that provides a standard way to create an ABC using\ninheritance.
\n", "bases": "vanna.base.VannaBase"}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"fullname": "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding", "modulename": "vanna.openai_embeddings", "qualname": "OpenAI_Embeddings.generate_embedding", "kind": "function", "doc": "
\n", "signature": "(self , data : str , ** kwargs ) -> list [ float ] : ", "funcdef": "def"}, "vanna.types": {"fullname": "vanna.types", "modulename": "vanna.types", "kind": "module", "doc": "
\n"}, "vanna.types.Status": {"fullname": "vanna.types.Status", "modulename": "vanna.types", "qualname": "Status", "kind": "class", "doc": "
\n"}, "vanna.types.Status.__init__": {"fullname": "vanna.types.Status.__init__", "modulename": "vanna.types", "qualname": "Status.__init__", "kind": "function", "doc": "
\n", "signature": "(success : bool , message : str ) "}, "vanna.types.Status.success": {"fullname": "vanna.types.Status.success", "modulename": "vanna.types", "qualname": "Status.success", "kind": "variable", "doc": "
\n", "annotation": ": bool"}, "vanna.types.Status.message": {"fullname": "vanna.types.Status.message", "modulename": "vanna.types", "qualname": "Status.message", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.QuestionList": {"fullname": "vanna.types.QuestionList", "modulename": "vanna.types", "qualname": "QuestionList", "kind": "class", "doc": "
\n"}, "vanna.types.QuestionList.__init__": {"fullname": "vanna.types.QuestionList.__init__", "modulename": "vanna.types", "qualname": "QuestionList.__init__", "kind": "function", "doc": "
\n", "signature": "(questions : List [ vanna . types . FullQuestionDocument ] ) "}, "vanna.types.QuestionList.questions": {"fullname": "vanna.types.QuestionList.questions", "modulename": "vanna.types", "qualname": "QuestionList.questions", "kind": "variable", "doc": "
\n", "annotation": ": List[vanna.types.FullQuestionDocument]"}, "vanna.types.FullQuestionDocument": {"fullname": "vanna.types.FullQuestionDocument", "modulename": "vanna.types", "qualname": "FullQuestionDocument", "kind": "class", "doc": "
\n"}, "vanna.types.FullQuestionDocument.__init__": {"fullname": "vanna.types.FullQuestionDocument.__init__", "modulename": "vanna.types", "qualname": "FullQuestionDocument.__init__", "kind": "function", "doc": "
\n", "signature": "(\tid : vanna . types . QuestionId , \tquestion : vanna . types . Question , \tanswer : vanna . types . SQLAnswer | None , \tdata : vanna . types . DataResult | None , \tplotly : vanna . types . PlotlyResult | None ) "}, "vanna.types.FullQuestionDocument.id": {"fullname": "vanna.types.FullQuestionDocument.id", "modulename": "vanna.types", "qualname": "FullQuestionDocument.id", "kind": "variable", "doc": "
\n", "annotation": ": vanna.types.QuestionId"}, "vanna.types.FullQuestionDocument.question": {"fullname": "vanna.types.FullQuestionDocument.question", "modulename": "vanna.types", "qualname": "FullQuestionDocument.question", "kind": "variable", "doc": "
\n", "annotation": ": vanna.types.Question"}, "vanna.types.FullQuestionDocument.answer": {"fullname": "vanna.types.FullQuestionDocument.answer", "modulename": "vanna.types", "qualname": "FullQuestionDocument.answer", "kind": "variable", "doc": "
\n", "annotation": ": vanna.types.SQLAnswer | None"}, "vanna.types.FullQuestionDocument.data": {"fullname": "vanna.types.FullQuestionDocument.data", "modulename": "vanna.types", "qualname": "FullQuestionDocument.data", "kind": "variable", "doc": "
\n", "annotation": ": vanna.types.DataResult | None"}, "vanna.types.FullQuestionDocument.plotly": {"fullname": "vanna.types.FullQuestionDocument.plotly", "modulename": "vanna.types", "qualname": "FullQuestionDocument.plotly", "kind": "variable", "doc": "
\n", "annotation": ": vanna.types.PlotlyResult | None"}, "vanna.types.QuestionSQLPair": {"fullname": "vanna.types.QuestionSQLPair", "modulename": "vanna.types", "qualname": "QuestionSQLPair", "kind": "class", "doc": "
\n"}, "vanna.types.QuestionSQLPair.__init__": {"fullname": "vanna.types.QuestionSQLPair.__init__", "modulename": "vanna.types", "qualname": "QuestionSQLPair.__init__", "kind": "function", "doc": "
\n", "signature": "(question : str , sql : str , tag : Optional [ str ] ) "}, "vanna.types.QuestionSQLPair.question": {"fullname": "vanna.types.QuestionSQLPair.question", "modulename": "vanna.types", "qualname": "QuestionSQLPair.question", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.QuestionSQLPair.sql": {"fullname": "vanna.types.QuestionSQLPair.sql", "modulename": "vanna.types", "qualname": "QuestionSQLPair.sql", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.QuestionSQLPair.tag": {"fullname": "vanna.types.QuestionSQLPair.tag", "modulename": "vanna.types", "qualname": "QuestionSQLPair.tag", "kind": "variable", "doc": "
\n", "annotation": ": Optional[str]"}, "vanna.types.Organization": {"fullname": "vanna.types.Organization", "modulename": "vanna.types", "qualname": "Organization", "kind": "class", "doc": "
\n"}, "vanna.types.Organization.__init__": {"fullname": "vanna.types.Organization.__init__", "modulename": "vanna.types", "qualname": "Organization.__init__", "kind": "function", "doc": "
\n", "signature": "(\tname : str , \tuser : str | None , \tconnection : vanna . types . Connection | None ) "}, "vanna.types.Organization.name": {"fullname": "vanna.types.Organization.name", "modulename": "vanna.types", "qualname": "Organization.name", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.Organization.user": {"fullname": "vanna.types.Organization.user", "modulename": "vanna.types", "qualname": "Organization.user", "kind": "variable", "doc": "
\n", "annotation": ": str | None"}, "vanna.types.Organization.connection": {"fullname": "vanna.types.Organization.connection", "modulename": "vanna.types", "qualname": "Organization.connection", "kind": "variable", "doc": "
\n", "annotation": ": vanna.types.Connection | None"}, "vanna.types.OrganizationList": {"fullname": "vanna.types.OrganizationList", "modulename": "vanna.types", "qualname": "OrganizationList", "kind": "class", "doc": "
\n"}, "vanna.types.OrganizationList.__init__": {"fullname": "vanna.types.OrganizationList.__init__", "modulename": "vanna.types", "qualname": "OrganizationList.__init__", "kind": "function", "doc": "
\n", "signature": "(organizations : List [ str ] ) "}, "vanna.types.OrganizationList.organizations": {"fullname": "vanna.types.OrganizationList.organizations", "modulename": "vanna.types", "qualname": "OrganizationList.organizations", "kind": "variable", "doc": "
\n", "annotation": ": List[str]"}, "vanna.types.QuestionStringList": {"fullname": "vanna.types.QuestionStringList", "modulename": "vanna.types", "qualname": "QuestionStringList", "kind": "class", "doc": "
\n"}, "vanna.types.QuestionStringList.__init__": {"fullname": "vanna.types.QuestionStringList.__init__", "modulename": "vanna.types", "qualname": "QuestionStringList.__init__", "kind": "function", "doc": "
\n", "signature": "(questions : List [ str ] ) "}, "vanna.types.QuestionStringList.questions": {"fullname": "vanna.types.QuestionStringList.questions", "modulename": "vanna.types", "qualname": "QuestionStringList.questions", "kind": "variable", "doc": "
\n", "annotation": ": List[str]"}, "vanna.types.Visibility": {"fullname": "vanna.types.Visibility", "modulename": "vanna.types", "qualname": "Visibility", "kind": "class", "doc": "
\n"}, "vanna.types.Visibility.__init__": {"fullname": "vanna.types.Visibility.__init__", "modulename": "vanna.types", "qualname": "Visibility.__init__", "kind": "function", "doc": "
\n", "signature": "(visibility : bool ) "}, "vanna.types.Visibility.visibility": {"fullname": "vanna.types.Visibility.visibility", "modulename": "vanna.types", "qualname": "Visibility.visibility", "kind": "variable", "doc": "
\n", "annotation": ": bool"}, "vanna.types.UserEmail": {"fullname": "vanna.types.UserEmail", "modulename": "vanna.types", "qualname": "UserEmail", "kind": "class", "doc": "
\n"}, "vanna.types.UserEmail.__init__": {"fullname": "vanna.types.UserEmail.__init__", "modulename": "vanna.types", "qualname": "UserEmail.__init__", "kind": "function", "doc": "
\n", "signature": "(email : str ) "}, "vanna.types.UserEmail.email": {"fullname": "vanna.types.UserEmail.email", "modulename": "vanna.types", "qualname": "UserEmail.email", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.NewOrganization": {"fullname": "vanna.types.NewOrganization", "modulename": "vanna.types", "qualname": "NewOrganization", "kind": "class", "doc": "
\n"}, "vanna.types.NewOrganization.__init__": {"fullname": "vanna.types.NewOrganization.__init__", "modulename": "vanna.types", "qualname": "NewOrganization.__init__", "kind": "function", "doc": "
\n", "signature": "(org_name : str , db_type : str ) "}, "vanna.types.NewOrganization.org_name": {"fullname": "vanna.types.NewOrganization.org_name", "modulename": "vanna.types", "qualname": "NewOrganization.org_name", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.NewOrganization.db_type": {"fullname": "vanna.types.NewOrganization.db_type", "modulename": "vanna.types", "qualname": "NewOrganization.db_type", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.NewOrganizationMember": {"fullname": "vanna.types.NewOrganizationMember", "modulename": "vanna.types", "qualname": "NewOrganizationMember", "kind": "class", "doc": "
\n"}, "vanna.types.NewOrganizationMember.__init__": {"fullname": "vanna.types.NewOrganizationMember.__init__", "modulename": "vanna.types", "qualname": "NewOrganizationMember.__init__", "kind": "function", "doc": "
\n", "signature": "(org_name : str , email : str , is_admin : bool ) "}, "vanna.types.NewOrganizationMember.org_name": {"fullname": "vanna.types.NewOrganizationMember.org_name", "modulename": "vanna.types", "qualname": "NewOrganizationMember.org_name", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.NewOrganizationMember.email": {"fullname": "vanna.types.NewOrganizationMember.email", "modulename": "vanna.types", "qualname": "NewOrganizationMember.email", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.NewOrganizationMember.is_admin": {"fullname": "vanna.types.NewOrganizationMember.is_admin", "modulename": "vanna.types", "qualname": "NewOrganizationMember.is_admin", "kind": "variable", "doc": "
\n", "annotation": ": bool"}, "vanna.types.UserOTP": {"fullname": "vanna.types.UserOTP", "modulename": "vanna.types", "qualname": "UserOTP", "kind": "class", "doc": "
\n"}, "vanna.types.UserOTP.__init__": {"fullname": "vanna.types.UserOTP.__init__", "modulename": "vanna.types", "qualname": "UserOTP.__init__", "kind": "function", "doc": "
\n", "signature": "(email : str , otp : str ) "}, "vanna.types.UserOTP.email": {"fullname": "vanna.types.UserOTP.email", "modulename": "vanna.types", "qualname": "UserOTP.email", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.UserOTP.otp": {"fullname": "vanna.types.UserOTP.otp", "modulename": "vanna.types", "qualname": "UserOTP.otp", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.ApiKey": {"fullname": "vanna.types.ApiKey", "modulename": "vanna.types", "qualname": "ApiKey", "kind": "class", "doc": "
\n"}, "vanna.types.ApiKey.__init__": {"fullname": "vanna.types.ApiKey.__init__", "modulename": "vanna.types", "qualname": "ApiKey.__init__", "kind": "function", "doc": "
\n", "signature": "(key : str ) "}, "vanna.types.ApiKey.key": {"fullname": "vanna.types.ApiKey.key", "modulename": "vanna.types", "qualname": "ApiKey.key", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.QuestionId": {"fullname": "vanna.types.QuestionId", "modulename": "vanna.types", "qualname": "QuestionId", "kind": "class", "doc": "
\n"}, "vanna.types.QuestionId.__init__": {"fullname": "vanna.types.QuestionId.__init__", "modulename": "vanna.types", "qualname": "QuestionId.__init__", "kind": "function", "doc": "
\n", "signature": "(id : str ) "}, "vanna.types.QuestionId.id": {"fullname": "vanna.types.QuestionId.id", "modulename": "vanna.types", "qualname": "QuestionId.id", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.Question": {"fullname": "vanna.types.Question", "modulename": "vanna.types", "qualname": "Question", "kind": "class", "doc": "
\n"}, "vanna.types.Question.__init__": {"fullname": "vanna.types.Question.__init__", "modulename": "vanna.types", "qualname": "Question.__init__", "kind": "function", "doc": "
\n", "signature": "(question : str ) "}, "vanna.types.Question.question": {"fullname": "vanna.types.Question.question", "modulename": "vanna.types", "qualname": "Question.question", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.QuestionCategory": {"fullname": "vanna.types.QuestionCategory", "modulename": "vanna.types", "qualname": "QuestionCategory", "kind": "class", "doc": "
\n"}, "vanna.types.QuestionCategory.__init__": {"fullname": "vanna.types.QuestionCategory.__init__", "modulename": "vanna.types", "qualname": "QuestionCategory.__init__", "kind": "function", "doc": "
\n", "signature": "(question : str , category : str ) "}, "vanna.types.QuestionCategory.question": {"fullname": "vanna.types.QuestionCategory.question", "modulename": "vanna.types", "qualname": "QuestionCategory.question", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.QuestionCategory.category": {"fullname": "vanna.types.QuestionCategory.category", "modulename": "vanna.types", "qualname": "QuestionCategory.category", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"fullname": "vanna.types.QuestionCategory.NO_SQL_GENERATED", "modulename": "vanna.types", "qualname": "QuestionCategory.NO_SQL_GENERATED", "kind": "variable", "doc": "
\n", "default_value": "'No SQL Generated'"}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"fullname": "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN", "modulename": "vanna.types", "qualname": "QuestionCategory.SQL_UNABLE_TO_RUN", "kind": "variable", "doc": "
\n", "default_value": "'SQL Unable to Run'"}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"fullname": "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY", "modulename": "vanna.types", "qualname": "QuestionCategory.BOOTSTRAP_TRAINING_QUERY", "kind": "variable", "doc": "
\n", "default_value": "'Bootstrap Training Query'"}, "vanna.types.QuestionCategory.SQL_RAN": {"fullname": "vanna.types.QuestionCategory.SQL_RAN", "modulename": "vanna.types", "qualname": "QuestionCategory.SQL_RAN", "kind": "variable", "doc": "
\n", "default_value": "'SQL Ran Successfully'"}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"fullname": "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW", "modulename": "vanna.types", "qualname": "QuestionCategory.FLAGGED_FOR_REVIEW", "kind": "variable", "doc": "
\n", "default_value": "'Flagged for Review'"}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"fullname": "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED", "modulename": "vanna.types", "qualname": "QuestionCategory.REVIEWED_AND_APPROVED", "kind": "variable", "doc": "
\n", "default_value": "'Reviewed and Approved'"}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"fullname": "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED", "modulename": "vanna.types", "qualname": "QuestionCategory.REVIEWED_AND_REJECTED", "kind": "variable", "doc": "
\n", "default_value": "'Reviewed and Rejected'"}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"fullname": "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED", "modulename": "vanna.types", "qualname": "QuestionCategory.REVIEWED_AND_UPDATED", "kind": "variable", "doc": "
\n", "default_value": "'Reviewed and Updated'"}, "vanna.types.AccuracyStats": {"fullname": "vanna.types.AccuracyStats", "modulename": "vanna.types", "qualname": "AccuracyStats", "kind": "class", "doc": "
\n"}, "vanna.types.AccuracyStats.__init__": {"fullname": "vanna.types.AccuracyStats.__init__", "modulename": "vanna.types", "qualname": "AccuracyStats.__init__", "kind": "function", "doc": "
\n", "signature": "(num_questions : int , data : Dict [ str , int ] ) "}, "vanna.types.AccuracyStats.num_questions": {"fullname": "vanna.types.AccuracyStats.num_questions", "modulename": "vanna.types", "qualname": "AccuracyStats.num_questions", "kind": "variable", "doc": "
\n", "annotation": ": int"}, "vanna.types.AccuracyStats.data": {"fullname": "vanna.types.AccuracyStats.data", "modulename": "vanna.types", "qualname": "AccuracyStats.data", "kind": "variable", "doc": "
\n", "annotation": ": Dict[str, int]"}, "vanna.types.Followup": {"fullname": "vanna.types.Followup", "modulename": "vanna.types", "qualname": "Followup", "kind": "class", "doc": "
\n"}, "vanna.types.Followup.__init__": {"fullname": "vanna.types.Followup.__init__", "modulename": "vanna.types", "qualname": "Followup.__init__", "kind": "function", "doc": "
\n", "signature": "(followup : str ) "}, "vanna.types.Followup.followup": {"fullname": "vanna.types.Followup.followup", "modulename": "vanna.types", "qualname": "Followup.followup", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.QuestionEmbedding": {"fullname": "vanna.types.QuestionEmbedding", "modulename": "vanna.types", "qualname": "QuestionEmbedding", "kind": "class", "doc": "
\n"}, "vanna.types.QuestionEmbedding.__init__": {"fullname": "vanna.types.QuestionEmbedding.__init__", "modulename": "vanna.types", "qualname": "QuestionEmbedding.__init__", "kind": "function", "doc": "
\n", "signature": "(question : vanna . types . Question , embedding : List [ float ] ) "}, "vanna.types.QuestionEmbedding.question": {"fullname": "vanna.types.QuestionEmbedding.question", "modulename": "vanna.types", "qualname": "QuestionEmbedding.question", "kind": "variable", "doc": "
\n", "annotation": ": vanna.types.Question"}, "vanna.types.QuestionEmbedding.embedding": {"fullname": "vanna.types.QuestionEmbedding.embedding", "modulename": "vanna.types", "qualname": "QuestionEmbedding.embedding", "kind": "variable", "doc": "
\n", "annotation": ": List[float]"}, "vanna.types.Connection": {"fullname": "vanna.types.Connection", "modulename": "vanna.types", "qualname": "Connection", "kind": "class", "doc": "
\n"}, "vanna.types.SQLAnswer": {"fullname": "vanna.types.SQLAnswer", "modulename": "vanna.types", "qualname": "SQLAnswer", "kind": "class", "doc": "
\n"}, "vanna.types.SQLAnswer.__init__": {"fullname": "vanna.types.SQLAnswer.__init__", "modulename": "vanna.types", "qualname": "SQLAnswer.__init__", "kind": "function", "doc": "
\n", "signature": "(raw_answer : str , prefix : str , postfix : str , sql : str ) "}, "vanna.types.SQLAnswer.raw_answer": {"fullname": "vanna.types.SQLAnswer.raw_answer", "modulename": "vanna.types", "qualname": "SQLAnswer.raw_answer", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.SQLAnswer.prefix": {"fullname": "vanna.types.SQLAnswer.prefix", "modulename": "vanna.types", "qualname": "SQLAnswer.prefix", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.SQLAnswer.postfix": {"fullname": "vanna.types.SQLAnswer.postfix", "modulename": "vanna.types", "qualname": "SQLAnswer.postfix", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.SQLAnswer.sql": {"fullname": "vanna.types.SQLAnswer.sql", "modulename": "vanna.types", "qualname": "SQLAnswer.sql", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.Explanation": {"fullname": "vanna.types.Explanation", "modulename": "vanna.types", "qualname": "Explanation", "kind": "class", "doc": "
\n"}, "vanna.types.Explanation.__init__": {"fullname": "vanna.types.Explanation.__init__", "modulename": "vanna.types", "qualname": "Explanation.__init__", "kind": "function", "doc": "
\n", "signature": "(explanation : str ) "}, "vanna.types.Explanation.explanation": {"fullname": "vanna.types.Explanation.explanation", "modulename": "vanna.types", "qualname": "Explanation.explanation", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.DataResult": {"fullname": "vanna.types.DataResult", "modulename": "vanna.types", "qualname": "DataResult", "kind": "class", "doc": "
\n"}, "vanna.types.DataResult.__init__": {"fullname": "vanna.types.DataResult.__init__", "modulename": "vanna.types", "qualname": "DataResult.__init__", "kind": "function", "doc": "
\n", "signature": "(\tquestion : str | None , \tsql : str | None , \ttable_markdown : str , \terror : str | None , \tcorrection_attempts : int ) "}, "vanna.types.DataResult.question": {"fullname": "vanna.types.DataResult.question", "modulename": "vanna.types", "qualname": "DataResult.question", "kind": "variable", "doc": "
\n", "annotation": ": str | None"}, "vanna.types.DataResult.sql": {"fullname": "vanna.types.DataResult.sql", "modulename": "vanna.types", "qualname": "DataResult.sql", "kind": "variable", "doc": "
\n", "annotation": ": str | None"}, "vanna.types.DataResult.table_markdown": {"fullname": "vanna.types.DataResult.table_markdown", "modulename": "vanna.types", "qualname": "DataResult.table_markdown", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.DataResult.error": {"fullname": "vanna.types.DataResult.error", "modulename": "vanna.types", "qualname": "DataResult.error", "kind": "variable", "doc": "
\n", "annotation": ": str | None"}, "vanna.types.DataResult.correction_attempts": {"fullname": "vanna.types.DataResult.correction_attempts", "modulename": "vanna.types", "qualname": "DataResult.correction_attempts", "kind": "variable", "doc": "
\n", "annotation": ": int"}, "vanna.types.PlotlyResult": {"fullname": "vanna.types.PlotlyResult", "modulename": "vanna.types", "qualname": "PlotlyResult", "kind": "class", "doc": "
\n"}, "vanna.types.PlotlyResult.__init__": {"fullname": "vanna.types.PlotlyResult.__init__", "modulename": "vanna.types", "qualname": "PlotlyResult.__init__", "kind": "function", "doc": "
\n", "signature": "(plotly_code : str ) "}, "vanna.types.PlotlyResult.plotly_code": {"fullname": "vanna.types.PlotlyResult.plotly_code", "modulename": "vanna.types", "qualname": "PlotlyResult.plotly_code", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.WarehouseDefinition": {"fullname": "vanna.types.WarehouseDefinition", "modulename": "vanna.types", "qualname": "WarehouseDefinition", "kind": "class", "doc": "
\n"}, "vanna.types.WarehouseDefinition.__init__": {"fullname": "vanna.types.WarehouseDefinition.__init__", "modulename": "vanna.types", "qualname": "WarehouseDefinition.__init__", "kind": "function", "doc": "
\n", "signature": "(name : str , tables : List [ vanna . types . TableDefinition ] ) "}, "vanna.types.WarehouseDefinition.name": {"fullname": "vanna.types.WarehouseDefinition.name", "modulename": "vanna.types", "qualname": "WarehouseDefinition.name", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.WarehouseDefinition.tables": {"fullname": "vanna.types.WarehouseDefinition.tables", "modulename": "vanna.types", "qualname": "WarehouseDefinition.tables", "kind": "variable", "doc": "
\n", "annotation": ": List[vanna.types.TableDefinition]"}, "vanna.types.TableDefinition": {"fullname": "vanna.types.TableDefinition", "modulename": "vanna.types", "qualname": "TableDefinition", "kind": "class", "doc": "
\n"}, "vanna.types.TableDefinition.__init__": {"fullname": "vanna.types.TableDefinition.__init__", "modulename": "vanna.types", "qualname": "TableDefinition.__init__", "kind": "function", "doc": "
\n", "signature": "(\tschema_name : str , \ttable_name : str , \tddl : str | None , \tcolumns : List [ vanna . types . ColumnDefinition ] ) "}, "vanna.types.TableDefinition.schema_name": {"fullname": "vanna.types.TableDefinition.schema_name", "modulename": "vanna.types", "qualname": "TableDefinition.schema_name", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.TableDefinition.table_name": {"fullname": "vanna.types.TableDefinition.table_name", "modulename": "vanna.types", "qualname": "TableDefinition.table_name", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.TableDefinition.ddl": {"fullname": "vanna.types.TableDefinition.ddl", "modulename": "vanna.types", "qualname": "TableDefinition.ddl", "kind": "variable", "doc": "
\n", "annotation": ": str | None"}, "vanna.types.TableDefinition.columns": {"fullname": "vanna.types.TableDefinition.columns", "modulename": "vanna.types", "qualname": "TableDefinition.columns", "kind": "variable", "doc": "
\n", "annotation": ": List[vanna.types.ColumnDefinition]"}, "vanna.types.ColumnDefinition": {"fullname": "vanna.types.ColumnDefinition", "modulename": "vanna.types", "qualname": "ColumnDefinition", "kind": "class", "doc": "
\n"}, "vanna.types.ColumnDefinition.__init__": {"fullname": "vanna.types.ColumnDefinition.__init__", "modulename": "vanna.types", "qualname": "ColumnDefinition.__init__", "kind": "function", "doc": "
\n", "signature": "(\tname : str , \ttype : str , \tis_primary_key : bool , \tis_foreign_key : bool , \tforeign_key_table : str , \tforeign_key_column : str ) "}, "vanna.types.ColumnDefinition.name": {"fullname": "vanna.types.ColumnDefinition.name", "modulename": "vanna.types", "qualname": "ColumnDefinition.name", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.ColumnDefinition.type": {"fullname": "vanna.types.ColumnDefinition.type", "modulename": "vanna.types", "qualname": "ColumnDefinition.type", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.ColumnDefinition.is_primary_key": {"fullname": "vanna.types.ColumnDefinition.is_primary_key", "modulename": "vanna.types", "qualname": "ColumnDefinition.is_primary_key", "kind": "variable", "doc": "
\n", "annotation": ": bool"}, "vanna.types.ColumnDefinition.is_foreign_key": {"fullname": "vanna.types.ColumnDefinition.is_foreign_key", "modulename": "vanna.types", "qualname": "ColumnDefinition.is_foreign_key", "kind": "variable", "doc": "
\n", "annotation": ": bool"}, "vanna.types.ColumnDefinition.foreign_key_table": {"fullname": "vanna.types.ColumnDefinition.foreign_key_table", "modulename": "vanna.types", "qualname": "ColumnDefinition.foreign_key_table", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.ColumnDefinition.foreign_key_column": {"fullname": "vanna.types.ColumnDefinition.foreign_key_column", "modulename": "vanna.types", "qualname": "ColumnDefinition.foreign_key_column", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.Diagram": {"fullname": "vanna.types.Diagram", "modulename": "vanna.types", "qualname": "Diagram", "kind": "class", "doc": "
\n"}, "vanna.types.Diagram.__init__": {"fullname": "vanna.types.Diagram.__init__", "modulename": "vanna.types", "qualname": "Diagram.__init__", "kind": "function", "doc": "
\n", "signature": "(raw : str , mermaid_code : str ) "}, "vanna.types.Diagram.raw": {"fullname": "vanna.types.Diagram.raw", "modulename": "vanna.types", "qualname": "Diagram.raw", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.Diagram.mermaid_code": {"fullname": "vanna.types.Diagram.mermaid_code", "modulename": "vanna.types", "qualname": "Diagram.mermaid_code", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.StringData": {"fullname": "vanna.types.StringData", "modulename": "vanna.types", "qualname": "StringData", "kind": "class", "doc": "
\n"}, "vanna.types.StringData.__init__": {"fullname": "vanna.types.StringData.__init__", "modulename": "vanna.types", "qualname": "StringData.__init__", "kind": "function", "doc": "
\n", "signature": "(data : str ) "}, "vanna.types.StringData.data": {"fullname": "vanna.types.StringData.data", "modulename": "vanna.types", "qualname": "StringData.data", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.DataFrameJSON": {"fullname": "vanna.types.DataFrameJSON", "modulename": "vanna.types", "qualname": "DataFrameJSON", "kind": "class", "doc": "
\n"}, "vanna.types.DataFrameJSON.__init__": {"fullname": "vanna.types.DataFrameJSON.__init__", "modulename": "vanna.types", "qualname": "DataFrameJSON.__init__", "kind": "function", "doc": "
\n", "signature": "(data : str ) "}, "vanna.types.DataFrameJSON.data": {"fullname": "vanna.types.DataFrameJSON.data", "modulename": "vanna.types", "qualname": "DataFrameJSON.data", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.TrainingData": {"fullname": "vanna.types.TrainingData", "modulename": "vanna.types", "qualname": "TrainingData", "kind": "class", "doc": "
\n"}, "vanna.types.TrainingData.__init__": {"fullname": "vanna.types.TrainingData.__init__", "modulename": "vanna.types", "qualname": "TrainingData.__init__", "kind": "function", "doc": "
\n", "signature": "(questions : List [ dict ] , ddl : List [ str ] , documentation : List [ str ] ) "}, "vanna.types.TrainingData.questions": {"fullname": "vanna.types.TrainingData.questions", "modulename": "vanna.types", "qualname": "TrainingData.questions", "kind": "variable", "doc": "
\n", "annotation": ": List[dict]"}, "vanna.types.TrainingData.ddl": {"fullname": "vanna.types.TrainingData.ddl", "modulename": "vanna.types", "qualname": "TrainingData.ddl", "kind": "variable", "doc": "
\n", "annotation": ": List[str]"}, "vanna.types.TrainingData.documentation": {"fullname": "vanna.types.TrainingData.documentation", "modulename": "vanna.types", "qualname": "TrainingData.documentation", "kind": "variable", "doc": "
\n", "annotation": ": List[str]"}, "vanna.types.TrainingPlanItem": {"fullname": "vanna.types.TrainingPlanItem", "modulename": "vanna.types", "qualname": "TrainingPlanItem", "kind": "class", "doc": "
\n"}, "vanna.types.TrainingPlanItem.__init__": {"fullname": "vanna.types.TrainingPlanItem.__init__", "modulename": "vanna.types", "qualname": "TrainingPlanItem.__init__", "kind": "function", "doc": "
\n", "signature": "(item_type : str , item_group : str , item_name : str , item_value : str ) "}, "vanna.types.TrainingPlanItem.item_type": {"fullname": "vanna.types.TrainingPlanItem.item_type", "modulename": "vanna.types", "qualname": "TrainingPlanItem.item_type", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.TrainingPlanItem.item_group": {"fullname": "vanna.types.TrainingPlanItem.item_group", "modulename": "vanna.types", "qualname": "TrainingPlanItem.item_group", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.TrainingPlanItem.item_name": {"fullname": "vanna.types.TrainingPlanItem.item_name", "modulename": "vanna.types", "qualname": "TrainingPlanItem.item_name", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.TrainingPlanItem.item_value": {"fullname": "vanna.types.TrainingPlanItem.item_value", "modulename": "vanna.types", "qualname": "TrainingPlanItem.item_value", "kind": "variable", "doc": "
\n", "annotation": ": str"}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"fullname": "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL", "modulename": "vanna.types", "qualname": "TrainingPlanItem.ITEM_TYPE_SQL", "kind": "variable", "doc": "
\n", "default_value": "'sql'"}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"fullname": "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL", "modulename": "vanna.types", "qualname": "TrainingPlanItem.ITEM_TYPE_DDL", "kind": "variable", "doc": "
\n", "default_value": "'ddl'"}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"fullname": "vanna.types.TrainingPlanItem.ITEM_TYPE_IS", "modulename": "vanna.types", "qualname": "TrainingPlanItem.ITEM_TYPE_IS", "kind": "variable", "doc": "
\n", "default_value": "'is'"}, "vanna.types.TrainingPlan": {"fullname": "vanna.types.TrainingPlan", "modulename": "vanna.types", "qualname": "TrainingPlan", "kind": "class", "doc": "A class representing a training plan. You can see what's in it, and remove items from it that you don't want trained.
\n\nExample:
\n\n\n
plan = vn . get_training_plan () \n\nplan . get_summary () \n
\n
\n"}, "vanna.types.TrainingPlan.__init__": {"fullname": "vanna.types.TrainingPlan.__init__", "modulename": "vanna.types", "qualname": "TrainingPlan.__init__", "kind": "function", "doc": "
\n", "signature": "(plan : List [ vanna . types . TrainingPlanItem ] ) "}, "vanna.types.TrainingPlan.get_summary": {"fullname": "vanna.types.TrainingPlan.get_summary", "modulename": "vanna.types", "qualname": "TrainingPlan.get_summary", "kind": "function", "doc": "Example:
\n\n\n
plan = vn . get_training_plan () \n\nplan . get_summary () \n
\n
\n\nGet a summary of the training plan.
\n\nReturns: \n\n\n List[str]: A list of strings describing the training plan.
\n \n", "signature": "(self ) -> List [ str ] : ", "funcdef": "def"}, "vanna.types.TrainingPlan.remove_item": {"fullname": "vanna.types.TrainingPlan.remove_item", "modulename": "vanna.types", "qualname": "TrainingPlan.remove_item", "kind": "function", "doc": "Example:
\n\n\n
plan = vn . get_training_plan () \n\nplan . remove_item ( "Train on SQL: What is the average salary of employees?" ) \n
\n
\n\nRemove an item from the training plan.
\n\nArguments: \n\n\nitem (str): The item to remove. \n \n", "signature": "(self , item : str ): ", "funcdef": "def"}, "vanna.utils": {"fullname": "vanna.utils", "modulename": "vanna.utils", "kind": "module", "doc": "
\n"}, "vanna.utils.validate_config_path": {"fullname": "vanna.utils.validate_config_path", "modulename": "vanna.utils", "qualname": "validate_config_path", "kind": "function", "doc": "
\n", "signature": "(path ): ", "funcdef": "def"}, "vanna.utils.sanitize_model_name": {"fullname": "vanna.utils.sanitize_model_name", "modulename": "vanna.utils", "qualname": "sanitize_model_name", "kind": "function", "doc": "
\n", "signature": "(model_name ): ", "funcdef": "def"}}, "docInfo": {"vanna": {"qualname": 0, "fullname": 1, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 635}, "vanna.api_key": {"qualname": 2, "fullname": 3, "annotation": 2, "default_value": 1, "signature": 0, "bases": 0, "doc": 3}, "vanna.run_sql": {"qualname": 2, "fullname": 3, "annotation": 6, "default_value": 1, "signature": 0, "bases": 0, "doc": 106}, "vanna.get_api_key": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 43, "bases": 0, "doc": 117}, "vanna.set_api_key": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 100}, "vanna.get_models": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 16, "bases": 0, "doc": 64}, "vanna.create_model": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 30, "bases": 0, "doc": 135}, "vanna.add_user_to_model": {"qualname": 4, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 149}, "vanna.update_model_visibility": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 116}, "vanna.set_model": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 16, "bases": 0, "doc": 73}, "vanna.add_sql": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 57, "bases": 0, "doc": 159}, "vanna.add_ddl": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 106}, "vanna.add_documentation": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 113}, "vanna.TrainingPlanItem": {"qualname": 1, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.TrainingPlanItem.__init__": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 48, "bases": 0, "doc": 3}, "vanna.TrainingPlanItem.item_type": {"qualname": 3, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.TrainingPlanItem.item_group": {"qualname": 3, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.TrainingPlanItem.item_name": {"qualname": 3, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.TrainingPlanItem.item_value": {"qualname": 3, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"qualname": 4, "fullname": 5, "annotation": 0, "default_value": 5, "signature": 0, "bases": 0, "doc": 3}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"qualname": 4, "fullname": 5, "annotation": 0, "default_value": 5, "signature": 0, "bases": 0, "doc": 3}, "vanna.TrainingPlanItem.ITEM_TYPE_IS": {"qualname": 4, "fullname": 5, "annotation": 0, "default_value": 5, "signature": 0, "bases": 0, "doc": 3}, "vanna.TrainingPlan": {"qualname": 1, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 75}, "vanna.TrainingPlan.__init__": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 25, "bases": 0, "doc": 3}, "vanna.TrainingPlan.get_summary": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 20, "bases": 0, "doc": 77}, "vanna.TrainingPlan.remove_item": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 21, "bases": 0, "doc": 95}, "vanna.get_training_plan_postgres": {"qualname": 4, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 112, "bases": 0, "doc": 3}, "vanna.get_training_plan_generic": {"qualname": 4, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 3}, "vanna.get_training_plan_experimental": {"qualname": 4, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 112, "bases": 0, "doc": 130}, "vanna.train": {"qualname": 1, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 142, "bases": 0, "doc": 280}, "vanna.flag_sql_for_review": {"qualname": 4, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 69, "bases": 0, "doc": 149}, "vanna.remove_sql": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 83}, "vanna.remove_training_data": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 75}, "vanna.generate_sql": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 113}, "vanna.get_related_training_data": {"qualname": 4, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 29, "bases": 0, "doc": 115}, "vanna.generate_meta": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 116}, "vanna.generate_followup_questions": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 50, "bases": 0, "doc": 166}, "vanna.generate_questions": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 16, "bases": 0, "doc": 82}, "vanna.ask": {"qualname": 1, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 170, "bases": 0, "doc": 323}, "vanna.generate_plotly_code": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 94, "bases": 0, "doc": 201}, "vanna.get_plotly_figure": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 83, "bases": 0, "doc": 150}, "vanna.get_results": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 50, "bases": 0, "doc": 98}, "vanna.generate_explanation": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 131}, "vanna.generate_question": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 123}, "vanna.get_all_questions": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 25, "bases": 0, "doc": 73}, "vanna.get_training_data": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 25, "bases": 0, "doc": 70}, "vanna.connect_to_sqlite": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 16, "bases": 0, "doc": 55}, "vanna.connect_to_snowflake": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 74, "bases": 0, "doc": 210}, "vanna.connect_to_postgres": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 96, "bases": 0, "doc": 193}, "vanna.connect_to_bigquery": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 43, "bases": 0, "doc": 130}, "vanna.base": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.base.VannaBase": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 2, "doc": 16}, "vanna.base.VannaBase.config": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.base.VannaBase.run_sql_is_set": {"qualname": 5, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.base.VannaBase.generate_sql_from_question": {"qualname": 5, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.VannaBase.generate_embedding": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 37, "bases": 0, "doc": 3}, "vanna.base.VannaBase.get_similar_question_sql": {"qualname": 5, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.VannaBase.get_related_ddl": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.VannaBase.get_related_documentation": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.VannaBase.add_question_sql": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 3}, "vanna.base.VannaBase.add_ddl": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 28, "bases": 0, "doc": 3}, "vanna.base.VannaBase.add_documentation": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 28, "bases": 0, "doc": 3}, "vanna.base.VannaBase.get_prompt": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 68, "bases": 0, "doc": 3}, "vanna.base.VannaBase.submit_prompt": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 26, "bases": 0, "doc": 3}, "vanna.base.VannaBase.generate_question": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.VannaBase.generate_plotly_code": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 78, "bases": 0, "doc": 3}, "vanna.base.VannaBase.connect_to_snowflake": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 80, "bases": 0, "doc": 3}, "vanna.base.VannaBase.run_sql": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 41, "bases": 0, "doc": 3}, "vanna.base.VannaBase.ask": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 143, "bases": 0, "doc": 3}, "vanna.base.VannaBase.train": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 115, "bases": 0, "doc": 225}, "vanna.base.VannaBase.get_training_plan_snowflake": {"qualname": 5, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 123, "bases": 0, "doc": 3}, "vanna.base.VannaBase.get_plotly_figure": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 89, "bases": 0, "doc": 150}, "vanna.base.SplitStorage": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 1, "doc": 16}, "vanna.base.SplitStorage.get_similar_question_sql": {"qualname": 5, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.SplitStorage.get_related_ddl": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.SplitStorage.get_related_documentation": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.SplitStorage.store_question_sql_embedding": {"qualname": 5, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.SplitStorage.store_ddl_embedding": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.SplitStorage.store_documentation_embedding": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"qualname": 6, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.SplitStorage.get_related_ddl_ids": {"qualname": 5, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.SplitStorage.get_related_documentation_ids": {"qualname": 5, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.base.SplitStorage.get_question_sql": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 33, "bases": 0, "doc": 3}, "vanna.base.SplitStorage.get_documentation": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 32, "bases": 0, "doc": 3}, "vanna.base.SplitStorage.get_ddl": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 32, "bases": 0, "doc": 3}, "vanna.chromadb_vector": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.chromadb_vector.default_ef": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 12, "signature": 0, "bases": 0, "doc": 3}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 3, "doc": 16}, "vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 37, "bases": 0, "doc": 3}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"qualname": 5, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 38, "bases": 0, "doc": 3}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 28, "bases": 0, "doc": 3}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 28, "bases": 0, "doc": 3}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"qualname": 6, "fullname": 9, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"qualname": 5, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"qualname": 5, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.exceptions": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.exceptions.ImproperlyConfigured": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 2, "doc": 7}, "vanna.exceptions.DependencyError": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 2, "doc": 7}, "vanna.exceptions.ConnectionError": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 2, "doc": 5}, "vanna.exceptions.OTPCodeError": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 2, "doc": 12}, "vanna.exceptions.SQLRemoveError": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 2, "doc": 9}, "vanna.exceptions.ExecutionError": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 2, "doc": 9}, "vanna.exceptions.ValidationError": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 2, "doc": 5}, "vanna.exceptions.APIError": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 2, "doc": 6}, "vanna.local": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.local.LocalContext_OpenAI": {"qualname": 2, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 0, "bases": 10, "doc": 16}, "vanna.local.LocalContext_OpenAI.__init__": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.mock": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.mock.MockModel": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 5, "doc": 16}, "vanna.mock.MockModel.get_prompt": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 71, "bases": 0, "doc": 3}, "vanna.mock.MockModel.submit_prompt": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.openai_chat": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.openai_chat.OpenAI_Chat": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 3, "doc": 16}, "vanna.openai_chat.OpenAI_Chat.system_message": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 3}, "vanna.openai_chat.OpenAI_Chat.user_message": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 3}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 3}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 71, "bases": 0, "doc": 3}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 31, "bases": 0, "doc": 3}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"qualname": 5, "fullname": 8, "annotation": 0, "default_value": 0, "signature": 78, "bases": 0, "doc": 3}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 26, "bases": 0, "doc": 3}, "vanna.openai_embeddings": {"qualname": 0, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.openai_embeddings.OpenAI_Embeddings": {"qualname": 2, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 0, "bases": 3, "doc": 16}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"qualname": 4, "fullname": 7, "annotation": 0, "default_value": 0, "signature": 37, "bases": 0, "doc": 3}, "vanna.types": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Status": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Status.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 3}, "vanna.types.Status.success": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Status.message": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionList": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionList.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 30, "bases": 0, "doc": 3}, "vanna.types.QuestionList.questions": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 127, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument.id": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument.question": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument.answer": {"qualname": 2, "fullname": 4, "annotation": 6, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument.data": {"qualname": 2, "fullname": 4, "annotation": 6, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument.plotly": {"qualname": 2, "fullname": 4, "annotation": 6, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionSQLPair": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionSQLPair.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 3}, "vanna.types.QuestionSQLPair.question": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionSQLPair.sql": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionSQLPair.tag": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Organization": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Organization.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 59, "bases": 0, "doc": 3}, "vanna.types.Organization.name": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Organization.user": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Organization.connection": {"qualname": 2, "fullname": 4, "annotation": 6, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.OrganizationList": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.OrganizationList.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 20, "bases": 0, "doc": 3}, "vanna.types.OrganizationList.organizations": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionStringList": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionStringList.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 20, "bases": 0, "doc": 3}, "vanna.types.QuestionStringList.questions": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Visibility": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Visibility.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.Visibility.visibility": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.UserEmail": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.UserEmail.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.UserEmail.email": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.NewOrganization": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.NewOrganization.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 26, "bases": 0, "doc": 3}, "vanna.types.NewOrganization.org_name": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.NewOrganization.db_type": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.NewOrganizationMember": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.NewOrganizationMember.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 36, "bases": 0, "doc": 3}, "vanna.types.NewOrganizationMember.org_name": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.NewOrganizationMember.email": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.NewOrganizationMember.is_admin": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.UserOTP": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.UserOTP.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 3}, "vanna.types.UserOTP.email": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.UserOTP.otp": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ApiKey": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ApiKey.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.ApiKey.key": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionId": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionId.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.QuestionId.id": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Question": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Question.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.Question.question": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.question": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.category": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"qualname": 5, "fullname": 7, "annotation": 0, "default_value": 8, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.SQL_RAN": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.AccuracyStats": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.AccuracyStats.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 37, "bases": 0, "doc": 3}, "vanna.types.AccuracyStats.num_questions": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.AccuracyStats.data": {"qualname": 2, "fullname": 4, "annotation": 3, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Followup": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Followup.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.Followup.followup": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionEmbedding": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionEmbedding.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 3}, "vanna.types.QuestionEmbedding.question": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionEmbedding.embedding": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Connection": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.SQLAnswer": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.SQLAnswer.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 45, "bases": 0, "doc": 3}, "vanna.types.SQLAnswer.raw_answer": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.SQLAnswer.prefix": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.SQLAnswer.postfix": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.SQLAnswer.sql": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Explanation": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Explanation.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.Explanation.explanation": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataResult": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataResult.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 79, "bases": 0, "doc": 3}, "vanna.types.DataResult.question": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataResult.sql": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataResult.table_markdown": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataResult.error": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataResult.correction_attempts": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.PlotlyResult": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.PlotlyResult.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 15, "bases": 0, "doc": 3}, "vanna.types.PlotlyResult.plotly_code": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.WarehouseDefinition": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.WarehouseDefinition.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 3}, "vanna.types.WarehouseDefinition.name": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.WarehouseDefinition.tables": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TableDefinition": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TableDefinition.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 72, "bases": 0, "doc": 3}, "vanna.types.TableDefinition.schema_name": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TableDefinition.table_name": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TableDefinition.ddl": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TableDefinition.columns": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 78, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.name": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.type": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.is_primary_key": {"qualname": 4, "fullname": 6, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.is_foreign_key": {"qualname": 4, "fullname": 6, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.foreign_key_table": {"qualname": 4, "fullname": 6, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.foreign_key_column": {"qualname": 4, "fullname": 6, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Diagram": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Diagram.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 25, "bases": 0, "doc": 3}, "vanna.types.Diagram.raw": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Diagram.mermaid_code": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.StringData": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.StringData.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.StringData.data": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataFrameJSON": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataFrameJSON.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.DataFrameJSON.data": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingData": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingData.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 52, "bases": 0, "doc": 3}, "vanna.types.TrainingData.questions": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingData.ddl": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingData.documentation": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingPlanItem": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingPlanItem.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 48, "bases": 0, "doc": 3}, "vanna.types.TrainingPlanItem.item_type": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingPlanItem.item_group": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingPlanItem.item_name": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingPlanItem.item_value": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 5, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 5, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 5, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TrainingPlan": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 75}, "vanna.types.TrainingPlan.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 30, "bases": 0, "doc": 3}, "vanna.types.TrainingPlan.get_summary": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 20, "bases": 0, "doc": 77}, "vanna.types.TrainingPlan.remove_item": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 21, "bases": 0, "doc": 95}, "vanna.utils": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.utils.validate_config_path": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 11, "bases": 0, "doc": 3}, "vanna.utils.sanitize_model_name": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 12, "bases": 0, "doc": 3}}, "length": 278, "save": true}, "index": {"qualname": {"root": {"docs": {"vanna.TrainingPlanItem.__init__": {"tf": 1}, "vanna.TrainingPlan.__init__": {"tf": 1}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.OrganizationList.__init__": {"tf": 1}, "vanna.types.QuestionStringList.__init__": {"tf": 1}, "vanna.types.Visibility.__init__": {"tf": 1}, "vanna.types.UserEmail.__init__": {"tf": 1}, "vanna.types.NewOrganization.__init__": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}, "vanna.types.UserOTP.__init__": {"tf": 1}, "vanna.types.ApiKey.__init__": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}, "vanna.types.StringData.__init__": {"tf": 1}, "vanna.types.DataFrameJSON.__init__": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1}, "vanna.types.TrainingPlan.__init__": {"tf": 1}}, "df": 35, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"vanna.api_key": {"tf": 1}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}}, "df": 3, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.APIError": {"tf": 1}}, "df": 1}}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.ApiKey": {"tf": 1}, "vanna.types.ApiKey.__init__": {"tf": 1}, "vanna.types.ApiKey.key": {"tf": 1}}, "df": 3}}}}, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}}, "df": 1}}}}}}}, "d": {"docs": {}, "df": 0, "d": {"docs": {"vanna.add_user_to_model": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.add_ddl": {"tf": 1}, "vanna.base.VannaBase.add_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}}, "df": 10}, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.NewOrganizationMember.is_admin": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "k": {"docs": {"vanna.ask": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}}, "df": 2}, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {"vanna.get_all_questions": {"tf": 1}}, "df": 1}}, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}}, "df": 2}}}}, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 3}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.AccuracyStats": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}}, "df": 4}}}}}}}}}}}}, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 1}}}}}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"vanna.api_key": {"tf": 1}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}, "vanna.types.ApiKey.key": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 8}}}, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {"vanna.run_sql": {"tf": 1}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 4}}, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 4}}}}, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "w": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 3}}}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.get_related_training_data": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}}, "df": 9}}}}}, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}}, "df": 1}}}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.QuestionCategory.SQL_RAN": {"tf": 1}}, "df": 1}, "w": {"docs": {"vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}}, "df": 2}}}, "s": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna.run_sql": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.QuestionCategory.SQL_RAN": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}}, "df": 25, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_sqlite": {"tf": 1}}, "df": 1}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.SQLRemoveError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.SQLAnswer": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.SQLAnswer.prefix": {"tf": 1}, "vanna.types.SQLAnswer.postfix": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}}, "df": 6}}}}}}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {"vanna.set_api_key": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1}}, "df": 3}}, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}}, "df": 2}}}}}, "b": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"vanna.base.VannaBase.submit_prompt": {"tf": 1}, "vanna.mock.MockModel.submit_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1}}, "df": 3}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.Status.success": {"tf": 1}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 3}}}}}}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {"vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}}, "df": 4}}}}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.base.SplitStorage": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_ddl": {"tf": 1}}, "df": 13}}}}}}}}}}}, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}}, "df": 3}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.Status": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.Status.success": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}}, "df": 4}}}}, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.StringData": {"tf": 1}, "vanna.types.StringData.__init__": {"tf": 1}, "vanna.types.StringData.data": {"tf": 1}}, "df": 3}}}}}}}}}, "y": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1}}, "df": 1}}}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.TableDefinition.schema_name": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "e": {"docs": {"vanna.utils.sanitize_model_name": {"tf": 1}}, "df": 1}}}}}}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.get_models": {"tf": 1}, "vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_generic": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}}, "df": 32}, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {"vanna.get_training_plan_generic": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_sql": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.base.VannaBase.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}}, "df": 15, "d": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"vanna.TrainingPlanItem.item_group": {"tf": 1}, "vanna.types.TrainingPlanItem.item_group": {"tf": 1}}, "df": 2}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.utils.sanitize_model_name": {"tf": 1}}, "df": 5, "s": {"docs": {"vanna.get_models": {"tf": 1}}, "df": 1}}}}, "c": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"vanna.mock.MockModel": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.mock.MockModel.submit_prompt": {"tf": 1}}, "df": 3}}}}}}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.generate_meta": {"tf": 1}}, "df": 1}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}}, "df": 4}}}}}, "r": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.table_markdown": {"tf": 1}}, "df": 1}}}}}}}}, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.create_model": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 5}}, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}}, "df": 5, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Organization.connection": {"tf": 1}, "vanna.types.Connection": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.ConnectionError": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {"vanna.base.VannaBase.config": {"tf": 1}, "vanna.utils.validate_config_path": {"tf": 1}}, "df": 2}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"tf": 1}}, "df": 3}}}}}}}, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 8}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 1}}}}}}}}}, "h": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {"vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"tf": 1}}, "df": 1, "d": {"docs": {}, "df": 0, "b": {"docs": {"vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}}, "df": 12}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1}}, "df": 8}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.category": {"tf": 1}}, "df": 1}}}}}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.add_user_to_model": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}}, "df": 3, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.UserEmail": {"tf": 1}, "vanna.types.UserEmail.__init__": {"tf": 1}, "vanna.types.UserEmail.email": {"tf": 1}}, "df": 3}}}}}, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.UserOTP": {"tf": 1}, "vanna.types.UserOTP.__init__": {"tf": 1}, "vanna.types.UserOTP.email": {"tf": 1}, "vanna.types.UserOTP.otp": {"tf": 1}}, "df": 4}}}}}}, "p": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.update_model_visibility": {"tf": 1}}, "df": 1, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {}, "df": 0, "o": {"docs": {"vanna.add_user_to_model": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 7}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 2, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_generic": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 8, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna.TrainingPlan": {"tf": 1}, "vanna.TrainingPlan.__init__": {"tf": 1}, "vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan.__init__": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 8, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"vanna.TrainingPlanItem": {"tf": 1}, "vanna.TrainingPlanItem.__init__": {"tf": 1}, "vanna.TrainingPlanItem.item_type": {"tf": 1}, "vanna.TrainingPlanItem.item_group": {"tf": 1}, "vanna.TrainingPlanItem.item_name": {"tf": 1}, "vanna.TrainingPlanItem.item_value": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.types.TrainingPlanItem": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1}, "vanna.types.TrainingPlanItem.item_type": {"tf": 1}, "vanna.types.TrainingPlanItem.item_group": {"tf": 1}, "vanna.types.TrainingPlanItem.item_name": {"tf": 1}, "vanna.types.TrainingPlanItem.item_value": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}}, "df": 18}}}}}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.TrainingData": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1}, "vanna.types.TrainingData.questions": {"tf": 1}, "vanna.types.TrainingData.ddl": {"tf": 1}, "vanna.types.TrainingData.documentation": {"tf": 1}}, "df": 5}}}}}}}}}}}, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"vanna.TrainingPlanItem.item_type": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.types.NewOrganization.db_type": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.TrainingPlanItem.item_type": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}}, "df": 10}}}, "a": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionSQLPair.tag": {"tf": 1}}, "df": 1}, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}}, "df": 3, "s": {"docs": {"vanna.types.WarehouseDefinition.tables": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.TableDefinition": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}, "vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 6}}}}}}}}}}}}}}}, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "y": {"docs": {"vanna.update_model_visibility": {"tf": 1}, "vanna.types.Visibility": {"tf": 1}, "vanna.types.Visibility.__init__": {"tf": 1}, "vanna.types.Visibility.visibility": {"tf": 1.4142135623730951}}, "df": 4}}}}}}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"vanna.TrainingPlanItem.item_value": {"tf": 1}, "vanna.types.TrainingPlanItem.item_value": {"tf": 1}}, "df": 2}}, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.ValidationError": {"tf": 1}}, "df": 1}}}}}}}}, "e": {"docs": {"vanna.utils.validate_config_path": {"tf": 1}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.base.VannaBase": {"tf": 1}, "vanna.base.VannaBase.config": {"tf": 1}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.add_ddl": {"tf": 1}, "vanna.base.VannaBase.add_documentation": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.submit_prompt": {"tf": 1}, "vanna.base.VannaBase.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 21}}}}}}}}, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}}, "df": 12}}}}}}}}}}}, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "l": {"docs": {"vanna.add_ddl": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.add_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}, "vanna.types.TrainingData.ddl": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}}, "df": 14}}, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.add_documentation": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.add_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.base.SplitStorage.get_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}, "vanna.types.TrainingData.documentation": {"tf": 1}}, "df": 11}}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.remove_training_data": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}, "vanna.types.StringData.data": {"tf": 1}, "vanna.types.DataFrameJSON.data": {"tf": 1}}, "df": 7, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.DataResult": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1}, "vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 7}}}}}}, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataFrameJSON": {"tf": 1}, "vanna.types.DataFrameJSON.__init__": {"tf": 1}, "vanna.types.DataFrameJSON.data": {"tf": 1}}, "df": 3}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}}}}}, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.DependencyError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}, "b": {"docs": {"vanna.types.NewOrganization.db_type": {"tf": 1}}, "df": 1}, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {"vanna.types.Diagram": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 4}}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"vanna.TrainingPlanItem.__init__": {"tf": 1}, "vanna.TrainingPlan.__init__": {"tf": 1}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.OrganizationList.__init__": {"tf": 1}, "vanna.types.QuestionStringList.__init__": {"tf": 1}, "vanna.types.Visibility.__init__": {"tf": 1}, "vanna.types.UserEmail.__init__": {"tf": 1}, "vanna.types.NewOrganization.__init__": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}, "vanna.types.UserOTP.__init__": {"tf": 1}, "vanna.types.ApiKey.__init__": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}, "vanna.types.StringData.__init__": {"tf": 1}, "vanna.types.DataFrameJSON.__init__": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1}, "vanna.types.TrainingPlan.__init__": {"tf": 1}}, "df": 35}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"vanna.TrainingPlanItem.item_type": {"tf": 1}, "vanna.TrainingPlanItem.item_group": {"tf": 1}, "vanna.TrainingPlanItem.item_name": {"tf": 1}, "vanna.TrainingPlanItem.item_value": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.types.TrainingPlanItem.item_type": {"tf": 1}, "vanna.types.TrainingPlanItem.item_group": {"tf": 1}, "vanna.types.TrainingPlanItem.item_name": {"tf": 1}, "vanna.types.TrainingPlanItem.item_value": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 16}}}, "s": {"docs": {"vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1}, "vanna.types.NewOrganizationMember.is_admin": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}}, "df": 6}, "d": {"docs": {"vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}}, "df": 2, "s": {"docs": {"vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}}, "df": 3}}, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.exceptions.ImproperlyConfigured": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.TrainingPlanItem.item_name": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.NewOrganization.org_name": {"tf": 1}, "vanna.types.NewOrganizationMember.org_name": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.TrainingPlanItem.item_name": {"tf": 1}, "vanna.utils.sanitize_model_name": {"tf": 1}}, "df": 10}}}, "e": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.NewOrganization": {"tf": 1}, "vanna.types.NewOrganization.__init__": {"tf": 1}, "vanna.types.NewOrganization.org_name": {"tf": 1}, "vanna.types.NewOrganization.db_type": {"tf": 1}}, "df": 4, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.NewOrganizationMember": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}, "vanna.types.NewOrganizationMember.org_name": {"tf": 1}, "vanna.types.NewOrganizationMember.email": {"tf": 1}, "vanna.types.NewOrganizationMember.is_admin": {"tf": 1}}, "df": 5}}}}}}}}}}}}}}}}}}}}, "o": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1}, "u": {"docs": {}, "df": 0, "m": {"docs": {"vanna.types.AccuracyStats.num_questions": {"tf": 1}}, "df": 1}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_generic": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 4}}, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}}, "df": 7, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.PlotlyResult": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}}, "df": 3}}}}}}}}}}}, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}}, "df": 2}}}}, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.postfix": {"tf": 1}}, "df": 1}}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {"vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.submit_prompt": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.mock.MockModel.submit_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1}}, "df": 6}}}}, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.prefix": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {"vanna.utils.validate_config_path": {"tf": 1}}, "df": 1}}}}, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1}}, "df": 1}}}}}}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.generate_explanation": {"tf": 1}, "vanna.types.Explanation": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1.4142135623730951}}, "df": 4}}}}}}}}}, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.ExecutionError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1}}, "df": 7, "s": {"docs": {"vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}}, "df": 2}}}}}}}}, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.UserEmail.email": {"tf": 1}, "vanna.types.NewOrganizationMember.email": {"tf": 1}, "vanna.types.UserOTP.email": {"tf": 1}}, "df": 3}}}}, "f": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.DataResult.error": {"tf": 1}}, "df": 1}}}}}, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 3}}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"vanna.generate_followup_questions": {"tf": 1}, "vanna.types.Followup": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1.4142135623730951}}, "df": 4}}}}}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 2}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {"vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.FullQuestionDocument": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}}, "df": 7}}}}}}}}}}}}}}}}}}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.generate_question": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.Question": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.Question.question": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}}, "df": 20, "s": {"docs": {"vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.QuestionStringList.questions": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.TrainingData.questions": {"tf": 1}}, "df": 7, "q": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.QuestionSQLPair": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.QuestionSQLPair.tag": {"tf": 1}}, "df": 5}}}}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionStringList": {"tf": 1}, "vanna.types.QuestionStringList.__init__": {"tf": 1}, "vanna.types.QuestionStringList.questions": {"tf": 1}}, "df": 3}}}}}}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionList": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}}, "df": 3}}}}, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionId": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}}, "df": 3}}, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionCategory.category": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}, "vanna.types.QuestionCategory.SQL_RAN": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 12}}}}}}}}, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionEmbedding": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1}}, "df": 4}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}, "b": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.connect_to_bigquery": {"tf": 1}}, "df": 1}}}}}}}, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}}}}}, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.UserOTP.otp": {"tf": 1}}, "df": 1, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.OTPCodeError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {"vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}}, "df": 12}}}}}, "r": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.NewOrganization.org_name": {"tf": 1}, "vanna.types.NewOrganizationMember.org_name": {"tf": 1}}, "df": 2, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Organization": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}}, "df": 5, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.OrganizationList": {"tf": 1}, "vanna.types.OrganizationList.__init__": {"tf": 1}, "vanna.types.OrganizationList.organizations": {"tf": 1}}, "df": 3}}}}, "s": {"docs": {"vanna.types.OrganizationList.organizations": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "t": {"docs": {"vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 1}}, "df": 2}}}}}}}}}}}}, "w": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.WarehouseDefinition": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}}, "df": 4}}}}}}}}}}}}}}}}}}}}}, "fullname": {"root": {"docs": {"vanna.TrainingPlanItem.__init__": {"tf": 1}, "vanna.TrainingPlan.__init__": {"tf": 1}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.OrganizationList.__init__": {"tf": 1}, "vanna.types.QuestionStringList.__init__": {"tf": 1}, "vanna.types.Visibility.__init__": {"tf": 1}, "vanna.types.UserEmail.__init__": {"tf": 1}, "vanna.types.NewOrganization.__init__": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}, "vanna.types.UserOTP.__init__": {"tf": 1}, "vanna.types.ApiKey.__init__": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}, "vanna.types.StringData.__init__": {"tf": 1}, "vanna.types.DataFrameJSON.__init__": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1}, "vanna.types.TrainingPlan.__init__": {"tf": 1}}, "df": 35, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 1}, "vanna.api_key": {"tf": 1}, "vanna.run_sql": {"tf": 1}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}, "vanna.get_models": {"tf": 1}, "vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.TrainingPlanItem": {"tf": 1}, "vanna.TrainingPlanItem.__init__": {"tf": 1}, "vanna.TrainingPlanItem.item_type": {"tf": 1}, "vanna.TrainingPlanItem.item_group": {"tf": 1}, "vanna.TrainingPlanItem.item_name": {"tf": 1}, "vanna.TrainingPlanItem.item_value": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.TrainingPlan": {"tf": 1}, "vanna.TrainingPlan.__init__": {"tf": 1}, "vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_generic": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.base": {"tf": 1}, "vanna.base.VannaBase": {"tf": 1}, "vanna.base.VannaBase.config": {"tf": 1}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.add_ddl": {"tf": 1}, "vanna.base.VannaBase.add_documentation": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.submit_prompt": {"tf": 1}, "vanna.base.VannaBase.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_ddl": {"tf": 1}, "vanna.chromadb_vector": {"tf": 1}, "vanna.chromadb_vector.default_ef": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}, "vanna.exceptions": {"tf": 1}, "vanna.exceptions.ImproperlyConfigured": {"tf": 1}, "vanna.exceptions.DependencyError": {"tf": 1}, "vanna.exceptions.ConnectionError": {"tf": 1}, "vanna.exceptions.OTPCodeError": {"tf": 1}, "vanna.exceptions.SQLRemoveError": {"tf": 1}, "vanna.exceptions.ExecutionError": {"tf": 1}, "vanna.exceptions.ValidationError": {"tf": 1}, "vanna.exceptions.APIError": {"tf": 1}, "vanna.local": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 1}, "vanna.mock": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.mock.MockModel.submit_prompt": {"tf": 1}, "vanna.openai_chat": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1}, "vanna.openai_embeddings": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}, "vanna.types": {"tf": 1}, "vanna.types.Status": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.Status.success": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}, "vanna.types.QuestionList": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.FullQuestionDocument": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.QuestionSQLPair": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.QuestionSQLPair.tag": {"tf": 1}, "vanna.types.Organization": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}, "vanna.types.OrganizationList": {"tf": 1}, "vanna.types.OrganizationList.__init__": {"tf": 1}, "vanna.types.OrganizationList.organizations": {"tf": 1}, "vanna.types.QuestionStringList": {"tf": 1}, "vanna.types.QuestionStringList.__init__": {"tf": 1}, "vanna.types.QuestionStringList.questions": {"tf": 1}, "vanna.types.Visibility": {"tf": 1}, "vanna.types.Visibility.__init__": {"tf": 1}, "vanna.types.Visibility.visibility": {"tf": 1}, "vanna.types.UserEmail": {"tf": 1}, "vanna.types.UserEmail.__init__": {"tf": 1}, "vanna.types.UserEmail.email": {"tf": 1}, "vanna.types.NewOrganization": {"tf": 1}, "vanna.types.NewOrganization.__init__": {"tf": 1}, "vanna.types.NewOrganization.org_name": {"tf": 1}, "vanna.types.NewOrganization.db_type": {"tf": 1}, "vanna.types.NewOrganizationMember": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}, "vanna.types.NewOrganizationMember.org_name": {"tf": 1}, "vanna.types.NewOrganizationMember.email": {"tf": 1}, "vanna.types.NewOrganizationMember.is_admin": {"tf": 1}, "vanna.types.UserOTP": {"tf": 1}, "vanna.types.UserOTP.__init__": {"tf": 1}, "vanna.types.UserOTP.email": {"tf": 1}, "vanna.types.UserOTP.otp": {"tf": 1}, "vanna.types.ApiKey": {"tf": 1}, "vanna.types.ApiKey.__init__": {"tf": 1}, "vanna.types.ApiKey.key": {"tf": 1}, "vanna.types.QuestionId": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}, "vanna.types.Question": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.Question.question": {"tf": 1}, "vanna.types.QuestionCategory": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionCategory.category": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}, "vanna.types.QuestionCategory.SQL_RAN": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}, "vanna.types.AccuracyStats": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}, "vanna.types.Followup": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1}, "vanna.types.QuestionEmbedding": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1}, "vanna.types.Connection": {"tf": 1}, "vanna.types.SQLAnswer": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.SQLAnswer.prefix": {"tf": 1}, "vanna.types.SQLAnswer.postfix": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}, "vanna.types.Explanation": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1}, "vanna.types.DataResult": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1}, "vanna.types.DataResult.correction_attempts": {"tf": 1}, "vanna.types.PlotlyResult": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.WarehouseDefinition": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}, "vanna.types.TableDefinition": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}, "vanna.types.TableDefinition.columns": {"tf": 1}, "vanna.types.ColumnDefinition": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}, "vanna.types.Diagram": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}, "vanna.types.StringData": {"tf": 1}, "vanna.types.StringData.__init__": {"tf": 1}, "vanna.types.StringData.data": {"tf": 1}, "vanna.types.DataFrameJSON": {"tf": 1}, "vanna.types.DataFrameJSON.__init__": {"tf": 1}, "vanna.types.DataFrameJSON.data": {"tf": 1}, "vanna.types.TrainingData": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1}, "vanna.types.TrainingData.questions": {"tf": 1}, "vanna.types.TrainingData.ddl": {"tf": 1}, "vanna.types.TrainingData.documentation": {"tf": 1}, "vanna.types.TrainingPlanItem": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1}, "vanna.types.TrainingPlanItem.item_type": {"tf": 1}, "vanna.types.TrainingPlanItem.item_group": {"tf": 1}, "vanna.types.TrainingPlanItem.item_name": {"tf": 1}, "vanna.types.TrainingPlanItem.item_value": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan.__init__": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}, "vanna.utils": {"tf": 1}, "vanna.utils.validate_config_path": {"tf": 1}, "vanna.utils.sanitize_model_name": {"tf": 1}}, "df": 278, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.base.VannaBase": {"tf": 1}, "vanna.base.VannaBase.config": {"tf": 1}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.add_ddl": {"tf": 1}, "vanna.base.VannaBase.add_documentation": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.submit_prompt": {"tf": 1}, "vanna.base.VannaBase.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 21}}}}}}}, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"vanna.TrainingPlanItem.item_value": {"tf": 1}, "vanna.types.TrainingPlanItem.item_value": {"tf": 1}}, "df": 2}}, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.ValidationError": {"tf": 1}}, "df": 1}}}}}}}}, "e": {"docs": {"vanna.utils.validate_config_path": {"tf": 1}}, "df": 1}}}}}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "y": {"docs": {"vanna.update_model_visibility": {"tf": 1}, "vanna.types.Visibility": {"tf": 1}, "vanna.types.Visibility.__init__": {"tf": 1}, "vanna.types.Visibility.visibility": {"tf": 1.4142135623730951}}, "df": 4}}}}}}}}}, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.chromadb_vector": {"tf": 1}, "vanna.chromadb_vector.default_ef": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}}, "df": 14, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}}, "df": 12}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"vanna.api_key": {"tf": 1}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}}, "df": 3, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.APIError": {"tf": 1}}, "df": 1}}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.ApiKey": {"tf": 1}, "vanna.types.ApiKey.__init__": {"tf": 1}, "vanna.types.ApiKey.key": {"tf": 1}}, "df": 3}}}}, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}}, "df": 1}}}}}}}, "d": {"docs": {}, "df": 0, "d": {"docs": {"vanna.add_user_to_model": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.add_ddl": {"tf": 1}, "vanna.base.VannaBase.add_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}}, "df": 10}, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.NewOrganizationMember.is_admin": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "k": {"docs": {"vanna.ask": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}}, "df": 2}, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {"vanna.get_all_questions": {"tf": 1}}, "df": 1}}, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}}, "df": 2}}}}, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 3}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.AccuracyStats": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}}, "df": 4}}}}}}}}}}}}, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 1}}}}}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"vanna.api_key": {"tf": 1}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}, "vanna.types.ApiKey.key": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 8}}}, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {"vanna.run_sql": {"tf": 1}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 4}}, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 4}}}}, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "w": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 3}}}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.get_related_training_data": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}}, "df": 9}}}}}, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}}, "df": 1}}}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.QuestionCategory.SQL_RAN": {"tf": 1}}, "df": 1}, "w": {"docs": {"vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}}, "df": 2}}}, "s": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna.run_sql": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.QuestionCategory.SQL_RAN": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}}, "df": 25, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_sqlite": {"tf": 1}}, "df": 1}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.SQLRemoveError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.SQLAnswer": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.SQLAnswer.prefix": {"tf": 1}, "vanna.types.SQLAnswer.postfix": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}}, "df": 6}}}}}}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {"vanna.set_api_key": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1}}, "df": 3}}, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}}, "df": 2}}}}}, "b": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"vanna.base.VannaBase.submit_prompt": {"tf": 1}, "vanna.mock.MockModel.submit_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1}}, "df": 3}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.Status.success": {"tf": 1}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 3}}}}}}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {"vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}}, "df": 4}}}}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.base.SplitStorage": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_ddl": {"tf": 1}}, "df": 13}}}}}}}}}}}, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}}, "df": 3}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.Status": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.Status.success": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}}, "df": 4}}}}, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.StringData": {"tf": 1}, "vanna.types.StringData.__init__": {"tf": 1}, "vanna.types.StringData.data": {"tf": 1}}, "df": 3}}}}}}}}}, "y": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1}}, "df": 1}}}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.TableDefinition.schema_name": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "e": {"docs": {"vanna.utils.sanitize_model_name": {"tf": 1}}, "df": 1}}}}}}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.get_models": {"tf": 1}, "vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_generic": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}}, "df": 32}, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {"vanna.get_training_plan_generic": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_sql": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.base.VannaBase.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}}, "df": 15, "d": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"vanna.TrainingPlanItem.item_group": {"tf": 1}, "vanna.types.TrainingPlanItem.item_group": {"tf": 1}}, "df": 2}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.utils.sanitize_model_name": {"tf": 1}}, "df": 5, "s": {"docs": {"vanna.get_models": {"tf": 1}}, "df": 1}}}}, "c": {"docs": {}, "df": 0, "k": {"docs": {"vanna.mock": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.mock.MockModel.submit_prompt": {"tf": 1}}, "df": 4, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"vanna.mock.MockModel": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.mock.MockModel.submit_prompt": {"tf": 1}}, "df": 3}}}}}}}}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.generate_meta": {"tf": 1}}, "df": 1}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}}, "df": 4}}}}}, "r": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.table_markdown": {"tf": 1}}, "df": 1}}}}}}}}, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.create_model": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 5}}, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}}, "df": 5, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Organization.connection": {"tf": 1}, "vanna.types.Connection": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.ConnectionError": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {"vanna.base.VannaBase.config": {"tf": 1}, "vanna.utils.validate_config_path": {"tf": 1}}, "df": 2}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"tf": 1}}, "df": 3}}}}}}}, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 8}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 1}}}}}}}}}, "h": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {"vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"tf": 1}}, "df": 1, "d": {"docs": {}, "df": 0, "b": {"docs": {"vanna.chromadb_vector": {"tf": 1}, "vanna.chromadb_vector.default_ef": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1.4142135623730951}}, "df": 14}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna.openai_chat": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1.4142135623730951}}, "df": 9}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.category": {"tf": 1}}, "df": 1}}}}}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.add_user_to_model": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}}, "df": 3, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.UserEmail": {"tf": 1}, "vanna.types.UserEmail.__init__": {"tf": 1}, "vanna.types.UserEmail.email": {"tf": 1}}, "df": 3}}}}}, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.UserOTP": {"tf": 1}, "vanna.types.UserOTP.__init__": {"tf": 1}, "vanna.types.UserOTP.email": {"tf": 1}, "vanna.types.UserOTP.otp": {"tf": 1}}, "df": 4}}}}}}, "p": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.update_model_visibility": {"tf": 1}}, "df": 1, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}}}}}, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {"vanna.utils": {"tf": 1}, "vanna.utils.validate_config_path": {"tf": 1}, "vanna.utils.sanitize_model_name": {"tf": 1}}, "df": 3}}}}}, "t": {"docs": {}, "df": 0, "o": {"docs": {"vanna.add_user_to_model": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 7}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 2, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_generic": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 8, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna.TrainingPlan": {"tf": 1}, "vanna.TrainingPlan.__init__": {"tf": 1}, "vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan.__init__": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 8, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"vanna.TrainingPlanItem": {"tf": 1}, "vanna.TrainingPlanItem.__init__": {"tf": 1}, "vanna.TrainingPlanItem.item_type": {"tf": 1}, "vanna.TrainingPlanItem.item_group": {"tf": 1}, "vanna.TrainingPlanItem.item_name": {"tf": 1}, "vanna.TrainingPlanItem.item_value": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.types.TrainingPlanItem": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1}, "vanna.types.TrainingPlanItem.item_type": {"tf": 1}, "vanna.types.TrainingPlanItem.item_group": {"tf": 1}, "vanna.types.TrainingPlanItem.item_name": {"tf": 1}, "vanna.types.TrainingPlanItem.item_value": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}}, "df": 18}}}}}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.TrainingData": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1}, "vanna.types.TrainingData.questions": {"tf": 1}, "vanna.types.TrainingData.ddl": {"tf": 1}, "vanna.types.TrainingData.documentation": {"tf": 1}}, "df": 5}}}}}}}}}}}, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"vanna.TrainingPlanItem.item_type": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.types.NewOrganization.db_type": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.TrainingPlanItem.item_type": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}}, "df": 10, "s": {"docs": {"vanna.types": {"tf": 1}, "vanna.types.Status": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.Status.success": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}, "vanna.types.QuestionList": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.FullQuestionDocument": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.QuestionSQLPair": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.QuestionSQLPair.tag": {"tf": 1}, "vanna.types.Organization": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}, "vanna.types.OrganizationList": {"tf": 1}, "vanna.types.OrganizationList.__init__": {"tf": 1}, "vanna.types.OrganizationList.organizations": {"tf": 1}, "vanna.types.QuestionStringList": {"tf": 1}, "vanna.types.QuestionStringList.__init__": {"tf": 1}, "vanna.types.QuestionStringList.questions": {"tf": 1}, "vanna.types.Visibility": {"tf": 1}, "vanna.types.Visibility.__init__": {"tf": 1}, "vanna.types.Visibility.visibility": {"tf": 1}, "vanna.types.UserEmail": {"tf": 1}, "vanna.types.UserEmail.__init__": {"tf": 1}, "vanna.types.UserEmail.email": {"tf": 1}, "vanna.types.NewOrganization": {"tf": 1}, "vanna.types.NewOrganization.__init__": {"tf": 1}, "vanna.types.NewOrganization.org_name": {"tf": 1}, "vanna.types.NewOrganization.db_type": {"tf": 1}, "vanna.types.NewOrganizationMember": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}, "vanna.types.NewOrganizationMember.org_name": {"tf": 1}, "vanna.types.NewOrganizationMember.email": {"tf": 1}, "vanna.types.NewOrganizationMember.is_admin": {"tf": 1}, "vanna.types.UserOTP": {"tf": 1}, "vanna.types.UserOTP.__init__": {"tf": 1}, "vanna.types.UserOTP.email": {"tf": 1}, "vanna.types.UserOTP.otp": {"tf": 1}, "vanna.types.ApiKey": {"tf": 1}, "vanna.types.ApiKey.__init__": {"tf": 1}, "vanna.types.ApiKey.key": {"tf": 1}, "vanna.types.QuestionId": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}, "vanna.types.Question": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.Question.question": {"tf": 1}, "vanna.types.QuestionCategory": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionCategory.category": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}, "vanna.types.QuestionCategory.SQL_RAN": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}, "vanna.types.AccuracyStats": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}, "vanna.types.Followup": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1}, "vanna.types.QuestionEmbedding": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1}, "vanna.types.Connection": {"tf": 1}, "vanna.types.SQLAnswer": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.SQLAnswer.prefix": {"tf": 1}, "vanna.types.SQLAnswer.postfix": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}, "vanna.types.Explanation": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1}, "vanna.types.DataResult": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1}, "vanna.types.DataResult.correction_attempts": {"tf": 1}, "vanna.types.PlotlyResult": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.WarehouseDefinition": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}, "vanna.types.TableDefinition": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}, "vanna.types.TableDefinition.columns": {"tf": 1}, "vanna.types.ColumnDefinition": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}, "vanna.types.Diagram": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}, "vanna.types.StringData": {"tf": 1}, "vanna.types.StringData.__init__": {"tf": 1}, "vanna.types.StringData.data": {"tf": 1}, "vanna.types.DataFrameJSON": {"tf": 1}, "vanna.types.DataFrameJSON.__init__": {"tf": 1}, "vanna.types.DataFrameJSON.data": {"tf": 1}, "vanna.types.TrainingData": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1}, "vanna.types.TrainingData.questions": {"tf": 1}, "vanna.types.TrainingData.ddl": {"tf": 1}, "vanna.types.TrainingData.documentation": {"tf": 1}, "vanna.types.TrainingPlanItem": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1}, "vanna.types.TrainingPlanItem.item_type": {"tf": 1}, "vanna.types.TrainingPlanItem.item_group": {"tf": 1}, "vanna.types.TrainingPlanItem.item_name": {"tf": 1}, "vanna.types.TrainingPlanItem.item_value": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan.__init__": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 148}}}}, "a": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionSQLPair.tag": {"tf": 1}}, "df": 1}, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}}, "df": 3, "s": {"docs": {"vanna.types.WarehouseDefinition.tables": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.TableDefinition": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}, "vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 6}}}}}}}}}}}}}}}, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "l": {"docs": {"vanna.add_ddl": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.add_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}, "vanna.types.TrainingData.ddl": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}}, "df": 14}}, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.add_documentation": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.add_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.base.SplitStorage.get_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}, "vanna.types.TrainingData.documentation": {"tf": 1}}, "df": 11}}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.remove_training_data": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}, "vanna.types.StringData.data": {"tf": 1}, "vanna.types.DataFrameJSON.data": {"tf": 1}}, "df": 7, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.DataResult": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1}, "vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 7}}}}}}, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataFrameJSON": {"tf": 1}, "vanna.types.DataFrameJSON.__init__": {"tf": 1}, "vanna.types.DataFrameJSON.data": {"tf": 1}}, "df": 3}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}}}}}, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.DependencyError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}, "b": {"docs": {"vanna.types.NewOrganization.db_type": {"tf": 1}}, "df": 1}, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {"vanna.types.Diagram": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 4}}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"vanna.TrainingPlanItem.__init__": {"tf": 1}, "vanna.TrainingPlan.__init__": {"tf": 1}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.OrganizationList.__init__": {"tf": 1}, "vanna.types.QuestionStringList.__init__": {"tf": 1}, "vanna.types.Visibility.__init__": {"tf": 1}, "vanna.types.UserEmail.__init__": {"tf": 1}, "vanna.types.NewOrganization.__init__": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}, "vanna.types.UserOTP.__init__": {"tf": 1}, "vanna.types.ApiKey.__init__": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}, "vanna.types.StringData.__init__": {"tf": 1}, "vanna.types.DataFrameJSON.__init__": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1}, "vanna.types.TrainingPlan.__init__": {"tf": 1}}, "df": 35}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"vanna.TrainingPlanItem.item_type": {"tf": 1}, "vanna.TrainingPlanItem.item_group": {"tf": 1}, "vanna.TrainingPlanItem.item_name": {"tf": 1}, "vanna.TrainingPlanItem.item_value": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.types.TrainingPlanItem.item_type": {"tf": 1}, "vanna.types.TrainingPlanItem.item_group": {"tf": 1}, "vanna.types.TrainingPlanItem.item_name": {"tf": 1}, "vanna.types.TrainingPlanItem.item_value": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 16}}}, "s": {"docs": {"vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1}, "vanna.types.NewOrganizationMember.is_admin": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}}, "df": 6}, "d": {"docs": {"vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}}, "df": 2, "s": {"docs": {"vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}}, "df": 3}}, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.exceptions.ImproperlyConfigured": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.TrainingPlanItem.item_name": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.NewOrganization.org_name": {"tf": 1}, "vanna.types.NewOrganizationMember.org_name": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.TrainingPlanItem.item_name": {"tf": 1}, "vanna.utils.sanitize_model_name": {"tf": 1}}, "df": 10}}}, "e": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.NewOrganization": {"tf": 1}, "vanna.types.NewOrganization.__init__": {"tf": 1}, "vanna.types.NewOrganization.org_name": {"tf": 1}, "vanna.types.NewOrganization.db_type": {"tf": 1}}, "df": 4, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.NewOrganizationMember": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}, "vanna.types.NewOrganizationMember.org_name": {"tf": 1}, "vanna.types.NewOrganizationMember.email": {"tf": 1}, "vanna.types.NewOrganizationMember.is_admin": {"tf": 1}}, "df": 5}}}}}}}}}}}}}}}}}}}}, "o": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1}, "u": {"docs": {}, "df": 0, "m": {"docs": {"vanna.types.AccuracyStats.num_questions": {"tf": 1}}, "df": 1}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_generic": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 4}}, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}}, "df": 7, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.PlotlyResult": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}}, "df": 3}}}}}}}}}}}, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}}, "df": 2}}}}, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.postfix": {"tf": 1}}, "df": 1}}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {"vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.submit_prompt": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.mock.MockModel.submit_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1}}, "df": 6}}}}, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.prefix": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {"vanna.utils.validate_config_path": {"tf": 1}}, "df": 1}}}}, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1}}, "df": 1}}}}}}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.generate_explanation": {"tf": 1}, "vanna.types.Explanation": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1.4142135623730951}}, "df": 4}}}}}}}}}, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"vanna.exceptions": {"tf": 1}, "vanna.exceptions.ImproperlyConfigured": {"tf": 1}, "vanna.exceptions.DependencyError": {"tf": 1}, "vanna.exceptions.ConnectionError": {"tf": 1}, "vanna.exceptions.OTPCodeError": {"tf": 1}, "vanna.exceptions.SQLRemoveError": {"tf": 1}, "vanna.exceptions.ExecutionError": {"tf": 1}, "vanna.exceptions.ValidationError": {"tf": 1}, "vanna.exceptions.APIError": {"tf": 1}}, "df": 9}}}}}}}}, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.ExecutionError": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1}}, "df": 7, "s": {"docs": {"vanna.openai_embeddings": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1.4142135623730951}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1.4142135623730951}}, "df": 3}}}}}}}}, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.UserEmail.email": {"tf": 1}, "vanna.types.NewOrganizationMember.email": {"tf": 1}, "vanna.types.UserOTP.email": {"tf": 1}}, "df": 3}}}}, "f": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.DataResult.error": {"tf": 1}}, "df": 1}}}}}, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 3}}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"vanna.generate_followup_questions": {"tf": 1}, "vanna.types.Followup": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1.4142135623730951}}, "df": 4}}}}}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 2}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {"vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.FullQuestionDocument": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}}, "df": 7}}}}}}}}}}}}}}}}}}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.generate_question": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.Question": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.Question.question": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}}, "df": 20, "s": {"docs": {"vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.QuestionStringList.questions": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.TrainingData.questions": {"tf": 1}}, "df": 7, "q": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.QuestionSQLPair": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.QuestionSQLPair.tag": {"tf": 1}}, "df": 5}}}}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionStringList": {"tf": 1}, "vanna.types.QuestionStringList.__init__": {"tf": 1}, "vanna.types.QuestionStringList.questions": {"tf": 1}}, "df": 3}}}}}}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionList": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}}, "df": 3}}}}, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionId": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}}, "df": 3}}, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionCategory.category": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}, "vanna.types.QuestionCategory.SQL_RAN": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 12}}}}}}}}, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionEmbedding": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1}}, "df": 4}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}, "b": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.connect_to_bigquery": {"tf": 1}}, "df": 1}}}}}}}, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.base": {"tf": 1}, "vanna.base.VannaBase": {"tf": 1}, "vanna.base.VannaBase.config": {"tf": 1}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.add_ddl": {"tf": 1}, "vanna.base.VannaBase.add_documentation": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.submit_prompt": {"tf": 1}, "vanna.base.VannaBase.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_ddl": {"tf": 1}}, "df": 35}}}, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}}}}}, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.UserOTP.otp": {"tf": 1}}, "df": 1, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.exceptions.OTPCodeError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {"vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 1}, "vanna.openai_chat": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1.4142135623730951}, "vanna.openai_embeddings": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1.4142135623730951}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1.4142135623730951}}, "df": 14}}}}}, "r": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.NewOrganization.org_name": {"tf": 1}, "vanna.types.NewOrganizationMember.org_name": {"tf": 1}}, "df": 2, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Organization": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}}, "df": 5, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.OrganizationList": {"tf": 1}, "vanna.types.OrganizationList.__init__": {"tf": 1}, "vanna.types.OrganizationList.organizations": {"tf": 1}}, "df": 3}}}}, "s": {"docs": {"vanna.types.OrganizationList.organizations": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"vanna.local": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 1}}, "df": 3, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "t": {"docs": {"vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 1}}, "df": 2}}}}}}}}}}}}, "w": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.WarehouseDefinition": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}}, "df": 4}}}}}}}}}}}}}}}}}}}}}, "annotation": {"root": {"docs": {"vanna.api_key": {"tf": 1}, "vanna.run_sql": {"tf": 1}, "vanna.TrainingPlanItem.item_type": {"tf": 1}, "vanna.TrainingPlanItem.item_group": {"tf": 1}, "vanna.TrainingPlanItem.item_name": {"tf": 1}, "vanna.TrainingPlanItem.item_value": {"tf": 1}, "vanna.types.Status.success": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1.4142135623730951}, "vanna.types.FullQuestionDocument.data": {"tf": 1.4142135623730951}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1.4142135623730951}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.QuestionSQLPair.tag": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1.4142135623730951}, "vanna.types.Organization.connection": {"tf": 1.4142135623730951}, "vanna.types.OrganizationList.organizations": {"tf": 1}, "vanna.types.QuestionStringList.questions": {"tf": 1}, "vanna.types.Visibility.visibility": {"tf": 1}, "vanna.types.UserEmail.email": {"tf": 1}, "vanna.types.NewOrganization.org_name": {"tf": 1}, "vanna.types.NewOrganization.db_type": {"tf": 1}, "vanna.types.NewOrganizationMember.org_name": {"tf": 1}, "vanna.types.NewOrganizationMember.email": {"tf": 1}, "vanna.types.NewOrganizationMember.is_admin": {"tf": 1}, "vanna.types.UserOTP.email": {"tf": 1}, "vanna.types.UserOTP.otp": {"tf": 1}, "vanna.types.ApiKey.key": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}, "vanna.types.Question.question": {"tf": 1}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionCategory.category": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.SQLAnswer.prefix": {"tf": 1}, "vanna.types.SQLAnswer.postfix": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1.4142135623730951}, "vanna.types.DataResult.sql": {"tf": 1.4142135623730951}, "vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1.4142135623730951}, "vanna.types.DataResult.correction_attempts": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1.4142135623730951}, "vanna.types.TableDefinition.columns": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}, "vanna.types.StringData.data": {"tf": 1}, "vanna.types.DataFrameJSON.data": {"tf": 1}, "vanna.types.TrainingData.questions": {"tf": 1}, "vanna.types.TrainingData.ddl": {"tf": 1}, "vanna.types.TrainingData.documentation": {"tf": 1}, "vanna.types.TrainingPlanItem.item_type": {"tf": 1}, "vanna.types.TrainingPlanItem.item_group": {"tf": 1}, "vanna.types.TrainingPlanItem.item_name": {"tf": 1}, "vanna.types.TrainingPlanItem.item_value": {"tf": 1}}, "df": 75, "o": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "[": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.api_key": {"tf": 1}, "vanna.types.QuestionSQLPair.tag": {"tf": 1}}, "df": 2}}}, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "[": {"docs": {}, "df": 0, "[": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.run_sql": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}}}, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {"vanna.run_sql": {"tf": 1}}, "df": 1}}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.FullQuestionDocument.plotly": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.run_sql": {"tf": 1}}, "df": 1}}, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Organization.connection": {"tf": 1}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.run_sql": {"tf": 1}}, "df": 1}}}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionList.questions": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.run_sql": {"tf": 1}}, "df": 1}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.FullQuestionDocument.data": {"tf": 1}}, "df": 1}}}}}}}}}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "[": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.AccuracyStats.data": {"tf": 1}}, "df": 1}}}}}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.TrainingPlanItem.item_type": {"tf": 1}, "vanna.TrainingPlanItem.item_group": {"tf": 1}, "vanna.TrainingPlanItem.item_name": {"tf": 1}, "vanna.TrainingPlanItem.item_value": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}, "vanna.types.UserEmail.email": {"tf": 1}, "vanna.types.NewOrganization.org_name": {"tf": 1}, "vanna.types.NewOrganization.db_type": {"tf": 1}, "vanna.types.NewOrganizationMember.org_name": {"tf": 1}, "vanna.types.NewOrganizationMember.email": {"tf": 1}, "vanna.types.UserOTP.email": {"tf": 1}, "vanna.types.UserOTP.otp": {"tf": 1}, "vanna.types.ApiKey.key": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}, "vanna.types.Question.question": {"tf": 1}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionCategory.category": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.SQLAnswer.prefix": {"tf": 1}, "vanna.types.SQLAnswer.postfix": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}, "vanna.types.StringData.data": {"tf": 1}, "vanna.types.DataFrameJSON.data": {"tf": 1}, "vanna.types.TrainingPlanItem.item_type": {"tf": 1}, "vanna.types.TrainingPlanItem.item_group": {"tf": 1}, "vanna.types.TrainingPlanItem.item_name": {"tf": 1}, "vanna.types.TrainingPlanItem.item_value": {"tf": 1}}, "df": 48}}, "q": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.FullQuestionDocument.answer": {"tf": 1}}, "df": 1}}}}}}}}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.Status.success": {"tf": 1}, "vanna.types.Visibility.visibility": {"tf": 1}, "vanna.types.NewOrganizationMember.is_admin": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}}, "df": 5}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "[": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}, "vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 3}}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.OrganizationList.organizations": {"tf": 1}, "vanna.types.QuestionStringList.questions": {"tf": 1}, "vanna.types.TrainingData.ddl": {"tf": 1}, "vanna.types.TrainingData.documentation": {"tf": 1}}, "df": 4}}}, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionEmbedding.embedding": {"tf": 1}}, "df": 1}}}}}, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.TrainingData.questions": {"tf": 1}}, "df": 1}}}}}}}}}, "t": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}, "vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 10}}}}, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.WarehouseDefinition.tables": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}}, "df": 7}}}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}}, "df": 2, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.FullQuestionDocument.id": {"tf": 1}}, "df": 1}}}}}}}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}}, "df": 9}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}, "vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 3}}}}}, "default_value": {"root": {"docs": {"vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1.4142135623730951}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1.4142135623730951}, "vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.default_ef": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.SQL_RAN": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1.4142135623730951}}, "df": 15, "n": {"docs": {}, "df": 0, "o": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1, "n": {"docs": {}, "df": 0, "e": {"docs": {"vanna.api_key": {"tf": 1}, "vanna.run_sql": {"tf": 1}}, "df": 2}}}}, "x": {"2": {"7": {"docs": {"vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1.4142135623730951}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1.4142135623730951}, "vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.SQL_RAN": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1.4142135623730951}}, "df": 14}, "docs": {}, "df": 0}, "docs": {}, "df": 0}, "s": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.QuestionCategory.SQL_RAN": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1}}, "df": 5}}, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.SQL_RAN": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "l": {"docs": {"vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1}}, "df": 2}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {"vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1}}, "df": 2}}, "l": {"6": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}, "docs": {}, "df": 0, "t": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}}, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "b": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}}}}}}}}, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}}}}}, "p": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 1}}}}}}}, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}}}}}}}}}, "f": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 1}}}, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "m": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}}}}}}}}}, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}}}}}}, "v": {"2": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}, "docs": {}, "df": 0}, "g": {"docs": {}, "df": 0, "t": {"docs": {"vanna.chromadb_vector.default_ef": {"tf": 1}}, "df": 1}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1}}}}}}}}}, "t": {"docs": {}, "df": 0, "o": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.QuestionCategory.SQL_RAN": {"tf": 1}}, "df": 1}}, "e": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "w": {"docs": {"vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 3}}}}}}, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}}, "df": 1}}}}}}}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}}}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 3}}, "p": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}}, "df": 1}}}}}}}}}}, "signature": {"root": {"3": {"9": {"docs": {"vanna.add_sql": {"tf": 1.4142135623730951}}, "df": 1}, "docs": {}, "df": 0}, "docs": {"vanna.get_api_key": {"tf": 5.916079783099616}, "vanna.set_api_key": {"tf": 4}, "vanna.get_models": {"tf": 3.7416573867739413}, "vanna.create_model": {"tf": 4.898979485566356}, "vanna.add_user_to_model": {"tf": 5.656854249492381}, "vanna.update_model_visibility": {"tf": 4}, "vanna.set_model": {"tf": 3.7416573867739413}, "vanna.add_sql": {"tf": 6.708203932499369}, "vanna.add_ddl": {"tf": 4}, "vanna.add_documentation": {"tf": 4}, "vanna.TrainingPlanItem.__init__": {"tf": 6}, "vanna.TrainingPlan.__init__": {"tf": 4.58257569495584}, "vanna.TrainingPlan.get_summary": {"tf": 4.123105625617661}, "vanna.TrainingPlan.remove_item": {"tf": 4.242640687119285}, "vanna.get_training_plan_postgres": {"tf": 9.38083151964686}, "vanna.get_training_plan_generic": {"tf": 4}, "vanna.get_training_plan_experimental": {"tf": 9.38083151964686}, "vanna.train": {"tf": 10.816653826391969}, "vanna.flag_sql_for_review": {"tf": 7.54983443527075}, "vanna.remove_sql": {"tf": 4}, "vanna.remove_training_data": {"tf": 4}, "vanna.generate_sql": {"tf": 4}, "vanna.get_related_training_data": {"tf": 4.898979485566356}, "vanna.generate_meta": {"tf": 4}, "vanna.generate_followup_questions": {"tf": 6.4031242374328485}, "vanna.generate_questions": {"tf": 3.7416573867739413}, "vanna.ask": {"tf": 11.661903789690601}, "vanna.generate_plotly_code": {"tf": 8.774964387392123}, "vanna.get_plotly_figure": {"tf": 8.12403840463596}, "vanna.get_results": {"tf": 6.324555320336759}, "vanna.generate_explanation": {"tf": 4}, "vanna.generate_question": {"tf": 4}, "vanna.get_all_questions": {"tf": 4.58257569495584}, "vanna.get_training_data": {"tf": 4.58257569495584}, "vanna.connect_to_sqlite": {"tf": 3.7416573867739413}, "vanna.connect_to_snowflake": {"tf": 7.874007874011811}, "vanna.connect_to_postgres": {"tf": 9}, "vanna.connect_to_bigquery": {"tf": 5.830951894845301}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 5.0990195135927845}, "vanna.base.VannaBase.generate_embedding": {"tf": 5.5677643628300215}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 5.0990195135927845}, "vanna.base.VannaBase.get_related_ddl": {"tf": 5.0990195135927845}, "vanna.base.VannaBase.get_related_documentation": {"tf": 5.0990195135927845}, "vanna.base.VannaBase.add_question_sql": {"tf": 5.656854249492381}, "vanna.base.VannaBase.add_ddl": {"tf": 4.898979485566356}, "vanna.base.VannaBase.add_documentation": {"tf": 4.898979485566356}, "vanna.base.VannaBase.get_prompt": {"tf": 7.3484692283495345}, "vanna.base.VannaBase.submit_prompt": {"tf": 4.69041575982343}, "vanna.base.VannaBase.generate_question": {"tf": 5.0990195135927845}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 8.06225774829855}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 8.18535277187245}, "vanna.base.VannaBase.run_sql": {"tf": 5.830951894845301}, "vanna.base.VannaBase.ask": {"tf": 10.723805294763608}, "vanna.base.VannaBase.train": {"tf": 9.797958971132712}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 9.848857801796104}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 8.426149773176359}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 5.0990195135927845}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 5.0990195135927845}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 5.0990195135927845}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 5.0990195135927845}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 5.0990195135927845}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 5.0990195135927845}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 5.0990195135927845}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 5.0990195135927845}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 5.0990195135927845}, "vanna.base.SplitStorage.get_question_sql": {"tf": 5.0990195135927845}, "vanna.base.SplitStorage.get_documentation": {"tf": 5.0990195135927845}, "vanna.base.SplitStorage.get_ddl": {"tf": 5.0990195135927845}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 5.5677643628300215}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 5.656854249492381}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 4.898979485566356}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 4.898979485566356}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 5.0990195135927845}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 5.0990195135927845}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 5.0990195135927845}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 3.4641016151377544}, "vanna.mock.MockModel.get_prompt": {"tf": 7.483314773547883}, "vanna.mock.MockModel.submit_prompt": {"tf": 5.0990195135927845}, "vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 4}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 4}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 4}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 7.483314773547883}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 5.0990195135927845}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 8.06225774829855}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 4.69041575982343}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 5.5677643628300215}, "vanna.types.Status.__init__": {"tf": 4.47213595499958}, "vanna.types.QuestionList.__init__": {"tf": 5}, "vanna.types.FullQuestionDocument.__init__": {"tf": 10.198039027185569}, "vanna.types.QuestionSQLPair.__init__": {"tf": 5.744562646538029}, "vanna.types.Organization.__init__": {"tf": 7}, "vanna.types.OrganizationList.__init__": {"tf": 4.123105625617661}, "vanna.types.QuestionStringList.__init__": {"tf": 4.123105625617661}, "vanna.types.Visibility.__init__": {"tf": 3.4641016151377544}, "vanna.types.UserEmail.__init__": {"tf": 3.4641016151377544}, "vanna.types.NewOrganization.__init__": {"tf": 4.47213595499958}, "vanna.types.NewOrganizationMember.__init__": {"tf": 5.291502622129181}, "vanna.types.UserOTP.__init__": {"tf": 4.47213595499958}, "vanna.types.ApiKey.__init__": {"tf": 3.4641016151377544}, "vanna.types.QuestionId.__init__": {"tf": 3.4641016151377544}, "vanna.types.Question.__init__": {"tf": 3.4641016151377544}, "vanna.types.QuestionCategory.__init__": {"tf": 4.47213595499958}, "vanna.types.AccuracyStats.__init__": {"tf": 5.477225575051661}, "vanna.types.Followup.__init__": {"tf": 3.4641016151377544}, "vanna.types.QuestionEmbedding.__init__": {"tf": 5.744562646538029}, "vanna.types.SQLAnswer.__init__": {"tf": 6}, "vanna.types.Explanation.__init__": {"tf": 3.4641016151377544}, "vanna.types.DataResult.__init__": {"tf": 8}, "vanna.types.PlotlyResult.__init__": {"tf": 3.4641016151377544}, "vanna.types.WarehouseDefinition.__init__": {"tf": 5.744562646538029}, "vanna.types.TableDefinition.__init__": {"tf": 7.615773105863909}, "vanna.types.ColumnDefinition.__init__": {"tf": 7.615773105863909}, "vanna.types.Diagram.__init__": {"tf": 4.47213595499958}, "vanna.types.StringData.__init__": {"tf": 3.4641016151377544}, "vanna.types.DataFrameJSON.__init__": {"tf": 3.4641016151377544}, "vanna.types.TrainingData.__init__": {"tf": 6.557438524302}, "vanna.types.TrainingPlanItem.__init__": {"tf": 6}, "vanna.types.TrainingPlan.__init__": {"tf": 5}, "vanna.types.TrainingPlan.get_summary": {"tf": 4.123105625617661}, "vanna.types.TrainingPlan.remove_item": {"tf": 4.242640687119285}, "vanna.utils.validate_config_path": {"tf": 3.1622776601683795}, "vanna.utils.sanitize_model_name": {"tf": 3.1622776601683795}}, "df": 122, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.types.UserEmail.__init__": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}, "vanna.types.UserOTP.__init__": {"tf": 1}}, "df": 5}}}, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}}, "df": 10}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}}, "df": 2}}}}, "x": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Explanation.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.get_api_key": {"tf": 1.7320508075688772}, "vanna.set_api_key": {"tf": 1}, "vanna.get_models": {"tf": 1}, "vanna.create_model": {"tf": 1.4142135623730951}, "vanna.add_user_to_model": {"tf": 1.4142135623730951}, "vanna.set_model": {"tf": 1}, "vanna.add_sql": {"tf": 1.7320508075688772}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.TrainingPlanItem.__init__": {"tf": 2}, "vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.get_training_plan_postgres": {"tf": 1.4142135623730951}, "vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}, "vanna.train": {"tf": 2.449489742783178}, "vanna.flag_sql_for_review": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1.4142135623730951}, "vanna.generate_followup_questions": {"tf": 1.4142135623730951}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 2}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 2.23606797749979}, "vanna.connect_to_postgres": {"tf": 2}, "vanna.connect_to_bigquery": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.add_ddl": {"tf": 1}, "vanna.base.VannaBase.add_documentation": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.submit_prompt": {"tf": 1}, "vanna.base.VannaBase.generate_question": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 2}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 2.23606797749979}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.train": {"tf": 2}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1.4142135623730951}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1.4142135623730951}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1.4142135623730951}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1.4142135623730951}, "vanna.mock.MockModel.submit_prompt": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 2}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1.7320508075688772}, "vanna.types.Organization.__init__": {"tf": 1.4142135623730951}, "vanna.types.OrganizationList.__init__": {"tf": 1}, "vanna.types.QuestionStringList.__init__": {"tf": 1}, "vanna.types.UserEmail.__init__": {"tf": 1}, "vanna.types.NewOrganization.__init__": {"tf": 1.4142135623730951}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1.4142135623730951}, "vanna.types.UserOTP.__init__": {"tf": 1.4142135623730951}, "vanna.types.ApiKey.__init__": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1.4142135623730951}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 2}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 2}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.__init__": {"tf": 2}, "vanna.types.Diagram.__init__": {"tf": 1.4142135623730951}, "vanna.types.StringData.__init__": {"tf": 1}, "vanna.types.DataFrameJSON.__init__": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlanItem.__init__": {"tf": 2}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 106}}, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna.add_sql": {"tf": 1}, "vanna.train": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}}, "df": 22, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "f": {"docs": {"vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.add_ddl": {"tf": 1}, "vanna.base.VannaBase.add_documentation": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.submit_prompt": {"tf": 1}, "vanna.base.VannaBase.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.mock.MockModel.submit_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 47}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 4, "s": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 3}}}}}}, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.Status.__init__": {"tf": 1}}, "df": 1}}}}}}}, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "p": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.types.UserOTP.__init__": {"tf": 1}}, "df": 2}}, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.get_training_plan_postgres": {"tf": 1.4142135623730951}, "vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 2.449489742783178}, "vanna.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 2.23606797749979}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1.4142135623730951}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}}, "df": 12}}}}}}}, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "s": {"docs": {"vanna.ask": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 4}}}, "r": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.NewOrganization.__init__": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}}, "df": 2, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.OrganizationList.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}}, "df": 5}}, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_followup_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 10}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "n": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {"vanna.local.LocalContext_OpenAI.__init__": {"tf": 1}}, "df": 1}}}, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Organization.__init__": {"tf": 1.4142135623730951}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition.__init__": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}, "h": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"vanna.generate_plotly_code": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.connect_to_bigquery": {"tf": 1}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}, "vanna.get_training_plan_postgres": {"tf": 1.4142135623730951}, "vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}, "vanna.train": {"tf": 2.6457513110645907}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 2.23606797749979}, "vanna.connect_to_bigquery": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 2.23606797749979}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1.4142135623730951}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1.7320508075688772}, "vanna.types.Organization.__init__": {"tf": 1.4142135623730951}, "vanna.types.DataResult.__init__": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 22}}}, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.TrainingPlanItem.__init__": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.NewOrganization.__init__": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1.4142135623730951}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1}, "vanna.utils.sanitize_model_name": {"tf": 1}}, "df": 9}}}, "u": {"docs": {}, "df": 0, "m": {"docs": {"vanna.types.AccuracyStats.__init__": {"tf": 1}}, "df": 1}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"vanna.set_api_key": {"tf": 1}, "vanna.types.ApiKey.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 2}}, "df": 3}}, "w": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "s": {"docs": {"vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.add_ddl": {"tf": 1}, "vanna.base.VannaBase.add_documentation": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.submit_prompt": {"tf": 1}, "vanna.base.VannaBase.generate_question": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.mock.MockModel.submit_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}}, "df": 39}}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_models": {"tf": 1}, "vanna.TrainingPlan.__init__": {"tf": 1}, "vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.get_training_plan_postgres": {"tf": 1.4142135623730951}, "vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 2.449489742783178}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1.4142135623730951}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1.4142135623730951}, "vanna.base.SplitStorage.get_documentation": {"tf": 1.4142135623730951}, "vanna.base.SplitStorage.get_ddl": {"tf": 1.4142135623730951}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 2.449489742783178}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 2.449489742783178}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.OrganizationList.__init__": {"tf": 1}, "vanna.types.QuestionStringList.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlan.__init__": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}}, "df": 39}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 2, "l": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.utils.sanitize_model_name": {"tf": 1}}, "df": 4}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.add_sql": {"tf": 1}}, "df": 1}}}}}}, "r": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.__init__": {"tf": 1}}, "df": 1}}}}}}}, "s": {"docs": {}, "df": 0, "g": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}}, "df": 2}}}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}}, "df": 4}}}}}, "r": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.Diagram.__init__": {"tf": 1}}, "df": 1}}}}}}}, "d": {"docs": {}, "df": 0, "b": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.types.NewOrganization.__init__": {"tf": 1}}, "df": 2, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_postgres": {"tf": 1}}, "df": 1}}}}}, "d": {"docs": {}, "df": 0, "l": {"docs": {"vanna.add_ddl": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.base.VannaBase.add_ddl": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.SplitStorage.get_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1}}, "df": 11}}, "o": {"docs": {}, "df": 0, "c": {"docs": {"vanna.base.VannaBase.add_documentation": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1}, "vanna.base.SplitStorage.get_documentation": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1}}, "df": 6, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.add_documentation": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1}}, "df": 4}}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.StringData.__init__": {"tf": 1}, "vanna.types.DataFrameJSON.__init__": {"tf": 1}}, "df": 7, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_results": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}}, "df": 3, "s": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 3}}}}}, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_followup_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 10}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "k": {"docs": {"vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 2}}}, "f": {"docs": {"vanna.get_training_plan_generic": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}}, "df": 7}, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1}}, "df": 5}}}}, "t": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.TrainingPlanItem.__init__": {"tf": 1}, "vanna.types.NewOrganization.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1}}, "df": 5, "s": {"docs": {"vanna.get_related_training_data": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 2.23606797749979}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.TrainingPlan.__init__": {"tf": 1}}, "df": 10}}}}, "a": {"docs": {}, "df": 0, "g": {"docs": {"vanna.add_sql": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}}, "df": 2}, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}}, "df": 3, "s": {"docs": {"vanna.types.WarehouseDefinition.__init__": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.WarehouseDefinition.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna.ask": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.add_sql": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_generic": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 6, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"vanna.TrainingPlan.__init__": {"tf": 1}, "vanna.types.TrainingPlan.__init__": {"tf": 1}}, "df": 2}}}}}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.get_related_training_data": {"tf": 1}}, "df": 1}}}}}}}}}}, "u": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.ask": {"tf": 1.7320508075688772}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 7}}}, "u": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.ask": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}}, "df": 2}}}}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "l": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1.4142135623730951}, "vanna.update_model_visibility": {"tf": 1.4142135623730951}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.get_training_plan_postgres": {"tf": 1.4142135623730951}, "vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}, "vanna.train": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.ask": {"tf": 1.7320508075688772}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.Visibility.__init__": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1.4142135623730951}}, "df": 22}}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {"vanna.add_user_to_model": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1.4142135623730951}}, "df": 3}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {"vanna.TrainingPlanItem.__init__": {"tf": 2}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 2}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 4}}}, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 3}}}}}, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 3}}}}}}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"vanna.generate_plotly_code": {"tf": 1}}, "df": 1}}}}}}}}}}, "t": {"docs": {"vanna.connect_to_postgres": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1.4142135623730951}, "vanna.types.DataResult.__init__": {"tf": 1}}, "df": 3}}, "d": {"docs": {"vanna.remove_training_data": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}}, "df": 4, "s": {"docs": {"vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.base.SplitStorage.get_documentation": {"tf": 1}, "vanna.base.SplitStorage.get_ddl": {"tf": 1}}, "df": 3}}}, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna.add_user_to_model": {"tf": 1}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1}}, "df": 2}}}}, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {"vanna.ask": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}}, "df": 2}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}}, "df": 2}}}}}}, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}}, "df": 2}}}}}, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.DataResult.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "p": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {"vanna.update_model_visibility": {"tf": 1}}, "df": 1}}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna.TrainingPlan.__init__": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.types.TrainingPlan.__init__": {"tf": 1}}, "df": 4}}, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.ask": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}}, "df": 6, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {"vanna.generate_followup_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 10}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "d": {"docs": {"vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}}, "df": 3}}}}}}, "t": {"docs": {}, "df": 0, "h": {"docs": {"vanna.connect_to_bigquery": {"tf": 1}, "vanna.utils.validate_config_path": {"tf": 1}}, "df": 2}}}, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.ask": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}}, "df": 2}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.ColumnDefinition.__init__": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_bigquery": {"tf": 1}}, "df": 1}}}}, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {"vanna.base.VannaBase.submit_prompt": {"tf": 1}, "vanna.mock.MockModel.submit_prompt": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1}}, "df": 3}}}}, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.__init__": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_postgres": {"tf": 1}}, "df": 1}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.__init__": {"tf": 1}}, "df": 1}}}}}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.add_sql": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1}, "vanna.base.VannaBase.add_question_sql": {"tf": 1}, "vanna.base.VannaBase.get_prompt": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1}, "vanna.mock.MockModel.get_prompt": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1.4142135623730951}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1.4142135623730951}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1.4142135623730951}, "vanna.types.DataResult.__init__": {"tf": 1}}, "df": 33, "s": {"docs": {"vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.QuestionStringList.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.TrainingData.__init__": {"tf": 1}}, "df": 4}, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 3}}}}}}}, "g": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"vanna.TrainingPlanItem.__init__": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1}}, "df": 2}}}, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "h": {"docs": {"vanna.ask": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 4}}}}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.ask": {"tf": 1}}, "df": 1}}}}}}}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"vanna.TrainingPlanItem.__init__": {"tf": 1}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1}}, "df": 2}}}, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna.TrainingPlan.__init__": {"tf": 1}, "vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_generic": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 2.23606797749979}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.TrainingPlan.__init__": {"tf": 1}}, "df": 15}}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.Visibility.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1.4142135623730951}, "vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1.4142135623730951}}, "df": 3}}}, "e": {"docs": {"vanna.train": {"tf": 1.4142135623730951}, "vanna.connect_to_bigquery": {"tf": 1}}, "df": 2}}, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.ask": {"tf": 1.4142135623730951}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.ask": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1.4142135623730951}}, "df": 4}}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 3}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_followup_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.base.VannaBase.run_sql": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 10}}}}, "o": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.Followup.__init__": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.ask": {"tf": 1}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition.__init__": {"tf": 1.7320508075688772}}, "df": 1}}}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna.base.VannaBase.generate_embedding": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}}, "df": 4}}}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionList.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 3, "r": {"docs": {"vanna.connect_to_postgres": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}}, "df": 2, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}}, "df": 2}}}}}}}, "r": {"docs": {}, "df": 0, "l": {"docs": {"vanna.connect_to_sqlite": {"tf": 1}}, "df": 1}}}, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"vanna.get_training_plan_postgres": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1}}, "df": 3}}}}}}}}}, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_postgres": {"tf": 1}}, "df": 1}}}}, "j": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.train": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.ask": {"tf": 1}, "vanna.base.VannaBase.ask": {"tf": 1}}, "df": 2}}}}}}, "o": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_snowflake": {"tf": 1}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1}}, "df": 2}}}, "a": {"docs": {}, "df": 0, "w": {"docs": {"vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}}, "df": 2}}}}}, "bases": {"root": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "c": {"docs": {"vanna.base.VannaBase": {"tf": 1.4142135623730951}}, "df": 1}}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1.4142135623730951}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}}, "df": 5, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}}, "df": 4}}}}}}}}, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}}, "df": 2, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}}, "df": 2}}}}}}}}}}}, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}}, "df": 3, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.exceptions.ImproperlyConfigured": {"tf": 1}, "vanna.exceptions.DependencyError": {"tf": 1}, "vanna.exceptions.ConnectionError": {"tf": 1}, "vanna.exceptions.OTPCodeError": {"tf": 1}, "vanna.exceptions.SQLRemoveError": {"tf": 1}, "vanna.exceptions.ExecutionError": {"tf": 1}, "vanna.exceptions.ValidationError": {"tf": 1}, "vanna.exceptions.APIError": {"tf": 1}}, "df": 8}}}}}}}}}}}}, "u": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"vanna.exceptions.ImproperlyConfigured": {"tf": 1}, "vanna.exceptions.DependencyError": {"tf": 1}, "vanna.exceptions.ConnectionError": {"tf": 1}, "vanna.exceptions.OTPCodeError": {"tf": 1}, "vanna.exceptions.SQLRemoveError": {"tf": 1}, "vanna.exceptions.ExecutionError": {"tf": 1}, "vanna.exceptions.ValidationError": {"tf": 1}, "vanna.exceptions.APIError": {"tf": 1}}, "df": 8}}}}}}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "b": {"docs": {"vanna.local.LocalContext_OpenAI": {"tf": 1.4142135623730951}, "vanna.mock.MockModel": {"tf": 1.4142135623730951}}, "df": 2}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna.local.LocalContext_OpenAI": {"tf": 1.4142135623730951}}, "df": 1}}}}, "o": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {"vanna.local.LocalContext_OpenAI": {"tf": 1.4142135623730951}}, "df": 1}}}}}}}}, "doc": {"root": {"1": {"0": {"docs": {"vanna": {"tf": 1}}, "df": 1}, "docs": {"vanna.remove_training_data": {"tf": 1}}, "df": 1}, "2": {"5": {"5": {"docs": {"vanna.add_ddl": {"tf": 1}}, "df": 1}, "docs": {}, "df": 0}, "docs": {}, "df": 0}, "3": {"9": {"docs": {"vanna": {"tf": 2.449489742783178}, "vanna.add_documentation": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 2}, "vanna.generate_questions": {"tf": 2}, "vanna.get_plotly_figure": {"tf": 2}, "vanna.generate_explanation": {"tf": 2}, "vanna.generate_question": {"tf": 2}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 2}}, "df": 8}, "docs": {}, "df": 0}, "5": {"4": {"3": {"2": {"docs": {"vanna.connect_to_postgres": {"tf": 1}}, "df": 1}, "docs": {}, "df": 0}, "docs": {}, "df": 0}, "docs": {}, "df": 0}, "docs": {"vanna": {"tf": 19.621416870348583}, "vanna.api_key": {"tf": 1.7320508075688772}, "vanna.run_sql": {"tf": 7.483314773547883}, "vanna.get_api_key": {"tf": 8}, "vanna.set_api_key": {"tf": 8.246211251235321}, "vanna.get_models": {"tf": 6.48074069840786}, "vanna.create_model": {"tf": 8.660254037844387}, "vanna.add_user_to_model": {"tf": 9}, "vanna.update_model_visibility": {"tf": 7.483314773547883}, "vanna.set_model": {"tf": 6.708203932499369}, "vanna.add_sql": {"tf": 9.055385138137417}, "vanna.add_ddl": {"tf": 7.681145747868608}, "vanna.add_documentation": {"tf": 7.681145747868608}, "vanna.TrainingPlanItem": {"tf": 1.7320508075688772}, "vanna.TrainingPlanItem.__init__": {"tf": 1.7320508075688772}, "vanna.TrainingPlanItem.item_type": {"tf": 1.7320508075688772}, "vanna.TrainingPlanItem.item_group": {"tf": 1.7320508075688772}, "vanna.TrainingPlanItem.item_name": {"tf": 1.7320508075688772}, "vanna.TrainingPlanItem.item_value": {"tf": 1.7320508075688772}, "vanna.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1.7320508075688772}, "vanna.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1.7320508075688772}, "vanna.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1.7320508075688772}, "vanna.TrainingPlan": {"tf": 6.48074069840786}, "vanna.TrainingPlan.__init__": {"tf": 1.7320508075688772}, "vanna.TrainingPlan.get_summary": {"tf": 7.14142842854285}, "vanna.TrainingPlan.remove_item": {"tf": 7.745966692414834}, "vanna.get_training_plan_postgres": {"tf": 1.7320508075688772}, "vanna.get_training_plan_generic": {"tf": 1.7320508075688772}, "vanna.get_training_plan_experimental": {"tf": 9}, "vanna.train": {"tf": 9.16515138991168}, "vanna.flag_sql_for_review": {"tf": 8.426149773176359}, "vanna.remove_sql": {"tf": 6.928203230275509}, "vanna.remove_training_data": {"tf": 6.928203230275509}, "vanna.generate_sql": {"tf": 7.810249675906654}, "vanna.get_related_training_data": {"tf": 8}, "vanna.generate_meta": {"tf": 7.810249675906654}, "vanna.generate_followup_questions": {"tf": 8.831760866327848}, "vanna.generate_questions": {"tf": 6.4031242374328485}, "vanna.ask": {"tf": 11.532562594670797}, "vanna.generate_plotly_code": {"tf": 10.099504938362077}, "vanna.get_plotly_figure": {"tf": 9.486832980505138}, "vanna.get_results": {"tf": 6.082762530298219}, "vanna.generate_explanation": {"tf": 7.937253933193772}, "vanna.generate_question": {"tf": 7.937253933193772}, "vanna.get_all_questions": {"tf": 6.48074069840786}, "vanna.get_training_data": {"tf": 6.4031242374328485}, "vanna.connect_to_sqlite": {"tf": 4.795831523312719}, "vanna.connect_to_snowflake": {"tf": 11.224972160321824}, "vanna.connect_to_postgres": {"tf": 10.908712114635714}, "vanna.connect_to_bigquery": {"tf": 8.48528137423857}, "vanna.base": {"tf": 1.7320508075688772}, "vanna.base.VannaBase": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.config": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.run_sql_is_set": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.generate_sql_from_question": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.generate_embedding": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.get_similar_question_sql": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.get_related_ddl": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.get_related_documentation": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.add_question_sql": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.add_ddl": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.add_documentation": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.get_prompt": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.submit_prompt": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.generate_question": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.connect_to_snowflake": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.run_sql": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.ask": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.train": {"tf": 8.48528137423857}, "vanna.base.VannaBase.get_training_plan_snowflake": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 9.486832980505138}, "vanna.base.SplitStorage": {"tf": 1.7320508075688772}, "vanna.base.SplitStorage.get_similar_question_sql": {"tf": 1.7320508075688772}, "vanna.base.SplitStorage.get_related_ddl": {"tf": 1.7320508075688772}, "vanna.base.SplitStorage.get_related_documentation": {"tf": 1.7320508075688772}, "vanna.base.SplitStorage.store_question_sql_embedding": {"tf": 1.7320508075688772}, "vanna.base.SplitStorage.store_ddl_embedding": {"tf": 1.7320508075688772}, "vanna.base.SplitStorage.store_documentation_embedding": {"tf": 1.7320508075688772}, "vanna.base.SplitStorage.get_similar_question_sql_ids": {"tf": 1.7320508075688772}, "vanna.base.SplitStorage.get_related_ddl_ids": {"tf": 1.7320508075688772}, "vanna.base.SplitStorage.get_related_documentation_ids": {"tf": 1.7320508075688772}, "vanna.base.SplitStorage.get_question_sql": {"tf": 1.7320508075688772}, "vanna.base.SplitStorage.get_documentation": {"tf": 1.7320508075688772}, "vanna.base.SplitStorage.get_ddl": {"tf": 1.7320508075688772}, "vanna.chromadb_vector": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.default_ef": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.ChromaDB_VectorStore.chroma_client": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.ChromaDB_VectorStore.documentation_collection": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.ChromaDB_VectorStore.ddl_collection": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.ChromaDB_VectorStore.sql_collection": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.ChromaDB_VectorStore.generate_embedding": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_question_sql": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_ddl": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.ChromaDB_VectorStore.add_documentation": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_similar_question_sql": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_ddl": {"tf": 1.7320508075688772}, "vanna.chromadb_vector.ChromaDB_VectorStore.get_related_documentation": {"tf": 1.7320508075688772}, "vanna.exceptions": {"tf": 1.7320508075688772}, "vanna.exceptions.ImproperlyConfigured": {"tf": 1.7320508075688772}, "vanna.exceptions.DependencyError": {"tf": 1.7320508075688772}, "vanna.exceptions.ConnectionError": {"tf": 1.4142135623730951}, "vanna.exceptions.OTPCodeError": {"tf": 1.4142135623730951}, "vanna.exceptions.SQLRemoveError": {"tf": 1.4142135623730951}, "vanna.exceptions.ExecutionError": {"tf": 1.4142135623730951}, "vanna.exceptions.ValidationError": {"tf": 1.4142135623730951}, "vanna.exceptions.APIError": {"tf": 1.4142135623730951}, "vanna.local": {"tf": 1.7320508075688772}, "vanna.local.LocalContext_OpenAI": {"tf": 1.7320508075688772}, "vanna.local.LocalContext_OpenAI.__init__": {"tf": 1.7320508075688772}, "vanna.mock": {"tf": 1.7320508075688772}, "vanna.mock.MockModel": {"tf": 1.7320508075688772}, "vanna.mock.MockModel.get_prompt": {"tf": 1.7320508075688772}, "vanna.mock.MockModel.submit_prompt": {"tf": 1.7320508075688772}, "vanna.openai_chat": {"tf": 1.7320508075688772}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1.7320508075688772}, "vanna.openai_chat.OpenAI_Chat.system_message": {"tf": 1.7320508075688772}, "vanna.openai_chat.OpenAI_Chat.user_message": {"tf": 1.7320508075688772}, "vanna.openai_chat.OpenAI_Chat.assistant_message": {"tf": 1.7320508075688772}, "vanna.openai_chat.OpenAI_Chat.get_prompt": {"tf": 1.7320508075688772}, "vanna.openai_chat.OpenAI_Chat.generate_question": {"tf": 1.7320508075688772}, "vanna.openai_chat.OpenAI_Chat.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.openai_chat.OpenAI_Chat.submit_prompt": {"tf": 1.7320508075688772}, "vanna.openai_embeddings": {"tf": 1.7320508075688772}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1.7320508075688772}, "vanna.openai_embeddings.OpenAI_Embeddings.generate_embedding": {"tf": 1.7320508075688772}, "vanna.types": {"tf": 1.7320508075688772}, "vanna.types.Status": {"tf": 1.7320508075688772}, "vanna.types.Status.__init__": {"tf": 1.7320508075688772}, "vanna.types.Status.success": {"tf": 1.7320508075688772}, "vanna.types.Status.message": {"tf": 1.7320508075688772}, "vanna.types.QuestionList": {"tf": 1.7320508075688772}, "vanna.types.QuestionList.__init__": {"tf": 1.7320508075688772}, "vanna.types.QuestionList.questions": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.id": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.question": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.answer": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.data": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1.7320508075688772}, "vanna.types.QuestionSQLPair": {"tf": 1.7320508075688772}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1.7320508075688772}, "vanna.types.QuestionSQLPair.question": {"tf": 1.7320508075688772}, "vanna.types.QuestionSQLPair.sql": {"tf": 1.7320508075688772}, "vanna.types.QuestionSQLPair.tag": {"tf": 1.7320508075688772}, "vanna.types.Organization": {"tf": 1.7320508075688772}, "vanna.types.Organization.__init__": {"tf": 1.7320508075688772}, "vanna.types.Organization.name": {"tf": 1.7320508075688772}, "vanna.types.Organization.user": {"tf": 1.7320508075688772}, "vanna.types.Organization.connection": {"tf": 1.7320508075688772}, "vanna.types.OrganizationList": {"tf": 1.7320508075688772}, "vanna.types.OrganizationList.__init__": {"tf": 1.7320508075688772}, "vanna.types.OrganizationList.organizations": {"tf": 1.7320508075688772}, "vanna.types.QuestionStringList": {"tf": 1.7320508075688772}, "vanna.types.QuestionStringList.__init__": {"tf": 1.7320508075688772}, "vanna.types.QuestionStringList.questions": {"tf": 1.7320508075688772}, "vanna.types.Visibility": {"tf": 1.7320508075688772}, "vanna.types.Visibility.__init__": {"tf": 1.7320508075688772}, "vanna.types.Visibility.visibility": {"tf": 1.7320508075688772}, "vanna.types.UserEmail": {"tf": 1.7320508075688772}, "vanna.types.UserEmail.__init__": {"tf": 1.7320508075688772}, "vanna.types.UserEmail.email": {"tf": 1.7320508075688772}, "vanna.types.NewOrganization": {"tf": 1.7320508075688772}, "vanna.types.NewOrganization.__init__": {"tf": 1.7320508075688772}, "vanna.types.NewOrganization.org_name": {"tf": 1.7320508075688772}, "vanna.types.NewOrganization.db_type": {"tf": 1.7320508075688772}, "vanna.types.NewOrganizationMember": {"tf": 1.7320508075688772}, "vanna.types.NewOrganizationMember.__init__": {"tf": 1.7320508075688772}, "vanna.types.NewOrganizationMember.org_name": {"tf": 1.7320508075688772}, "vanna.types.NewOrganizationMember.email": {"tf": 1.7320508075688772}, "vanna.types.NewOrganizationMember.is_admin": {"tf": 1.7320508075688772}, "vanna.types.UserOTP": {"tf": 1.7320508075688772}, "vanna.types.UserOTP.__init__": {"tf": 1.7320508075688772}, "vanna.types.UserOTP.email": {"tf": 1.7320508075688772}, "vanna.types.UserOTP.otp": {"tf": 1.7320508075688772}, "vanna.types.ApiKey": {"tf": 1.7320508075688772}, "vanna.types.ApiKey.__init__": {"tf": 1.7320508075688772}, "vanna.types.ApiKey.key": {"tf": 1.7320508075688772}, "vanna.types.QuestionId": {"tf": 1.7320508075688772}, "vanna.types.QuestionId.__init__": {"tf": 1.7320508075688772}, "vanna.types.QuestionId.id": {"tf": 1.7320508075688772}, "vanna.types.Question": {"tf": 1.7320508075688772}, "vanna.types.Question.__init__": {"tf": 1.7320508075688772}, "vanna.types.Question.question": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.__init__": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.question": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.category": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.SQL_RAN": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1.7320508075688772}, "vanna.types.AccuracyStats": {"tf": 1.7320508075688772}, "vanna.types.AccuracyStats.__init__": {"tf": 1.7320508075688772}, "vanna.types.AccuracyStats.num_questions": {"tf": 1.7320508075688772}, "vanna.types.AccuracyStats.data": {"tf": 1.7320508075688772}, "vanna.types.Followup": {"tf": 1.7320508075688772}, "vanna.types.Followup.__init__": {"tf": 1.7320508075688772}, "vanna.types.Followup.followup": {"tf": 1.7320508075688772}, "vanna.types.QuestionEmbedding": {"tf": 1.7320508075688772}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1.7320508075688772}, "vanna.types.QuestionEmbedding.question": {"tf": 1.7320508075688772}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1.7320508075688772}, "vanna.types.Connection": {"tf": 1.7320508075688772}, "vanna.types.SQLAnswer": {"tf": 1.7320508075688772}, "vanna.types.SQLAnswer.__init__": {"tf": 1.7320508075688772}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1.7320508075688772}, "vanna.types.SQLAnswer.prefix": {"tf": 1.7320508075688772}, "vanna.types.SQLAnswer.postfix": {"tf": 1.7320508075688772}, "vanna.types.SQLAnswer.sql": {"tf": 1.7320508075688772}, "vanna.types.Explanation": {"tf": 1.7320508075688772}, "vanna.types.Explanation.__init__": {"tf": 1.7320508075688772}, "vanna.types.Explanation.explanation": {"tf": 1.7320508075688772}, "vanna.types.DataResult": {"tf": 1.7320508075688772}, "vanna.types.DataResult.__init__": {"tf": 1.7320508075688772}, "vanna.types.DataResult.question": {"tf": 1.7320508075688772}, "vanna.types.DataResult.sql": {"tf": 1.7320508075688772}, "vanna.types.DataResult.table_markdown": {"tf": 1.7320508075688772}, "vanna.types.DataResult.error": {"tf": 1.7320508075688772}, "vanna.types.DataResult.correction_attempts": {"tf": 1.7320508075688772}, "vanna.types.PlotlyResult": {"tf": 1.7320508075688772}, "vanna.types.PlotlyResult.__init__": {"tf": 1.7320508075688772}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1.7320508075688772}, "vanna.types.WarehouseDefinition": {"tf": 1.7320508075688772}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1.7320508075688772}, "vanna.types.WarehouseDefinition.name": {"tf": 1.7320508075688772}, "vanna.types.WarehouseDefinition.tables": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition.__init__": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition.schema_name": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition.table_name": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition.ddl": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition.columns": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.__init__": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.name": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.type": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1.7320508075688772}, "vanna.types.Diagram": {"tf": 1.7320508075688772}, "vanna.types.Diagram.__init__": {"tf": 1.7320508075688772}, "vanna.types.Diagram.raw": {"tf": 1.7320508075688772}, "vanna.types.Diagram.mermaid_code": {"tf": 1.7320508075688772}, "vanna.types.StringData": {"tf": 1.7320508075688772}, "vanna.types.StringData.__init__": {"tf": 1.7320508075688772}, "vanna.types.StringData.data": {"tf": 1.7320508075688772}, "vanna.types.DataFrameJSON": {"tf": 1.7320508075688772}, "vanna.types.DataFrameJSON.__init__": {"tf": 1.7320508075688772}, "vanna.types.DataFrameJSON.data": {"tf": 1.7320508075688772}, "vanna.types.TrainingData": {"tf": 1.7320508075688772}, "vanna.types.TrainingData.__init__": {"tf": 1.7320508075688772}, "vanna.types.TrainingData.questions": {"tf": 1.7320508075688772}, "vanna.types.TrainingData.ddl": {"tf": 1.7320508075688772}, "vanna.types.TrainingData.documentation": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlanItem": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlanItem.__init__": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlanItem.item_type": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlanItem.item_group": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlanItem.item_name": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlanItem.item_value": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlanItem.ITEM_TYPE_SQL": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlanItem.ITEM_TYPE_DDL": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlanItem.ITEM_TYPE_IS": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlan": {"tf": 6.48074069840786}, "vanna.types.TrainingPlan.__init__": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlan.get_summary": {"tf": 7.14142842854285}, "vanna.types.TrainingPlan.remove_item": {"tf": 7.745966692414834}, "vanna.utils": {"tf": 1.7320508075688772}, "vanna.utils.validate_config_path": {"tf": 1.7320508075688772}, "vanna.utils.sanitize_model_name": {"tf": 1.7320508075688772}}, "df": 278, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {"vanna": {"tf": 1}}, "df": 1}}, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}}, "df": 2}}}, "t": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {"vanna.train": {"tf": 1}}, "df": 1}}}, "r": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 3}}, "y": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.add_documentation": {"tf": 1}}, "df": 2}, "e": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.ask": {"tf": 1.4142135623730951}}, "df": 5}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1.7320508075688772}}, "df": 3}}}}}}}, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "l": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1.4142135623730951}, "vanna.update_model_visibility": {"tf": 1.4142135623730951}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.ask": {"tf": 1.7320508075688772}}, "df": 8}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.base.VannaBase": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}}, "df": 19}}}, "e": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.run_sql": {"tf": 1}, "vanna.create_model": {"tf": 1}, "vanna.set_model": {"tf": 1.4142135623730951}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1.7320508075688772}, "vanna.connect_to_snowflake": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1.4142135623730951}}, "df": 8, "r": {"docs": {"vanna": {"tf": 1}, "vanna.get_models": {"tf": 1}, "vanna.add_user_to_model": {"tf": 2.449489742783178}, "vanna.connect_to_postgres": {"tf": 1.7320508075688772}}, "df": 4, "@": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.add_user_to_model": {"tf": 1}}, "df": 1}}}}}}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_snowflake": {"tf": 1.7320508075688772}}, "df": 1}}}}}, "d": {"docs": {"vanna.run_sql": {"tf": 1}}, "df": 1}}}, "p": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 2}, "vanna.ask": {"tf": 1.4142135623730951}}, "df": 3, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.update_model_visibility": {"tf": 1}}, "df": 2, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "[": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}}, "df": 3}}}}}}}}, "r": {"docs": {}, "df": 0, "l": {"docs": {"vanna.connect_to_sqlite": {"tf": 1.4142135623730951}}, "df": 1}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 2}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}, "vanna.get_models": {"tf": 1}, "vanna.TrainingPlan": {"tf": 1.4142135623730951}, "vanna.TrainingPlan.get_summary": {"tf": 1.7320508075688772}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}, "vanna.train": {"tf": 1.7320508075688772}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.get_related_training_data": {"tf": 1.7320508075688772}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.get_all_questions": {"tf": 1.4142135623730951}, "vanna.get_training_data": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.train": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlan": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlan.get_summary": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 19, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 2.23606797749979}, "vanna.generate_sql": {"tf": 1.7320508075688772}, "vanna.generate_meta": {"tf": 1.7320508075688772}, "vanna.generate_followup_questions": {"tf": 2}, "vanna.generate_questions": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 2.23606797749979}, "vanna.generate_explanation": {"tf": 1.7320508075688772}, "vanna.generate_question": {"tf": 1.7320508075688772}}, "df": 9, "s": {"docs": {"vanna": {"tf": 1}, "vanna.ask": {"tf": 1}}, "df": 2}}}}}}}}, "u": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "h": {"docs": {"vanna.ask": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 3}}}}, "c": {"docs": {}, "df": 0, "s": {"docs": {"vanna.connect_to_bigquery": {"tf": 1.7320508075688772}}, "df": 1}}}, "a": {"docs": {"vanna": {"tf": 2.23606797749979}, "vanna.get_models": {"tf": 1.4142135623730951}, "vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.add_sql": {"tf": 1.4142135623730951}, "vanna.add_ddl": {"tf": 1}, "vanna.TrainingPlan": {"tf": 1.4142135623730951}, "vanna.TrainingPlan.get_summary": {"tf": 1.4142135623730951}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.train": {"tf": 2.6457513110645907}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.ask": {"tf": 2.23606797749979}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_all_questions": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1.4142135623730951}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.base.VannaBase": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 2}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlan.get_summary": {"tf": 1.4142135623730951}}, "df": 35, "n": {"docs": {"vanna": {"tf": 1}, "vanna.get_api_key": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1.4142135623730951}, "vanna.add_documentation": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.generate_sql": {"tf": 1.7320508075688772}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1.4142135623730951}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 2.23606797749979}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 2}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.base.VannaBase": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 24, "y": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.create_model": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {"vanna.update_model_visibility": {"tf": 1}}, "df": 1}}}}, "d": {"docs": {"vanna.add_sql": {"tf": 1.7320508075688772}, "vanna.TrainingPlan": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.train": {"tf": 1.7320508075688772}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.remove_sql": {"tf": 1}, "vanna.ask": {"tf": 2}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 12}, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.generate_meta": {"tf": 1.4142135623730951}}, "df": 1, "s": {"docs": {"vanna.generate_meta": {"tf": 1}}, "df": 1}}}}}}, "p": {"docs": {}, "df": 0, "i": {"docs": {"vanna": {"tf": 2.8284271247461903}, "vanna.get_api_key": {"tf": 1.7320508075688772}, "vanna.set_api_key": {"tf": 2.449489742783178}, "vanna.set_model": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.exceptions.APIError": {"tf": 1}}, "df": 15}}, "s": {"docs": {"vanna": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 2, "k": {"docs": {"vanna": {"tf": 1}, "vanna.run_sql": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 2}}, "df": 3, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.add_sql": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}, "vanna.generate_meta": {"tf": 1}}, "df": 2}, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.train": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.train": {"tf": 1.7320508075688772}}, "df": 2, "s": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}, "vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.train": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 31}}}}}}}}, "d": {"docs": {}, "df": 0, "d": {"docs": {"vanna": {"tf": 2.449489742783178}, "vanna.add_user_to_model": {"tf": 2}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.train": {"tf": 2.449489742783178}, "vanna.base.VannaBase.train": {"tf": 2.449489742783178}}, "df": 7, "s": {"docs": {"vanna": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}}, "df": 4}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_api_key": {"tf": 1.4142135623730951}, "vanna.add_user_to_model": {"tf": 1}}, "df": 2}}}}, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.add_user_to_model": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 2}}}}}}}}}}, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1.4142135623730951}}, "df": 2, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "i": {"docs": {"vanna": {"tf": 1}, "vanna.run_sql": {"tf": 1}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 17}, "l": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {"vanna.run_sql": {"tf": 1}, "vanna.train": {"tf": 1}}, "df": 2}}, "l": {"docs": {"vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}}, "df": 3}}, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.add_sql": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1.7320508075688772}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 11}}}}}, "g": {"docs": {"vanna.add_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}}, "df": 4}}, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {"vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 2}}}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {"vanna.train": {"tf": 1}}, "df": 1}}}, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_snowflake": {"tf": 1.7320508075688772}}, "df": 1}}}}}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {"vanna.generate_meta": {"tf": 1.4142135623730951}}, "df": 1}}}, "c": {"docs": {"vanna.base.VannaBase": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}}, "df": 7}, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.exceptions.OTPCodeError": {"tf": 1}, "vanna.exceptions.SQLRemoveError": {"tf": 1}, "vanna.exceptions.ExecutionError": {"tf": 1}}, "df": 3}}}, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {"vanna.ask": {"tf": 1}}, "df": 1, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.ask": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 2.6457513110645907}, "vanna.get_api_key": {"tf": 1.4142135623730951}, "vanna.set_api_key": {"tf": 2.6457513110645907}}, "df": 3}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}}, "df": 4}}}}}, "n": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.run_sql": {"tf": 1}, "vanna.TrainingPlan": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.generate_meta": {"tf": 1.4142135623730951}, "vanna.generate_followup_questions": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 9, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}, "vanna.generate_meta": {"tf": 1}}, "df": 2}}}}}}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {"vanna.run_sql": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 3}}}, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"vanna.generate_plotly_code": {"tf": 1.4142135623730951}}, "df": 1}}}}}}}}}}, "t": {"docs": {"vanna.add_ddl": {"tf": 1.4142135623730951}, "vanna.connect_to_postgres": {"tf": 1}}, "df": 2}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.ask": {"tf": 1}, "vanna.exceptions.ImproperlyConfigured": {"tf": 1}}, "df": 2}}}}}}}, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"vanna.base.VannaBase": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}}, "df": 7}}}}}}}}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.exceptions.OTPCodeError": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.update_model_visibility": {"tf": 1.7320508075688772}, "vanna.TrainingPlan": {"tf": 1.4142135623730951}, "vanna.train": {"tf": 3.1622776601683795}, "vanna.ask": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 3}, "vanna.exceptions.OTPCodeError": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1.4142135623730951}}, "df": 8, "s": {"docs": {"vanna.add_sql": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 5}, "e": {"docs": {}, "df": 0, "m": {"docs": {"vanna.add_documentation": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 2}, "vanna.types.TrainingPlan.remove_item": {"tf": 2}}, "df": 3, "s": {"docs": {"vanna.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 2}}}}, "s": {"docs": {"vanna": {"tf": 1}, "vanna.run_sql": {"tf": 1}, "vanna.get_models": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1.4142135623730951}, "vanna.add_sql": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1.7320508075688772}, "vanna.generate_questions": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 25}, "f": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1.7320508075688772}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.train": {"tf": 2.23606797749979}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 2.6457513110645907}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 2.23606797749979}}, "df": 21}, "d": {"docs": {"vanna.add_ddl": {"tf": 1}, "vanna.remove_training_data": {"tf": 1.7320508075688772}, "vanna.connect_to_bigquery": {"tf": 1.7320508075688772}}, "df": 3}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 3.4641016151377544}, "vanna.run_sql": {"tf": 1.7320508075688772}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.train": {"tf": 2.449489742783178}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 2.449489742783178}}, "df": 22}}}, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {"vanna.add_ddl": {"tf": 1}}, "df": 1}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"vanna.exceptions.ValidationError": {"tf": 1}}, "df": 1}}}}}}}}}}, "n": {"docs": {"vanna": {"tf": 4.898979485566356}, "vanna.run_sql": {"tf": 1.7320508075688772}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1.4142135623730951}, "vanna.get_models": {"tf": 1}, "vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.TrainingPlan": {"tf": 1}, "vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}, "vanna.train": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1.4142135623730951}, "vanna.connect_to_postgres": {"tf": 1.4142135623730951}, "vanna.connect_to_bigquery": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.train": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 42}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.update_model_visibility": {"tf": 1.7320508075688772}}, "df": 2}}}}}, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.update_model_visibility": {"tf": 1.7320508075688772}}, "df": 1}}}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1}}, "df": 1}}}}}}}}, "m": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 1}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}, "vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.set_model": {"tf": 1}}, "df": 6, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_snowflake": {"tf": 1}}, "df": 1}}}}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.connect_to_postgres": {"tf": 1}}, "df": 1, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_snowflake": {"tf": 1}}, "df": 1}}}}}}}}, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "d": {"docs": {"vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}}, "df": 2}}}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.connect_to_bigquery": {"tf": 1}}, "df": 1}}}}}}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}}, "df": 2}}}}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_snowflake": {"tf": 1}}, "df": 1}}}}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_postgres": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {"vanna": {"tf": 3.872983346207417}, "vanna.get_models": {"tf": 1}, "vanna.create_model": {"tf": 2.8284271247461903}, "vanna.add_user_to_model": {"tf": 2.449489742783178}, "vanna.update_model_visibility": {"tf": 2.449489742783178}, "vanna.set_model": {"tf": 2}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.get_training_data": {"tf": 1}}, "df": 13, "s": {"docs": {"vanna": {"tf": 1}, "vanna.get_models": {"tf": 1.7320508075688772}, "vanna.set_model": {"tf": 1}}, "df": 3}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.get_models": {"tf": 1}}, "df": 2, "s": {"docs": {"vanna": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}}, "df": 2}}}}}, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1}}, "df": 1}}}, "a": {"docs": {"vanna.generate_meta": {"tf": 1}}, "df": 1, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 4}}}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}, "y": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1}}, "df": 1}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.add_documentation": {"tf": 1}}, "df": 1}}}}}}}}}, "s": {"docs": {}, "df": 0, "g": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.exceptions.DependencyError": {"tf": 1}}, "df": 1}}}}}}}, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {"vanna.get_api_key": {"tf": 2}, "vanna.set_api_key": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1.7320508075688772}}, "df": 3, "@": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}}, "df": 3}}}}}}}}}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna.add_sql": {"tf": 1.4142135623730951}, "vanna.add_ddl": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1.7320508075688772}, "vanna.generate_questions": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 13}}}}}}}}, "x": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.run_sql": {"tf": 1}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}, "vanna.get_models": {"tf": 1}, "vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.TrainingPlan": {"tf": 1}, "vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 39, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 2}}, "df": 2}}}}}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1.7320508075688772}, "vanna.train": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.train": {"tf": 1.4142135623730951}}, "df": 3}}}}}}}}}}, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_results": {"tf": 1}, "vanna.exceptions.ExecutionError": {"tf": 1}}, "df": 2}}}}}}, "n": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {"vanna.run_sql": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.generate_followup_questions": {"tf": 1}}, "df": 1}}}}}}}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.ask": {"tf": 1}}, "df": 1}}}}, "l": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.create_model": {"tf": 1}}, "df": 1}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.train": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.train": {"tf": 1.7320508075688772}}, "df": 2}}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 2}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}}, "df": 12, "s": {"docs": {"vanna.exceptions.APIError": {"tf": 1}}, "df": 1}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {"vanna": {"tf": 1}, "vanna.get_api_key": {"tf": 1}, "vanna.set_api_key": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}}, "df": 4, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}, "vanna.get_api_key": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 2.449489742783178}, "vanna.get_plotly_figure": {"tf": 2}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 2}, "vanna.exceptions.ExecutionError": {"tf": 1}}, "df": 6}}, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.run_sql": {"tf": 1.4142135623730951}, "vanna.connect_to_sqlite": {"tf": 1.4142135623730951}, "vanna.connect_to_snowflake": {"tf": 1.4142135623730951}, "vanna.connect_to_postgres": {"tf": 1.7320508075688772}, "vanna.connect_to_bigquery": {"tf": 1.4142135623730951}}, "df": 6, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 2}}, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.get_results": {"tf": 1}, "vanna.exceptions.ConnectionError": {"tf": 1}}, "df": 2}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.connect_to_snowflake": {"tf": 1.4142135623730951}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}}, "df": 3}}}}}}, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.exceptions.ImproperlyConfigured": {"tf": 1}}, "df": 1}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.add_sql": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 5}}}}}}}}}}}, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"vanna.generate_explanation": {"tf": 1}}, "df": 1}}}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.get_training_data": {"tf": 1}}, "df": 3, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1}}, "df": 1}}}}}}, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}, "vanna.create_model": {"tf": 1.7320508075688772}, "vanna.add_ddl": {"tf": 1}, "vanna.base.VannaBase": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}}, "df": 10, "d": {"docs": {"vanna.create_model": {"tf": 1}}, "df": 1}}}}, "d": {"docs": {"vanna.connect_to_bigquery": {"tf": 1.4142135623730951}}, "df": 1, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"vanna.connect_to_bigquery": {"tf": 1}}, "df": 1}}}}}}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}, "vanna.run_sql": {"tf": 1}, "vanna.create_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1.4142135623730951}, "vanna.TrainingPlan": {"tf": 1}, "vanna.train": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 9}, "l": {"docs": {}, "df": 0, "l": {"docs": {"vanna.train": {"tf": 2}, "vanna.base.VannaBase.train": {"tf": 2}}, "df": 2}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"vanna.TrainingPlan": {"tf": 1}, "vanna.base.VannaBase": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 9}}}, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_bigquery": {"tf": 1}}, "df": 1}}}}}, "h": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1}}, "df": 1}}}, "r": {"docs": {}, "df": 0, "t": {"docs": {"vanna.generate_plotly_code": {"tf": 1.4142135623730951}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "k": {"docs": {"vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 2}}}}, "s": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}, "s": {"docs": {"vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1.4142135623730951}, "vanna.TrainingPlan": {"tf": 1}, "vanna.train": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 8, "e": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 2.6457513110645907}, "vanna.run_sql": {"tf": 1.4142135623730951}, "vanna.set_api_key": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1.4142135623730951}, "vanna.set_model": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}}, "df": 10, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1}, "vanna.run_sql": {"tf": 1}}, "df": 2}}}}, "s": {"docs": {"vanna": {"tf": 1}, "vanna.set_api_key": {"tf": 1}}, "df": 2}}, "e": {"docs": {"vanna": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1.4142135623730951}, "vanna.TrainingPlan": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 5}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_api_key": {"tf": 1}}, "df": 1}, "d": {"docs": {"vanna.exceptions.OTPCodeError": {"tf": 1}}, "df": 1}}, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.add_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 6, "s": {"docs": {"vanna.generate_explanation": {"tf": 1}}, "df": 1}}}}}}, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna": {"tf": 2.8284271247461903}, "vanna.run_sql": {"tf": 2.23606797749979}, "vanna.add_sql": {"tf": 2.6457513110645907}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.train": {"tf": 3.3166247903554}, "vanna.flag_sql_for_review": {"tf": 2.23606797749979}, "vanna.remove_sql": {"tf": 1.4142135623730951}, "vanna.generate_sql": {"tf": 2}, "vanna.ask": {"tf": 2.8284271247461903}, "vanna.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.get_results": {"tf": 2.23606797749979}, "vanna.generate_explanation": {"tf": 2}, "vanna.generate_question": {"tf": 2}, "vanna.connect_to_sqlite": {"tf": 1.4142135623730951}, "vanna.connect_to_snowflake": {"tf": 1.4142135623730951}, "vanna.connect_to_postgres": {"tf": 1.4142135623730951}, "vanna.connect_to_bigquery": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.train": {"tf": 2.449489742783178}, "vanna.exceptions.SQLRemoveError": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 20, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_sqlite": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}}, "df": 3}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.add_sql": {"tf": 1.4142135623730951}, "vanna.add_ddl": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1.7320508075688772}, "vanna.generate_questions": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 14}}}}}, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.add_ddl": {"tf": 1.7320508075688772}, "vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 3}}}}}}, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "d": {"docs": {"vanna.base.VannaBase": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}}, "df": 7}}}}}}, "r": {"docs": {"vanna.get_api_key": {"tf": 1.4142135623730951}, "vanna.set_api_key": {"tf": 1}, "vanna.create_model": {"tf": 1.4142135623730951}, "vanna.add_user_to_model": {"tf": 1.4142135623730951}, "vanna.set_model": {"tf": 1}, "vanna.add_sql": {"tf": 1.4142135623730951}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.train": {"tf": 2.449489742783178}, "vanna.flag_sql_for_review": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1.4142135623730951}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 2}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 2}, "vanna.connect_to_postgres": {"tf": 2}, "vanna.connect_to_bigquery": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.train": {"tf": 2}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 30, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.add_documentation": {"tf": 1.4142135623730951}}, "df": 1, "s": {"docs": {"vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}}, "df": 2}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.add_sql": {"tf": 1.4142135623730951}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}}, "df": 3, "d": {"docs": {"vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}}, "df": 3}}}}, "u": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.generate_question": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1}}, "df": 2}}}}}}}, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 2}}, "df": 1}}}}}}}, "l": {"docs": {}, "df": 0, "d": {"docs": {"vanna.add_documentation": {"tf": 1}}, "df": 1}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.run_sql": {"tf": 1.4142135623730951}, "vanna.create_model": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 2.6457513110645907}}, "df": 6}}}}}}}}, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}}, "df": 7}}}}}}}}}}, "m": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.TrainingPlan": {"tf": 1}, "vanna.TrainingPlan.get_summary": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1.4142135623730951}}, "df": 4}}}}}}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "d": {"docs": {"vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}}, "df": 2}}}, "w": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 3}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1}}, "df": 1}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {"vanna.ask": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {"vanna.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 2, "h": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 3.1622776601683795}, "vanna.run_sql": {"tf": 1.4142135623730951}, "vanna.get_api_key": {"tf": 2.23606797749979}, "vanna.set_api_key": {"tf": 1.4142135623730951}, "vanna.get_models": {"tf": 1.4142135623730951}, "vanna.create_model": {"tf": 2.23606797749979}, "vanna.add_user_to_model": {"tf": 2.6457513110645907}, "vanna.update_model_visibility": {"tf": 2.23606797749979}, "vanna.set_model": {"tf": 2}, "vanna.add_sql": {"tf": 2.449489742783178}, "vanna.add_ddl": {"tf": 1.7320508075688772}, "vanna.add_documentation": {"tf": 2.23606797749979}, "vanna.TrainingPlan.get_summary": {"tf": 1.4142135623730951}, "vanna.TrainingPlan.remove_item": {"tf": 1.7320508075688772}, "vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}, "vanna.train": {"tf": 3.3166247903554}, "vanna.flag_sql_for_review": {"tf": 2.449489742783178}, "vanna.remove_sql": {"tf": 1.7320508075688772}, "vanna.remove_training_data": {"tf": 1.7320508075688772}, "vanna.generate_sql": {"tf": 2}, "vanna.get_related_training_data": {"tf": 2}, "vanna.generate_meta": {"tf": 2.6457513110645907}, "vanna.generate_followup_questions": {"tf": 3}, "vanna.generate_questions": {"tf": 2}, "vanna.ask": {"tf": 3.7416573867739413}, "vanna.generate_plotly_code": {"tf": 2.6457513110645907}, "vanna.get_plotly_figure": {"tf": 1.7320508075688772}, "vanna.get_results": {"tf": 2.6457513110645907}, "vanna.generate_explanation": {"tf": 2.23606797749979}, "vanna.generate_question": {"tf": 2.23606797749979}, "vanna.get_all_questions": {"tf": 1.4142135623730951}, "vanna.get_training_data": {"tf": 1.7320508075688772}, "vanna.connect_to_sqlite": {"tf": 1.4142135623730951}, "vanna.connect_to_snowflake": {"tf": 2.449489742783178}, "vanna.connect_to_postgres": {"tf": 2.449489742783178}, "vanna.connect_to_bigquery": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.train": {"tf": 3}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlan.get_summary": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlan.remove_item": {"tf": 1.7320508075688772}}, "df": 40}, "i": {"docs": {}, "df": 0, "s": {"docs": {"vanna.run_sql": {"tf": 1.7320508075688772}, "vanna.create_model": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}}, "df": 10}}, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_models": {"tf": 1}, "vanna.TrainingPlan": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.base.VannaBase": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 13}}}, "p": {"docs": {}, "df": 0, "c": {"docs": {"vanna": {"tf": 1}}, "df": 1}}, "o": {"docs": {"vanna": {"tf": 2.23606797749979}, "vanna.run_sql": {"tf": 2}, "vanna.get_api_key": {"tf": 2}, "vanna.create_model": {"tf": 1.4142135623730951}, "vanna.add_user_to_model": {"tf": 2.23606797749979}, "vanna.set_model": {"tf": 1.4142135623730951}, "vanna.add_sql": {"tf": 2}, "vanna.add_ddl": {"tf": 1.4142135623730951}, "vanna.add_documentation": {"tf": 1.4142135623730951}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.train": {"tf": 3.1622776601683795}, "vanna.flag_sql_for_review": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1.4142135623730951}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 2.6457513110645907}, "vanna.generate_plotly_code": {"tf": 2}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 2}, "vanna.connect_to_snowflake": {"tf": 2.449489742783178}, "vanna.connect_to_postgres": {"tf": 1.7320508075688772}, "vanna.connect_to_bigquery": {"tf": 1.7320508075688772}, "vanna.base.VannaBase": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 3}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.exceptions.OTPCodeError": {"tf": 1}, "vanna.exceptions.SQLRemoveError": {"tf": 1}, "vanna.exceptions.ExecutionError": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 41, "p": {"docs": {"vanna": {"tf": 1}}, "df": 1}, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"vanna.generate_questions": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.train": {"tf": 2.8284271247461903}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.train": {"tf": 2.6457513110645907}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 7, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.TrainingPlan": {"tf": 1.4142135623730951}, "vanna.TrainingPlan.get_summary": {"tf": 1.7320508075688772}, "vanna.TrainingPlan.remove_item": {"tf": 1.4142135623730951}, "vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}, "vanna.train": {"tf": 2}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1.7320508075688772}, "vanna.get_related_training_data": {"tf": 2.23606797749979}, "vanna.get_training_data": {"tf": 2}, "vanna.base.VannaBase.train": {"tf": 2}, "vanna.types.TrainingPlan": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlan.get_summary": {"tf": 1.7320508075688772}, "vanna.types.TrainingPlan.remove_item": {"tf": 1.4142135623730951}}, "df": 17, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna.train": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.train": {"tf": 1.7320508075688772}}, "df": 2}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.get_related_training_data": {"tf": 1}}, "df": 1}}}}}}}, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 2}}}}}, "u": {"docs": {}, "df": 0, "e": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1.4142135623730951}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.ask": {"tf": 1}}, "df": 8}}}, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"vanna.create_model": {"tf": 1.7320508075688772}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "g": {"docs": {"vanna.add_sql": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1}}, "df": 2}, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.add_ddl": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}}, "df": 2, "s": {"docs": {"vanna.generate_meta": {"tf": 1.4142135623730951}}, "df": 1}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "o": {"docs": {"vanna": {"tf": 1}}, "df": 1}}, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}, "vanna.add_documentation": {"tf": 1}}, "df": 2}}}}}}}, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.connect_to_snowflake": {"tf": 1}}, "df": 3, "s": {"docs": {"vanna.connect_to_snowflake": {"tf": 1}}, "df": 1}}}}}}, "s": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}}, "df": 2}}}}}}}}, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.generate_followup_questions": {"tf": 1.4142135623730951}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}}}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna.exceptions.DependencyError": {"tf": 1}}, "df": 1}}}}}}}}}}}, "f": {"docs": {"vanna": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1.7320508075688772}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 2}, "vanna.get_plotly_figure": {"tf": 2}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 2}}, "df": 6}, "d": {"docs": {}, "df": 0, "l": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.add_ddl": {"tf": 2.449489742783178}, "vanna.train": {"tf": 2.23606797749979}, "vanna.remove_training_data": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 2.23606797749979}}, "df": 5}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1.7320508075688772}, "vanna.get_related_training_data": {"tf": 2.23606797749979}, "vanna.get_training_data": {"tf": 2}}, "df": 8, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}, "vanna.create_model": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.train": {"tf": 1.4142135623730951}, "vanna.generate_meta": {"tf": 1.7320508075688772}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.connect_to_sqlite": {"tf": 1.4142135623730951}, "vanna.connect_to_snowflake": {"tf": 1.7320508075688772}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1.4142135623730951}}, "df": 10, "s": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1}}, "df": 1}}}}}, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.run_sql": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.get_plotly_figure": {"tf": 1.7320508075688772}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1.7320508075688772}}, "df": 9}}}}}}}}, "i": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.run_sql": {"tf": 1}}, "df": 1}}}}}}, "s": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.add_documentation": {"tf": 1}}, "df": 1}}}}}}}, "b": {"docs": {"vanna.create_model": {"tf": 1.4142135623730951}}, "df": 1, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.connect_to_postgres": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.add_documentation": {"tf": 2.449489742783178}, "vanna.train": {"tf": 2.23606797749979}, "vanna.base.VannaBase.train": {"tf": 2.23606797749979}}, "df": 3}}}}}}}}}}}, "n": {"docs": {"vanna.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 2}, "e": {"docs": {"vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1}}, "df": 2, "s": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}, "h": {"docs": {"vanna": {"tf": 1}}, "df": 1, "o": {"docs": {}, "df": 0, "w": {"docs": {"vanna.generate_plotly_code": {"tf": 1}}, "df": 1}, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_postgres": {"tf": 1.7320508075688772}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.get_results": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}, "vanna.base.VannaBase": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}}, "df": 12}}}}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.add_sql": {"tf": 2.449489742783178}, "vanna.train": {"tf": 1.7320508075688772}, "vanna.flag_sql_for_review": {"tf": 2.23606797749979}, "vanna.remove_sql": {"tf": 2}, "vanna.generate_sql": {"tf": 1.7320508075688772}, "vanna.get_related_training_data": {"tf": 2}, "vanna.generate_meta": {"tf": 1.7320508075688772}, "vanna.generate_followup_questions": {"tf": 1.7320508075688772}, "vanna.ask": {"tf": 2.23606797749979}, "vanna.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.generate_question": {"tf": 2}, "vanna.base.VannaBase.train": {"tf": 1.7320508075688772}}, "df": 13, "s": {"docs": {"vanna": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.generate_followup_questions": {"tf": 2.23606797749979}, "vanna.generate_questions": {"tf": 1.7320508075688772}, "vanna.ask": {"tf": 2}, "vanna.get_all_questions": {"tf": 2}}, "df": 7}}}}}}, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.add_sql": {"tf": 2}, "vanna.train": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1.7320508075688772}, "vanna.ask": {"tf": 2.23606797749979}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_results": {"tf": 1.7320508075688772}, "vanna.generate_explanation": {"tf": 1.7320508075688772}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.train": {"tf": 1.4142135623730951}}, "df": 11}, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna.train": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_api_key": {"tf": 1.4142135623730951}, "vanna.set_api_key": {"tf": 1.4142135623730951}, "vanna.create_model": {"tf": 2}, "vanna.add_user_to_model": {"tf": 2}, "vanna.set_model": {"tf": 1.4142135623730951}, "vanna.add_sql": {"tf": 2}, "vanna.add_ddl": {"tf": 1.4142135623730951}, "vanna.add_documentation": {"tf": 1.4142135623730951}, "vanna.TrainingPlan.remove_item": {"tf": 1.4142135623730951}, "vanna.get_training_plan_experimental": {"tf": 2}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.remove_sql": {"tf": 1.4142135623730951}, "vanna.remove_training_data": {"tf": 1.4142135623730951}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.get_related_training_data": {"tf": 1.4142135623730951}, "vanna.generate_meta": {"tf": 1.4142135623730951}, "vanna.generate_followup_questions": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 2.8284271247461903}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.connect_to_snowflake": {"tf": 3.1622776601683795}, "vanna.connect_to_postgres": {"tf": 2.8284271247461903}, "vanna.connect_to_bigquery": {"tf": 2}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlan.remove_item": {"tf": 1.4142135623730951}}, "df": 27}}, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "y": {"docs": {"vanna.add_documentation": {"tf": 1}}, "df": 1}}}}}}}}, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1.7320508075688772}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1.7320508075688772}}, "df": 5, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.ask": {"tf": 2}, "vanna.get_plotly_figure": {"tf": 2}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 2}}, "df": 3}}}}, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1.4142135623730951}}, "df": 1}}}, "e": {"docs": {"vanna.train": {"tf": 2.449489742783178}, "vanna.connect_to_bigquery": {"tf": 1.7320508075688772}}, "df": 2}}}, "o": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {"vanna.generate_followup_questions": {"tf": 2}, "vanna.ask": {"tf": 1.4142135623730951}}, "df": 2, "u": {"docs": {}, "df": 0, "p": {"docs": {"vanna": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.ask": {"tf": 1.4142135623730951}}, "df": 3, "s": {"docs": {"vanna.ask": {"tf": 1}}, "df": 1}}}}}}}, "r": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.run_sql": {"tf": 1}, "vanna.set_api_key": {"tf": 1}, "vanna.create_model": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 2}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.exceptions.ImproperlyConfigured": {"tf": 1}, "vanna.exceptions.DependencyError": {"tf": 1}, "vanna.exceptions.ConnectionError": {"tf": 1}, "vanna.exceptions.OTPCodeError": {"tf": 1}, "vanna.exceptions.ValidationError": {"tf": 1}, "vanna.exceptions.APIError": {"tf": 1}}, "df": 21}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {"vanna": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.TrainingPlan": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_all_questions": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 16}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.run_sql": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}}, "df": 6}}}}}}, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}}, "df": 7}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {"vanna.flag_sql_for_review": {"tf": 2.23606797749979}}, "df": 1, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}}}}, "w": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.TrainingPlan": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1.7320508075688772}, "vanna.generate_questions": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 16}}, "e": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}, "vanna.exceptions.SQLRemoveError": {"tf": 1}, "vanna.exceptions.ExecutionError": {"tf": 1}}, "df": 3}, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.ask": {"tf": 1.7320508075688772}}, "df": 3}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1}}, "df": 2}}}}, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {"vanna.get_api_key": {"tf": 1.4142135623730951}, "vanna.add_sql": {"tf": 1}, "vanna.train": {"tf": 2.23606797749979}, "vanna.base.VannaBase.train": {"tf": 2.23606797749979}}, "df": 4}}, "l": {"docs": {}, "df": 0, "l": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.train": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.train": {"tf": 1.4142135623730951}}, "df": 4}}}, "a": {"docs": {}, "df": 0, "s": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}}, "df": 5}, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 2}}, "y": {"docs": {"vanna.base.VannaBase": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}}, "df": 7}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.add_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}}, "df": 2}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_training_plan_experimental": {"tf": 1}}, "df": 1}}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {"vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 2, "t": {"docs": {"vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1}, "vanna.exceptions.OTPCodeError": {"tf": 1}, "vanna.exceptions.SQLRemoveError": {"tf": 1}, "vanna.exceptions.ExecutionError": {"tf": 1}}, "df": 6, "e": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "k": {"docs": {"vanna": {"tf": 1}, "vanna.ask": {"tf": 1}}, "df": 2}}}}}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}}, "n": {"docs": {"vanna": {"tf": 1}}, "df": 1, "e": {"docs": {"vanna.get_api_key": {"tf": 1.4142135623730951}, "vanna.add_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.get_related_training_data": {"tf": 1.4142135623730951}, "vanna.generate_meta": {"tf": 1.4142135623730951}, "vanna.generate_followup_questions": {"tf": 1.4142135623730951}, "vanna.generate_questions": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 3}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_all_questions": {"tf": 1.4142135623730951}, "vanna.get_training_data": {"tf": 1.4142135623730951}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1.4142135623730951}}, "df": 15}}}, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.set_model": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 11, "s": {"docs": {"vanna.get_models": {"tf": 1}}, "df": 1}}}}, "e": {"docs": {}, "df": 0, "w": {"docs": {"vanna.create_model": {"tf": 1}}, "df": 1}}}, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}}, "c": {"docs": {}, "df": 0, "e": {"docs": {"vanna.add_documentation": {"tf": 1}}, "df": 1}}, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.ask": {"tf": 1.7320508075688772}}, "df": 1}}}, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.ask": {"tf": 1}}, "df": 1}}}}}, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_bigquery": {"tf": 1.7320508075688772}}, "df": 1}}}}, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna.base.VannaBase": {"tf": 1}, "vanna.base.SplitStorage": {"tf": 1}, "vanna.chromadb_vector.ChromaDB_VectorStore": {"tf": 1}, "vanna.local.LocalContext_OpenAI": {"tf": 1}, "vanna.mock.MockModel": {"tf": 1}, "vanna.openai_chat.OpenAI_Chat": {"tf": 1}, "vanna.openai_embeddings.OpenAI_Embeddings": {"tf": 1}}, "df": 7}}}}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {"vanna.generate_plotly_code": {"tf": 1}}, "df": 1, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 1}, "vanna.ask": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 2.449489742783178}, "vanna.get_plotly_figure": {"tf": 2.8284271247461903}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 2.8284271247461903}}, "df": 5}}}}, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna.TrainingPlan": {"tf": 2}, "vanna.TrainingPlan.get_summary": {"tf": 2.23606797749979}, "vanna.TrainingPlan.remove_item": {"tf": 2}, "vanna.get_training_plan_experimental": {"tf": 2.23606797749979}, "vanna.train": {"tf": 2.23606797749979}, "vanna.base.VannaBase.train": {"tf": 2.23606797749979}, "vanna.types.TrainingPlan": {"tf": 2}, "vanna.types.TrainingPlan.get_summary": {"tf": 2.23606797749979}, "vanna.types.TrainingPlan.remove_item": {"tf": 2}}, "df": 9}}}, "u": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.update_model_visibility": {"tf": 1.4142135623730951}, "vanna.get_training_plan_experimental": {"tf": 1}}, "df": 3, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.update_model_visibility": {"tf": 1}}, "df": 1}}}}}}}, "d": {"docs": {"vanna.run_sql": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 9}, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna.create_model": {"tf": 1.4142135623730951}, "vanna.connect_to_postgres": {"tf": 2.449489742783178}}, "df": 2}}}}}}, "r": {"docs": {}, "df": 0, "t": {"docs": {"vanna.connect_to_postgres": {"tf": 1.7320508075688772}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "h": {"docs": {"vanna.train": {"tf": 2}, "vanna.connect_to_bigquery": {"tf": 1.7320508075688772}}, "df": 2, "/": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "/": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {"vanna.connect_to_bigquery": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}, "s": {"docs": {}, "df": 0, "s": {"docs": {"vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 2, "w": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "d": {"docs": {"vanna.connect_to_snowflake": {"tf": 1.7320508075688772}, "vanna.connect_to_postgres": {"tf": 1.7320508075688772}}, "df": 2}}}}}}, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}, "x": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 3}, "s": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "g": {"2": {"docs": {"vanna.connect_to_postgres": {"tf": 1.4142135623730951}}, "df": 1}, "docs": {}, "df": 0}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "d": {"docs": {"vanna": {"tf": 1}, "vanna.run_sql": {"tf": 1}}, "df": 2}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.TrainingPlan": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1.7320508075688772}, "vanna.remove_training_data": {"tf": 1.7320508075688772}, "vanna.exceptions.SQLRemoveError": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan.remove_item": {"tf": 1.7320508075688772}}, "df": 8, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "n": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.get_api_key": {"tf": 1}, "vanna.get_models": {"tf": 1}, "vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}}, "df": 26}, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.ask": {"tf": 1}}, "df": 1}}}}}}, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.TrainingPlan": {"tf": 1}, "vanna.types.TrainingPlan": {"tf": 1}}, "df": 2}}}}}}}}}}, "s": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.train": {"tf": 1}}, "df": 1}}}}}}}}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.ask": {"tf": 2.23606797749979}, "vanna.get_results": {"tf": 1.4142135623730951}}, "df": 2}}}}}, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "w": {"docs": {"vanna.flag_sql_for_review": {"tf": 1.4142135623730951}}, "df": 1}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.get_related_training_data": {"tf": 2}}, "df": 1}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.ask": {"tf": 1}}, "df": 1}}}}}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.run_sql": {"tf": 1}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.connect_to_sqlite": {"tf": 1.4142135623730951}, "vanna.connect_to_snowflake": {"tf": 1.4142135623730951}, "vanna.connect_to_postgres": {"tf": 1.4142135623730951}, "vanna.connect_to_bigquery": {"tf": 1.4142135623730951}}, "df": 7, "s": {"docs": {"vanna": {"tf": 1}, "vanna.ask": {"tf": 1}}, "df": 2}}}, "o": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1.7320508075688772}}, "df": 2}}}, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.exceptions.ImproperlyConfigured": {"tf": 1}, "vanna.exceptions.DependencyError": {"tf": 1}, "vanna.exceptions.ConnectionError": {"tf": 1}, "vanna.exceptions.OTPCodeError": {"tf": 1}, "vanna.exceptions.SQLRemoveError": {"tf": 1}, "vanna.exceptions.ExecutionError": {"tf": 1}, "vanna.exceptions.ValidationError": {"tf": 1}, "vanna.exceptions.APIError": {"tf": 1}}, "df": 8}}}}}, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}, "vanna.train": {"tf": 2.6457513110645907}, "vanna.base.VannaBase.train": {"tf": 2.449489742783178}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 6, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.get_training_plan_experimental": {"tf": 1}}, "df": 3}}}, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}}, "df": 2}}}}}}}, "r": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.train": {"tf": 1.4142135623730951}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.get_related_training_data": {"tf": 1.4142135623730951}, "vanna.generate_meta": {"tf": 1.4142135623730951}, "vanna.generate_followup_questions": {"tf": 1.4142135623730951}, "vanna.generate_questions": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 2.8284271247461903}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_all_questions": {"tf": 1.4142135623730951}, "vanna.get_training_data": {"tf": 1.4142135623730951}, "vanna.exceptions.OTPCodeError": {"tf": 1}}, "df": 17, "g": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.add_documentation": {"tf": 1}}, "df": 1}}}}}}}}}}}, "f": {"docs": {"vanna.run_sql": {"tf": 1}, "vanna.get_models": {"tf": 1.4142135623730951}, "vanna.create_model": {"tf": 1.4142135623730951}, "vanna.add_user_to_model": {"tf": 1.4142135623730951}, "vanna.update_model_visibility": {"tf": 1.4142135623730951}, "vanna.set_model": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.add_documentation": {"tf": 1.4142135623730951}, "vanna.TrainingPlan.get_summary": {"tf": 1.4142135623730951}, "vanna.TrainingPlan.remove_item": {"tf": 1}, "vanna.train": {"tf": 1.7320508075688772}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.remove_training_data": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1.7320508075688772}, "vanna.generate_questions": {"tf": 1.4142135623730951}, "vanna.ask": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_all_questions": {"tf": 1.4142135623730951}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlan.remove_item": {"tf": 1}}, "df": 29}, "t": {"docs": {}, "df": 0, "p": {"docs": {"vanna.get_api_key": {"tf": 1.7320508075688772}, "vanna.exceptions.OTPCodeError": {"tf": 1}}, "df": 2}, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.create_model": {"tf": 1}, "vanna.add_user_to_model": {"tf": 1}, "vanna.update_model_visibility": {"tf": 1}, "vanna.add_sql": {"tf": 1}, "vanna.add_ddl": {"tf": 1}, "vanna.add_documentation": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}}, "df": 7}}}}}}}}, "u": {"docs": {}, "df": 0, "r": {"docs": {"vanna.add_documentation": {"tf": 1}}, "df": 1}, "t": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {"vanna.ask": {"tf": 1}}, "df": 1}}}}}, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.train": {"tf": 1}, "vanna.base.VannaBase.train": {"tf": 1}}, "df": 2}}}, "s": {"docs": {"vanna.ask": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 3}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.generate_sql": {"tf": 1}, "vanna.get_related_training_data": {"tf": 1}, "vanna.generate_meta": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 2}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_all_questions": {"tf": 1}, "vanna.get_training_data": {"tf": 1}}, "df": 11}}}}}}}}, "y": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 3, "o": {"docs": {}, "df": 0, "u": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.run_sql": {"tf": 1}, "vanna.TrainingPlan": {"tf": 1.4142135623730951}, "vanna.train": {"tf": 2.449489742783178}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.ask": {"tf": 1.4142135623730951}, "vanna.base.VannaBase.train": {"tf": 2.449489742783178}, "vanna.types.TrainingPlan": {"tf": 1.4142135623730951}}, "df": 8, "r": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {"vanna.run_sql": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna.get_api_key": {"tf": 1.7320508075688772}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_models": {"tf": 1.4142135623730951}, "vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.train": {"tf": 1}, "vanna.get_all_questions": {"tf": 1.4142135623730951}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}}, "df": 5, "[": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.get_models": {"tf": 1}, "vanna.TrainingPlan.get_summary": {"tf": 1}, "vanna.generate_followup_questions": {"tf": 1}, "vanna.generate_questions": {"tf": 1}, "vanna.ask": {"tf": 1}, "vanna.types.TrainingPlan.get_summary": {"tf": 1}}, "df": 6}}}}}}}}, "j": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.train": {"tf": 1.7320508075688772}, "vanna.connect_to_bigquery": {"tf": 1}}, "df": 2}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_results": {"tf": 1}, "vanna.connect_to_sqlite": {"tf": 1}, "vanna.connect_to_snowflake": {"tf": 1}, "vanna.connect_to_postgres": {"tf": 1}, "vanna.connect_to_bigquery": {"tf": 1}}, "df": 5}}}, "o": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "n": {"docs": {"vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1}}, "df": 2}}}}, "x": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.base.VannaBase.get_plotly_figure": {"tf": 1}}, "df": 3}}}}, "pipeline": ["trimmer"], "_isPrebuiltIndex": true};
+
+ // mirrored in build-search-index.js (part 1)
+ // Also split on html tags. this is a cheap heuristic, but good enough.
+ elasticlunr.tokenizer.setSeperator(/[\s\-.;&_'"=,()]+|<[^>]*>/);
+
+ let searchIndex;
+ if (docs._isPrebuiltIndex) {
+ console.info("using precompiled search index");
+ searchIndex = elasticlunr.Index.load(docs);
+ } else {
+ console.time("building search index");
+ // mirrored in build-search-index.js (part 2)
+ searchIndex = elasticlunr(function () {
+ this.pipeline.remove(elasticlunr.stemmer);
+ this.pipeline.remove(elasticlunr.stopWordFilter);
+ this.addField("qualname");
+ this.addField("fullname");
+ this.addField("annotation");
+ this.addField("default_value");
+ this.addField("signature");
+ this.addField("bases");
+ this.addField("doc");
+ this.setRef("fullname");
+ });
+ for (let doc of docs) {
+ searchIndex.addDoc(doc);
+ }
+ console.timeEnd("building search index");
+ }
+
+ return (term) => searchIndex.search(term, {
+ fields: {
+ qualname: {boost: 4},
+ fullname: {boost: 2},
+ annotation: {boost: 2},
+ default_value: {boost: 2},
+ signature: {boost: 2},
+ bases: {boost: 2},
+ doc: {boost: 1},
+ },
+ expand: true
+ });
+})();
\ No newline at end of file
diff --git a/sidebar.py b/sidebar.py
new file mode 100644
index 000000000..f6923a386
--- /dev/null
+++ b/sidebar.py
@@ -0,0 +1,130 @@
+import yaml
+import sys
+import nbformat
+from nbconvert import HTMLExporter
+
+# Get the yaml file path from the command line
+file_path = sys.argv[1]
+
+# Get the directory to search for the .ipynb files from the command line
+notebook_dir = sys.argv[2]
+
+# Get the output directory from the command line
+output_dir = sys.argv[3]
+
+def generate_html(sidebar_data, current_path: str):
+ html = '\n'
+ for entry in sidebar_data:
+ html += '\n'
+ if 'sub_entries' in entry:
+ # Dropdown menu with sub-entries
+ html += f'\n'
+ html += f'{entry["svg_text"]}\n'
+ html += f'{entry["title"]} \n'
+ html += ' \n'
+ html += ' \n'
+ html += f'\n'
+ for sub_entry in entry['sub_entries']:
+ html += f'\n'
+ highlighted = 'bg-indigo-100 dark:bg-indigo-700' if sub_entry['link'] == current_path else ''
+ html += f'{sub_entry["title"]} \n'
+ html += ' \n'
+ html += ' \n'
+ else:
+ # Regular sidebar entry without sub-entries
+ highlighted = 'bg-indigo-100 dark:bg-indigo-700' if entry['link'] == current_path else ''
+ html += f'\n'
+ html += f'{entry["svg_text"]}\n'
+ html += f'{entry["title"]} \n'
+ html += ' \n'
+ html += ' \n'
+ html += ' '
+ return html
+
+def generate_header(notebook_name: str) -> str:
+ return f"""
+
+
+
+
+ Run Using Colab
+
+
+
+
+
+ Open in GitHub
+
+"""
+
+# Read YAML data from a file
+def read_yaml_file(file_path):
+ with open(file_path, 'r') as file:
+ yaml_data = file.read()
+ return yaml_data
+
+yaml_data = read_yaml_file(file_path)
+
+# Parse YAML data
+sidebar_data = yaml.safe_load(yaml_data)
+
+# Get a list of all .ipynb files in the directory
+import os
+notebook_files = [file for file in os.listdir(notebook_dir) if file.endswith('.ipynb')]
+
+def is_runnable(notebook_name: str, sidebar_data: dict) -> bool:
+ # Check if the notebook is runnable
+ for entry in sidebar_data:
+ if 'link' in entry:
+ if entry['link'] == f'{notebook_name}.html':
+ return entry.get('runnable', 'true') == 'true'
+
+ if 'sub_entries' in entry:
+ for sub_entry in entry['sub_entries']:
+ if sub_entry['link'] == f'{notebook_name}.html':
+ return sub_entry.get('runnable', 'true') == 'true'
+
+ return False
+
+def get_title_from_sidebar_data(notebook_name: str, sidebar_data: dict) -> str:
+ # Check if the notebook is runnable
+ for entry in sidebar_data:
+ if 'link' in entry:
+ if entry['link'] == f'{notebook_name}.html':
+ return entry['title']
+
+ if 'sub_entries' in entry:
+ for sub_entry in entry['sub_entries']:
+ if sub_entry['link'] == f'{notebook_name}.html':
+ return sub_entry['title']
+
+ return ''
+
+for notebook_file in notebook_files:
+ # Get just the file name without the extension
+ notebook_name = os.path.splitext(notebook_file)[0]
+
+ # Get the full path to the notebook
+ notebook_file_path = os.path.join(notebook_dir, notebook_file)
+
+ # Generate HTML code
+ html_code = generate_html(sidebar_data, f'{notebook_name}.html')
+
+ # Read notebook file
+ current_notebook = nbformat.read(notebook_file_path, as_version=4)
+
+ html_exporter = HTMLExporter(template_name='nb-theme')
+
+ (body, resources) = html_exporter.from_notebook_node(current_notebook)
+
+ notebook_title = get_title_from_sidebar_data(notebook_name, sidebar_data)
+
+ # Write body to file
+ with open(os.path.join(output_dir, f'{notebook_name}.html'), 'w') as file:
+ # From sidebar_data, see if there is a matching entry for the current notebook
+ if is_runnable(notebook_name, sidebar_data):
+ file.write(body.replace('nb_title', f"Vanna Docs: {notebook_title}").replace('', html_code).replace('', generate_header(notebook_name)))
+ else:
+ file.write(body.replace('nb_title', f"Vanna Docs: {notebook_title}").replace('', html_code))
+
+
diff --git a/sidebar.yaml b/sidebar.yaml
new file mode 100644
index 000000000..5c0a68642
--- /dev/null
+++ b/sidebar.yaml
@@ -0,0 +1,77 @@
+- title: How It Works
+ link: index.html
+ runnable: false
+ svg_text: |-
+
+
+
+
+- title: Getting Started
+ link: getting-started.html
+ svg_text: |-
+
+
+
+
+- title: Train Vanna
+ svg_text: |-
+
+
+
+ sub_entries:
+ - title: Snowflake
+ link: vn-train.html
+ svg_text: |-
+
+
+
+
+ - title: Other Databases
+ link: manual-train.html
+ svg_text: |-
+
+
+
+
+- title: User Interfaces
+ svg_text: |-
+
+
+
+ sub_entries:
+ - title: Streamlit
+ link: streamlit.html
+ runnable: false
+ svg_text: |-
+
+
+
+
+ - title: Slack
+ link: slack.html
+ runnable: false
+ svg_text: |-
+
+
+
+
+- title: Databases
+ link: databases.html
+ svg_text: |-
+
+
+
+
+- title: Running Locally
+ link: local.html
+ svg_text: |-
+
+
+
+
+- title: API Reference
+ link: vanna.html
+ svg_text: |-
+
+
+
diff --git a/slack.html b/slack.html
new file mode 100644
index 000000000..2c97e7d9b
--- /dev/null
+++ b/slack.html
@@ -0,0 +1,7492 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+Vanna Docs: Slack
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Open sidebar
+
+
+
+
+
+
+
+
diff --git a/streamlit.html b/streamlit.html
new file mode 100644
index 000000000..100d11b47
--- /dev/null
+++ b/streamlit.html
@@ -0,0 +1,7481 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+Vanna Docs: Streamlit
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Open sidebar
+
+
+
+
+
+
+
+
diff --git a/streamlit.md b/streamlit.md
new file mode 100644
index 000000000..2b80b17a2
--- /dev/null
+++ b/streamlit.md
@@ -0,0 +1,13 @@
+# Use **Vanna.AI** with Streamlit
+
+## App
+
+
+## Code
+[https://github.com/vanna-ai/vanna-streamlit](https://github.com/vanna-ai/vanna-streamlit)
+
+
\ No newline at end of file
diff --git a/support.md b/support.md
new file mode 100644
index 000000000..465992464
--- /dev/null
+++ b/support.md
@@ -0,0 +1,5 @@
+# Getting Support
+
+E-mail us at [support@vanna.ai](mailto:support@vanna.ai)
+
+[Join our Slack](https://join.slack.com/t/vanna-ai/shared_invite/zt-1unu0ipog-iE33QCoimQiBDxf2o7h97w)
\ No newline at end of file
diff --git a/vanna.html b/vanna.html
new file mode 100644
index 000000000..f08b0d994
--- /dev/null
+++ b/vanna.html
@@ -0,0 +1,1894 @@
+
+
+
+
+
+
+ vanna API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+vanna
+
+ Basic Usage
+
+
Getting an API key
+
+
+
import vanna as vn
+api_key = vn . get_api_key ( 'my-email@example.com' )
+vn . set_api_key ( api_key )
+
+
+
+
Setting the model
+
+
+
vn . set_model ( 'demo-tpc-h' )
+
+
+
+
Asking a question
+
+
+
sql , df , fig , followup_questions = vn . ask ( question = 'What are the top 10 customers by sales?' )
+
+
+
+
For a more comprehensive starting guide see the Starter Notebook .
+
+
Nomenclature
+
+
+
+
Permissions
+
+
By default when you create a model it is private. You can add members or admins to your model or make it public.
+
+
+
+ User Role
+ Public Model
+ Private Model
+
+
+ Use
+ Train
+ Use
+ Train
+
+
+ Non-Member
+ ✅
+ ❌
+ ❌
+ ❌
+
+
+ Member
+ ✅
+ ❌
+ ✅
+ ❌
+
+
+ Admin
+ ✅
+ ✅
+ ✅
+ ✅
+
+
+
+
API Reference
+
+
+
+
+
+
+
+
+ api_key : Optional[str] =
+None
+
+
+
+
+
+
+
+
+
+
+ run_sql : Optional[Callable[[str], pandas.core.frame.DataFrame]] =
+None
+
+
+
+
+
+ Example
+
+
+
vn . run_sql = lambda sql : pd . read_sql ( sql , engine )
+
+
+
+
Set the SQL to DataFrame function for Vanna.AI. This is used in the [vn.ask(...)
][vanna.ask ] function.
+Instead of setting this directly you can also use [vn.connect_to_snowflake(...)
][vanna.connect_to_snowflake ] to set this.
+
+
+
+
+
+
+
+ def
+ get_api_key (email : str , otp_code : Optional [ str ] = None ) -> str :
+
+
+
+
+
+ Example:
+
+
+
vn . get_api_key ( email = "my-email@example.com" )
+
+
+
+
Login to the Vanna.AI API.
+
+
Arguments:
+
+
+email (str): The email address to login with.
+otp_code (Union[str, None]): The OTP code to login with. If None, an OTP code will be sent to the email address.
+
+
+
Returns:
+
+
+ str: The API key.
+
+
+
+
+
+
+
+
+ def
+ set_api_key (key : str ) -> None :
+
+
+
+
+
+ Sets the API key for Vanna.AI.
+
+
Example:
+
+
+
api_key = vn . get_api_key ( email = "my-email@example.com" )
+vn . set_api_key ( api_key )
+
+
+
+
Arguments:
+
+
+key (str): The API key.
+
+
+
+
+
+
+
+
+ def
+ get_models () -> List [ str ] :
+
+
+
+
+
+ Example:
+
+
+
models = vn . get_models ()
+
+
+
+
List the models that the user is a member of.
+
+
Returns:
+
+
+ List[str]: A list of model names.
+
+
+
+
+
+
+
+
+ def
+ create_model (model : str , db_type : str ) -> bool :
+
+
+
+
+
+ Example:
+
+
+
vn . create_model ( model = "my-model" , db_type = "postgres" )
+
+
+
+
Create a new model.
+
+
Arguments:
+
+
+model (str): The name of the model to create.
+db_type (str): The type of database to use for the model. This can be "Snowflake", "BigQuery", "Postgres", or anything else.
+
+
+
Returns:
+
+
+ bool: True if the model was created successfully, False otherwise.
+
+
+
+
+
+
+
+
+ def
+ add_user_to_model (model : str , email : str , is_admin : bool ) -> bool :
+
+
+
+
+
+ Example:
+
+
+
vn . add_user_to_model ( model = "my-model" , email = "user@example.com" )
+
+
+
+
Add a user to an model.
+
+
Arguments:
+
+
+model (str): The name of the model to add the user to.
+email (str): The email address of the user to add.
+is_admin (bool): Whether or not the user should be an admin.
+
+
+
Returns:
+
+
+ bool: True if the user was added successfully, False otherwise.
+
+
+
+
+
+
+
+
+ def
+ update_model_visibility (public : bool ) -> bool :
+
+
+
+
+
+ Example:
+
+
+
vn . update_model_visibility ( public = True )
+
+
+
+
Set the visibility of the current model. If a model is visible, anyone can see it. If it is not visible, only members of the model can see it.
+
+
Arguments:
+
+
+public (bool): Whether or not the model should be publicly visible.
+
+
+
Returns:
+
+
+ bool: True if the model visibility was set successfully, False otherwise.
+
+
+
+
+
+
+
+
+ def
+ set_model (model : str ):
+
+
+
+
+
+ Set the models to use for the Vanna.AI API.
+
+
Example:
+
+
+
vn . set_model ( "my-model" )
+
+
+
+
Arguments:
+
+
+model (str): The name of the model to use.
+
+
+
+
+
+
+
+
+ def
+ add_sql (question : str , sql : str , tag : Optional [ str ] = 'Manually Trained' ) -> bool :
+
+
+
+
+
+ Adds a question and its corresponding SQL query to the model's training data
+
+
Example:
+
+
+
vn . add_sql (
+ question = "What is the average salary of employees?" ,
+ sql = "SELECT AVG(salary) FROM employees"
+)
+
+
+
+
Arguments:
+
+
+question (str): The question to store.
+sql (str): The SQL query to store.
+tag (Union[str, None]): A tag to associate with the question and SQL query.
+
+
+
Returns:
+
+
+ bool: True if the question and SQL query were stored successfully, False otherwise.
+
+
+
+
+
+
+
+
+ def
+ add_ddl (ddl : str ) -> bool :
+
+
+
+
+
+ Adds a DDL statement to the model's training data
+
+
Example:
+
+
+
vn . add_ddl (
+ ddl = "CREATE TABLE employees (id INT, name VARCHAR(255), salary INT)"
+)
+
+
+
+
Arguments:
+
+
+ddl (str): The DDL statement to store.
+
+
+
Returns:
+
+
+ bool: True if the DDL statement was stored successfully, False otherwise.
+
+
+
+
+
+
+
+
+ def
+ add_documentation (documentation : str ) -> bool :
+
+
+
+
+
+ Adds documentation to the model's training data
+
+
Example:
+
+
+
vn . add_documentation (
+ documentation = "Our organization's definition of sales is the discount price of an item multiplied by the quantity sold."
+)
+
+
+
+
Arguments:
+
+
+documentation (str): The documentation string to store.
+
+
+
Returns:
+
+
+ bool: True if the documentation string was stored successfully, False otherwise.
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
TrainingPlanItem :
+
+
+
+
+
+
+
+
+
+
+ TrainingPlanItem (item_type : str , item_group : str , item_name : str , item_value : str )
+
+
+
+
+
+
+
+
+
+
+ item_type : str
+
+
+
+
+
+
+
+
+
+
+ item_group : str
+
+
+
+
+
+
+
+
+
+
+ item_name : str
+
+
+
+
+
+
+
+
+
+
+ item_value : str
+
+
+
+
+
+
+
+
+
+
+ ITEM_TYPE_SQL =
+'sql'
+
+
+
+
+
+
+
+
+
+
+ ITEM_TYPE_DDL =
+'ddl'
+
+
+
+
+
+
+
+
+
+
+ ITEM_TYPE_IS =
+'is'
+
+
+
+
+
+
+
+
+
+
+
+
+ class
+ TrainingPlan :
+
+
+
+
+
+ A class representing a training plan. You can see what's in it, and remove items from it that you don't want trained.
+
+
Example:
+
+
+
plan = vn . get_training_plan ()
+
+plan . get_summary ()
+
+
+
+
+
+
+
+
+
+ def
+ get_summary (self ) -> List [ str ] :
+
+
+
+
+
+
Example:
+
+
+
plan = vn . get_training_plan ()
+
+plan . get_summary ()
+
+
+
+
Get a summary of the training plan.
+
+
Returns:
+
+
+ List[str]: A list of strings describing the training plan.
+
+
+
+
+
+
+
+
+ def
+ remove_item (self , item : str ):
+
+
+
+
+
+
Example:
+
+
+
plan = vn . get_training_plan ()
+
+plan . remove_item ( "Train on SQL: What is the average salary of employees?" )
+
+
+
+
Remove an item from the training plan.
+
+
Arguments:
+
+
+item (str): The item to remove.
+
+
+
+
+
+
+
+
+
+
def
+
get_training_plan_postgres ( filter_databases : Optional [ List [ str ]] = None , filter_schemas : Optional [ List [ str ]] = None , include_information_schema : bool = False , use_historical_queries : bool = True ) -> vanna.TrainingPlan :
+
+
+
+
+
+
+
+
+
+
+
+
+
def
+
get_training_plan_experimental ( filter_databases : Optional [ List [ str ]] = None , filter_schemas : Optional [ List [ str ]] = None , include_information_schema : bool = False , use_historical_queries : bool = True ) -> vanna.TrainingPlan :
+
+
+
+
+
+ EXPERIMENTAL : This method is experimental and may change in future versions.
+
+
Get a training plan based on the metadata in the database. Currently this only works for Snowflake.
+
+
Example:
+
+
+
plan = vn . get_training_plan_experimental ( filter_databases = [ "employees" ], filter_schemas = [ "public" ])
+
+vn . train ( plan = plan )
+
+
+
+
+
+
+
+
+
+
def
+
train ( question : str = None , sql : str = None , ddl : str = None , documentation : str = None , json_file : str = None , sql_file : str = None , plan : vanna.TrainingPlan = None ) -> bool :
+
+
+
+
+
+ Example:
+
+
+
+
Train Vanna.AI on a question and its corresponding SQL query.
+If you call it with no arguments, it will check if you connected to a database and it will attempt to train on the metadata of that database.
+If you call it with the sql argument, it's equivalent to [add_sql()
][vanna.add_sql ].
+If you call it with the ddl argument, it's equivalent to [add_ddl()
][vanna.add_ddl ].
+If you call it with the documentation argument, it's equivalent to [add_documentation()
][vanna.add_documentation ].
+It can also accept a JSON file path or SQL file path to train on a batch of questions and SQL queries or a list of SQL queries respectively.
+Additionally, you can pass a [TrainingPlan
][vanna.TrainingPlan ] object. Get a training plan with [vn.get_training_plan_experimental()
][vanna.get_training_plan_experimental ].
+
+
Arguments:
+
+
+question (str): The question to train on.
+sql (str): The SQL query to train on.
+sql_file (str): The SQL file path.
+json_file (str): The JSON file path.
+ddl (str): The DDL statement.
+documentation (str): The documentation to train on.
+plan (TrainingPlan): The training plan to train on.
+
+
+
+
+
+
+
+
+ def
+ flag_sql_for_review ( question : str , sql : Optional [ str ] = None , error_msg : Optional [ str ] = None ) -> bool :
+
+
+
+
+
+ Example:
+
+
+
vn . flag_sql_for_review ( question = "What is the average salary of employees?" )
+
+
+
+
Flag a question and its corresponding SQL query for review. You can see the tag show up in [vn.get_all_questions()
][vanna.get_all_questions ]
+
+
Arguments:
+
+
+question (str): The question to flag.
+sql (str): The SQL query to flag.
+error_msg (str): The error message to flag.
+
+
+
Returns:
+
+
+ bool: True if the question and SQL query were flagged successfully, False otherwise.
+
+
+
+
+
+
+
+
+ def
+ remove_sql (question : str ) -> bool :
+
+
+
+
+
+ Remove a question and its corresponding SQL query from the model's training data
+
+
Example:
+
+
+
vn . remove_sql ( question = "What is the average salary of employees?" )
+
+
+
+
Arguments:
+
+
+question (str): The question to remove.
+
+
+
+
+
+
+
+
+ def
+ remove_training_data (id : str ) -> bool :
+
+
+
+
+
+ Remove training data from the model
+
+
Example:
+
+
+
vn . remove_training_data ( id = "1-ddl" )
+
+
+
+
Arguments:
+
+
+id (str): The ID of the training data to remove.
+
+
+
+
+
+
+
+
+ def
+ generate_sql (question : str ) -> str :
+
+
+
+
+
+ Example:
+
+
+
vn . generate_sql ( question = "What is the average salary of employees?" )
+# SELECT AVG(salary) FROM employees
+
+
+
+
Generate an SQL query using the Vanna.AI API.
+
+
Arguments:
+
+
+question (str): The question to generate an SQL query for.
+
+
+
Returns:
+
+
+ str or None: The SQL query, or None if an error occurred.
+
+
+
+
+
+
+
+
+
+
+ def
+ generate_followup_questions (question : str , df : pandas . core . frame . DataFrame ) -> List [ str ] :
+
+
+
+
+
+ Example:
+
+
+
vn . generate_followup_questions ( question = "What is the average salary of employees?" , df = df )
+# ['What is the average salary of employees in the Sales department?', 'What is the average salary of employees in the Engineering department?', ...]
+
+
+
+
Generate follow-up questions using the Vanna.AI API.
+
+
Arguments:
+
+
+question (str): The question to generate follow-up questions for.
+df (pd.DataFrame): The DataFrame to generate follow-up questions for.
+
+
+
Returns:
+
+
+ List[str] or None: The follow-up questions, or None if an error occurred.
+
+
+
+
+
+
+
+
+ def
+ generate_questions () -> List [ str ] :
+
+
+
+
+
+ Example:
+
+
+
vn . generate_questions ()
+# ['What is the average salary of employees?', 'What is the total salary of employees?', ...]
+
+
+
+
Generate questions using the Vanna.AI API.
+
+
Returns:
+
+
+ List[str] or None: The questions, or None if an error occurred.
+
+
+
+
+
+
+
+
+ def
+ ask ( question : Optional [ str ] = None , print_results : bool = True , auto_train : bool = True , generate_followups : bool = True ) -> Optional [ Tuple [ Optional [ str ], Optional [ pandas . core . frame . DataFrame ], Optional [ plotly . graph_objs . _figure . Figure ], Optional [ List [ str ]]]] :
+
+
+
+
+
+ Example:
+
+
+
# RECOMMENDED IN A NOTEBOOK:
+sql , df , fig , followup_questions = vn . ask ()
+
+
+sql , df , fig , followup_questions = vn . ask ( question = "What is the average salary of employees?" )
+# SELECT AVG(salary) FROM employees
+
+
+
+
Ask a question using the Vanna.AI API. This generates an SQL query, runs it, and returns the results in a dataframe and a Plotly figure.
+If you set print_results to True, the sql, dataframe, and figure will be output to the screen instead of returned.
+
+
Arguments:
+
+
+question (str): The question to ask. If None, you will be prompted to enter a question.
+print_results (bool): Whether to print the SQL query and results.
+auto_train (bool): Whether to automatically train the model if the SQL query is incorrect.
+generate_followups (bool): Whether to generate follow-up questions.
+
+
+
Returns:
+
+
+ str or None: The SQL query, or None if an error occurred.
+ pd.DataFrame or None: The results of the SQL query, or None if an error occurred.
+ plotly.graph_objs.Figure or None: The Plotly figure, or None if an error occurred.
+ List[str] or None: The follow-up questions, or None if an error occurred.
+
+
+
+
+
+
+
+
+ def
+ generate_plotly_code ( question : Optional [ str ] , sql : Optional [ str ] , df : pandas . core . frame . DataFrame , chart_instructions : Optional [ str ] = None ) -> str :
+
+
+
+
+
+ Example:
+
+
+
vn . generate_plotly_code (
+ question = "What is the average salary of employees?" ,
+ sql = "SELECT AVG(salary) FROM employees" ,
+ df = df
+)
+# fig = px.bar(df, x="name", y="salary")
+
+
+
+
Generate Plotly code using the Vanna.AI API.
+
+
Arguments:
+
+
+question (str): The question to generate Plotly code for.
+sql (str): The SQL query to generate Plotly code for.
+df (pd.DataFrame): The dataframe to generate Plotly code for.
+chart_instructions (str): Optional instructions for how to plot the chart.
+
+
+
Returns:
+
+
+ str or None: The Plotly code, or None if an error occurred.
+
+
+
+
+
+
+
+
+
+ def
+ get_results (cs , default_database : str , sql : str ) -> pandas . core . frame . DataFrame :
+
+
+
+
+
+ DEPRECATED. Use vn.run_sql
instead.
+Run the SQL query and return the results as a pandas dataframe. This is just a helper function that does not use the Vanna.AI API.
+
+
Arguments:
+
+
+cs: Snowflake connection cursor.
+default_database (str): The default database to use.
+sql (str): The SQL query to execute.
+
+
+
Returns:
+
+
+ pd.DataFrame: The results of the SQL query.
+
+
+
+
+
+
+
+
+ def
+ generate_explanation (sql : str ) -> str :
+
+
+
+
+
+ Example:
+
+
+
vn . generate_explanation ( sql = "SELECT * FROM students WHERE name = 'John Doe'" )
+# 'This query selects all columns from the students table where the name is John Doe.'
+
+
+
+
Generate an explanation of an SQL query using the Vanna.AI API.
+
+
Arguments:
+
+
+sql (str): The SQL query to generate an explanation for.
+
+
+
Returns:
+
+
+ str or None: The explanation, or None if an error occurred.
+
+
+
+
+
+
+
+
+ def
+ generate_question (sql : str ) -> str :
+
+
+
+
+
+ Example:
+
+
+
vn . generate_question ( sql = "SELECT * FROM students WHERE name = 'John Doe'" )
+# 'What is the name of the student?'
+
+
+
+
Generate a question from an SQL query using the Vanna.AI API.
+
+
Arguments:
+
+
+sql (str): The SQL query to generate a question for.
+
+
+
Returns:
+
+
+ str or None: The question, or None if an error occurred.
+
+
+
+
+
+
+
+
+ def
+ get_all_questions () -> pandas . core . frame . DataFrame :
+
+
+
+
+
+ Get a list of questions from the Vanna.AI API.
+
+
Example:
+
+
+
questions = vn . get_all_questions ()
+
+
+
+
Returns:
+
+
+ pd.DataFrame or None: The list of questions, or None if an error occurred.
+
+
+
+
+
+
+
+
+ def
+ get_training_data () -> pandas . core . frame . DataFrame :
+
+
+
+
+
+ Get the training data for the current model
+
+
Example:
+
+
+
training_data = vn . get_training_data ()
+
+
+
+
Returns:
+
+
+ pd.DataFrame or None: The training data, or None if an error occurred.
+
+
+
+
+
+
+
+
+ def
+ connect_to_sqlite (url : str ):
+
+
+
+
+
+ Connect to a SQLite database. This is just a helper function to set [vn.run_sql
][vanna.run_sql ]
+
+
Arguments:
+
+
+url (str): The URL of the database to connect to.
+
+
+
Returns:
+
+
+ None
+
+
+
+
+
+
+
+
+ def
+ connect_to_snowflake ( account : str , username : str , password : str , database : str , role : Optional [ str ] = None ):
+
+
+
+
+
+ Connect to Snowflake using the Snowflake connector. This is just a helper function to set [vn.run_sql
][vanna.run_sql ]
+
+
Example:
+
+
+
import snowflake.connector
+
+vn . connect_to_snowflake (
+ account = "myaccount" ,
+ username = "myusername" ,
+ password = "mypassword" ,
+ database = "mydatabase" ,
+ role = "myrole" ,
+)
+
+
+
+
Arguments:
+
+
+account (str): The Snowflake account name.
+username (str): The Snowflake username.
+password (str): The Snowflake password.
+database (str): The default database to use.
+role (Union[str, None], optional): The role to use. Defaults to None.
+
+
+
+
+
+
+
+
+ def
+ connect_to_postgres ( host : str = None , dbname : str = None , user : str = None , password : str = None , port : int = None ):
+
+
+
+
+
+ Connect to postgres using the psycopg2 connector. This is just a helper function to set [vn.run_sql
][vanna.run_sql ]
+Example:
+
+
+
import psycopg2.connect
+vn . connect_to_bigquery (
+ host = "myhost" ,
+ dbname = "mydatabase" ,
+ user = "myuser" ,
+ password = "mypassword" ,
+ port = 5432
+)
+
+
+
+
Arguments:
+
+
+host (str): The postgres host.
+dbname (str): The postgres database name.
+user (str): The postgres user.
+password (str): The postgres password.
+port (int): The postgres Port.
+
+
+
+
+
+
+
+
+ def
+ connect_to_bigquery (cred_file_path : str = None , project_id : str = None ):
+
+
+
+
+
+ Connect to gcs using the bigquery connector. This is just a helper function to set [vn.run_sql
][vanna.run_sql ]
+Example:
+
+
+
import bigquery.Client
+vn . connect_to_bigquery (
+ project_id = "myprojectid" ,
+ cred_file_path = "path/to/credentials.json" ,
+)
+
+
+
+
Arguments:
+
+
+project_id (str): The gcs project id.
+cred_file_path (str): The gcs credential file path
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vanna/base.html b/vanna/base.html
new file mode 100644
index 000000000..d4aeb49b3
--- /dev/null
+++ b/vanna/base.html
@@ -0,0 +1,901 @@
+
+
+
+
+
+
+ vanna.base API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ class
+ VannaBase (abc.ABC ):
+
+
+
+
+
+ Helper class that provides a standard way to create an ABC using
+inheritance.
+
+
+
+
+
+ config
+
+
+
+
+
+
+
+
+
+
+ run_sql_is_set
+
+
+
+
+
+
+
+
+
+
+
+ def
+ generate_sql_from_question (self , question : str , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
generate_embedding (self , data : str , ** kwargs ) -> list [ float ] :
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
get_similar_question_sql (self , question : str , ** kwargs ) -> list :
+
+
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
add_question_sql (self , question : str , sql : str , ** kwargs ):
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
add_ddl (self , ddl : str , ** kwargs ):
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
add_documentation (self , doc : str , ** kwargs ):
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
get_prompt ( self , question : str , question_sql_list : list , ddl_list : list , doc_list : list , ** kwargs ):
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
submit_prompt (self , prompt , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
generate_question (self , sql : str , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
generate_plotly_code ( self , question : str = None , sql : str = None , df_metadata : str = None , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
+
+ def
+ connect_to_snowflake ( self , account : str , username : str , password : str , database : str , role : Optional [ str ] = None ):
+
+
+
+
+
+
+
+
+
+
+
+ def
+ run_sql (sql : str , ** kwargs ) -> pandas . core . frame . DataFrame :
+
+
+
+
+
+
+
+
+
+
+
+ def
+ ask ( self , question : Optional [ str ] = None , print_results : bool = True , auto_train : bool = True ) -> Optional [ Tuple [ Optional [ str ], Optional [ pandas . core . frame . DataFrame ], Optional [ plotly . graph_objs . _figure . Figure ]]] :
+
+
+
+
+
+
+
+
+
+
+
+
def
+
train ( self , question : str = None , sql : str = None , ddl : str = None , documentation : str = None , plan : vanna.types.TrainingPlan = None ) -> bool :
+
+
+
+
+
+
Example:
+
+
+
+
Train Vanna.AI on a question and its corresponding SQL query.
+If you call it with no arguments, it will check if you connected to a database and it will attempt to train on the metadata of that database.
+If you call it with the sql argument, it's equivalent to [add_sql()
][vanna.add_sql ].
+If you call it with the ddl argument, it's equivalent to [add_ddl()
][vanna.add_ddl ].
+If you call it with the documentation argument, it's equivalent to [add_documentation()
][vanna.add_documentation ].
+Additionally, you can pass a [TrainingPlan
][vanna.TrainingPlan ] object. Get a training plan with [vn.get_training_plan_experimental()
][vanna.get_training_plan_experimental ].
+
+
Arguments:
+
+
+question (str): The question to train on.
+sql (str): The SQL query to train on.
+ddl (str): The DDL statement.
+documentation (str): The documentation to train on.
+plan (TrainingPlan): The training plan to train on.
+
+
+
+
+
+
+
+
+
def
+
get_training_plan_snowflake ( self , filter_databases : Optional [ List [ str ]] = None , filter_schemas : Optional [ List [ str ]] = None , include_information_schema : bool = False , use_historical_queries : bool = True ) -> vanna.types.TrainingPlan :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Helper class that provides a standard way to create an ABC using
+inheritance.
+
+
+
+
+
+
+ def
+ get_similar_question_sql (self , embedding : str , ** kwargs ) -> list :
+
+
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
store_question_sql_embedding (self , embedding : str , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
store_ddl_embedding (self , embedding : str , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
store_documentation_embedding (self , embedding : str , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
get_similar_question_sql_ids (self , embedding : str , ** kwargs ) -> list :
+
+
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
get_question_sql (self , question_sql_ids : list , ** kwargs ) -> list :
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
get_documentation (self , doc_ids : list , ** kwargs ) -> list :
+
+
+
+
+
+
+
+
+
+
+
@abstractmethod
+
+
def
+
get_ddl (self , ddl_ids : list , ** kwargs ) -> list :
+
+
+
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vanna/chromadb_vector.html b/vanna/chromadb_vector.html
new file mode 100644
index 000000000..9f221660d
--- /dev/null
+++ b/vanna/chromadb_vector.html
@@ -0,0 +1,480 @@
+
+
+
+
+
+
+ vanna.chromadb_vector API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+vanna .chromadb_vector
+
+
+
+
+
+
+
+
+ default_ef =
+<chromadb.utils.embedding_functions.ONNXMiniLM_L6_V2 object>
+
+
+
+
+
+
+
+
+
+
+
+
+ Helper class that provides a standard way to create an ABC using
+inheritance.
+
+
+
+
+
+ chroma_client
+
+
+
+
+
+
+
+
+
+
+ documentation_collection
+
+
+
+
+
+
+
+
+
+
+ ddl_collection
+
+
+
+
+
+
+
+
+
+
+ sql_collection
+
+
+
+
+
+
+
+
+
+
+
+ def
+ generate_embedding (self , data : str , ** kwargs ) -> list [ float ] :
+
+
+
+
+
+
+
+
+
+
+
+ def
+ add_question_sql (self , question : str , sql : str , ** kwargs ):
+
+
+
+
+
+
+
+
+
+
+
+ def
+ add_ddl (self , ddl : str , ** kwargs ):
+
+
+
+
+
+
+
+
+
+
+
+ def
+ add_documentation (self , doc : str , ** kwargs ):
+
+
+
+
+
+
+
+
+
+
+
+ def
+ get_similar_question_sql (self , question : str , ** kwargs ) -> list :
+
+
+
+
+
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vanna/exceptions.html b/vanna/exceptions.html
new file mode 100644
index 000000000..038bf1d39
--- /dev/null
+++ b/vanna/exceptions.html
@@ -0,0 +1,518 @@
+
+
+
+
+
+
+ vanna.exceptions API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+vanna .exceptions
+
+
+
+
+
+
+
+
+
+
+ class
+ DependencyError (builtins.BaseException ):
+
+
+
+
+
+ Raise for missing dependencies.
+
+
+
+
+
Inherited Members
+
+
builtins.BaseException
+ BaseException
+ with_traceback
+ add_note
+ args
+
+
+
+
+
+
+
+
+ class
+ ConnectionError (builtins.BaseException ):
+
+
+
+
+
+
+
+
+
+
Inherited Members
+
+
builtins.BaseException
+ BaseException
+ with_traceback
+ add_note
+ args
+
+
+
+
+
+
+
+
+ class
+ OTPCodeError (builtins.BaseException ):
+
+
+
+
+
+ Raise for invalid otp or not able to send it
+
+
+
+
+
Inherited Members
+
+
builtins.BaseException
+ BaseException
+ with_traceback
+ add_note
+ args
+
+
+
+
+
+
+
+
+ class
+ SQLRemoveError (builtins.BaseException ):
+
+
+
+
+
+ Raise when not able to remove SQL
+
+
+
+
+
Inherited Members
+
+
builtins.BaseException
+ BaseException
+ with_traceback
+ add_note
+ args
+
+
+
+
+
+
+
+
+ class
+ ExecutionError (builtins.BaseException ):
+
+
+
+
+
+ Raise when not able to execute Code
+
+
+
+
+
Inherited Members
+
+
builtins.BaseException
+ BaseException
+ with_traceback
+ add_note
+ args
+
+
+
+
+
+
+
+
+ class
+ ValidationError (builtins.BaseException ):
+
+
+
+
+
+
+
+
+
+
Inherited Members
+
+
builtins.BaseException
+ BaseException
+ with_traceback
+ add_note
+ args
+
+
+
+
+
+
+
+
+ class
+ APIError (builtins.BaseException ):
+
+
+
+
+
+
+
+
+
+
Inherited Members
+
+
builtins.BaseException
+ BaseException
+ with_traceback
+ add_note
+ args
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vanna/local.html b/vanna/local.html
new file mode 100644
index 000000000..0bbd9c291
--- /dev/null
+++ b/vanna/local.html
@@ -0,0 +1,332 @@
+
+
+
+
+
+
+ vanna.local API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Helper class that provides a standard way to create an ABC using
+inheritance.
+
+
+
+
+
+
+ LocalContext_OpenAI (config = None )
+
+
+
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vanna/mock.html b/vanna/mock.html
new file mode 100644
index 000000000..2371313ed
--- /dev/null
+++ b/vanna/mock.html
@@ -0,0 +1,341 @@
+
+
+
+
+
+
+ vanna.mock API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Helper class that provides a standard way to create an ABC using
+inheritance.
+
+
+
+
+
+
+ def
+ get_prompt ( self , question : str , question_sql_list : list , ddl_list : list , doc_list : list , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
+
+ def
+ submit_prompt (self , prompt : str , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vanna/openai_chat.html b/vanna/openai_chat.html
new file mode 100644
index 000000000..b584a36de
--- /dev/null
+++ b/vanna/openai_chat.html
@@ -0,0 +1,415 @@
+
+
+
+
+
+
+ vanna.openai_chat API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+vanna .openai_chat
+
+
+
+
+
+
+
+
+
+
+ Helper class that provides a standard way to create an ABC using
+inheritance.
+
+
+
+
+
+
@staticmethod
+
+
def
+
system_message (message : str ) -> dict :
+
+
+
+
+
+
+
+
+
+
+
@staticmethod
+
+
def
+
user_message (message : str ) -> dict :
+
+
+
+
+
+
+
+
+
+
+
@staticmethod
+
+
def
+
assistant_message (message : str ) -> dict :
+
+
+
+
+
+
+
+
+
+
+
+ def
+ get_prompt ( self , question : str , question_sql_list : list , ddl_list : list , doc_list : list , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
+
+ def
+ generate_question (self , sql : str , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
+
+ def
+ generate_plotly_code ( self , question : str = None , sql : str = None , df_metadata : str = None , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
+
+ def
+ submit_prompt (self , prompt , ** kwargs ) -> str :
+
+
+
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vanna/openai_embeddings.html b/vanna/openai_embeddings.html
new file mode 100644
index 000000000..79eea8e3e
--- /dev/null
+++ b/vanna/openai_embeddings.html
@@ -0,0 +1,319 @@
+
+
+
+
+
+
+ vanna.openai_embeddings API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+vanna .openai_embeddings
+
+
+
+
+
+
+
+
+
+
+ Helper class that provides a standard way to create an ABC using
+inheritance.
+
+
+
+
+
+
+ def
+ generate_embedding (self , data : str , ** kwargs ) -> list [ float ] :
+
+
+
+
+
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vanna/types.html b/vanna/types.html
new file mode 100644
index 000000000..c96948428
--- /dev/null
+++ b/vanna/types.html
@@ -0,0 +1,2601 @@
+
+
+
+
+
+
+ vanna.types API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
Status :
+
+
+
+
+
+
+
+
+
+
+ Status (success : bool , message : str )
+
+
+
+
+
+
+
+
+
+
+ success : bool
+
+
+
+
+
+
+
+
+
+
+ message : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
QuestionList :
+
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
FullQuestionDocument :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
QuestionSQLPair :
+
+
+
+
+
+
+
+
+
+
+ QuestionSQLPair (question : str , sql : str , tag : Optional [ str ] )
+
+
+
+
+
+
+
+
+
+
+ question : str
+
+
+
+
+
+
+
+
+
+
+ sql : str
+
+
+
+
+
+
+
+
+
+
+ tag : Optional[str]
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
Organization :
+
+
+
+
+
+
+
+
+
+
+ name : str
+
+
+
+
+
+
+
+
+
+
+ user : str | None
+
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
OrganizationList :
+
+
+
+
+
+
+
+
+
+
+ OrganizationList (organizations : List [ str ] )
+
+
+
+
+
+
+
+
+
+
+ organizations : List[str]
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
QuestionStringList :
+
+
+
+
+
+
+
+
+
+
+ QuestionStringList (questions : List [ str ] )
+
+
+
+
+
+
+
+
+
+
+ questions : List[str]
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
Visibility :
+
+
+
+
+
+
+
+
+
+
+ Visibility (visibility : bool )
+
+
+
+
+
+
+
+
+
+
+ visibility : bool
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
UserEmail :
+
+
+
+
+
+
+
+
+
+
+ UserEmail (email : str )
+
+
+
+
+
+
+
+
+
+
+ email : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
NewOrganization :
+
+
+
+
+
+
+
+
+
+
+ NewOrganization (org_name : str , db_type : str )
+
+
+
+
+
+
+
+
+
+
+ org_name : str
+
+
+
+
+
+
+
+
+
+
+ db_type : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
NewOrganizationMember :
+
+
+
+
+
+
+
+
+
+
+ NewOrganizationMember (org_name : str , email : str , is_admin : bool )
+
+
+
+
+
+
+
+
+
+
+ org_name : str
+
+
+
+
+
+
+
+
+
+
+ email : str
+
+
+
+
+
+
+
+
+
+
+ is_admin : bool
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
UserOTP :
+
+
+
+
+
+
+
+
+
+
+ UserOTP (email : str , otp : str )
+
+
+
+
+
+
+
+
+
+
+ email : str
+
+
+
+
+
+
+
+
+
+
+ otp : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
ApiKey :
+
+
+
+
+
+
+
+
+
+
+ ApiKey (key : str )
+
+
+
+
+
+
+
+
+
+
+ key : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
QuestionId :
+
+
+
+
+
+
+
+
+
+
+ QuestionId (id : str )
+
+
+
+
+
+
+
+
+
+
+ id : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
Question :
+
+
+
+
+
+
+
+
+
+
+ Question (question : str )
+
+
+
+
+
+
+
+
+
+
+ question : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
QuestionCategory :
+
+
+
+
+
+
+
+
+
+
+ QuestionCategory (question : str , category : str )
+
+
+
+
+
+
+
+
+
+
+ question : str
+
+
+
+
+
+
+
+
+
+
+ category : str
+
+
+
+
+
+
+
+
+
+
+ NO_SQL_GENERATED =
+'No SQL Generated'
+
+
+
+
+
+
+
+
+
+
+ SQL_UNABLE_TO_RUN =
+'SQL Unable to Run'
+
+
+
+
+
+
+
+
+
+
+ BOOTSTRAP_TRAINING_QUERY =
+'Bootstrap Training Query'
+
+
+
+
+
+
+
+
+
+
+ SQL_RAN =
+'SQL Ran Successfully'
+
+
+
+
+
+
+
+
+
+
+ FLAGGED_FOR_REVIEW =
+'Flagged for Review'
+
+
+
+
+
+
+
+
+
+
+ REVIEWED_AND_APPROVED =
+'Reviewed and Approved'
+
+
+
+
+
+
+
+
+
+
+ REVIEWED_AND_REJECTED =
+'Reviewed and Rejected'
+
+
+
+
+
+
+
+
+
+
+ REVIEWED_AND_UPDATED =
+'Reviewed and Updated'
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
AccuracyStats :
+
+
+
+
+
+
+
+
+
+
+ AccuracyStats (num_questions : int , data : Dict [ str , int ] )
+
+
+
+
+
+
+
+
+
+
+ num_questions : int
+
+
+
+
+
+
+
+
+
+
+ data : Dict[str, int]
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
Followup :
+
+
+
+
+
+
+
+
+
+
+ Followup (followup : str )
+
+
+
+
+
+
+
+
+
+
+ followup : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
QuestionEmbedding :
+
+
+
+
+
+
+
+
+
+
+
+ embedding : List[float]
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
Connection :
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
SQLAnswer :
+
+
+
+
+
+
+
+
+
+
+ SQLAnswer (raw_answer : str , prefix : str , postfix : str , sql : str )
+
+
+
+
+
+
+
+
+
+
+ raw_answer : str
+
+
+
+
+
+
+
+
+
+
+ prefix : str
+
+
+
+
+
+
+
+
+
+
+ postfix : str
+
+
+
+
+
+
+
+
+
+
+ sql : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
Explanation :
+
+
+
+
+
+
+
+
+
+
+ Explanation (explanation : str )
+
+
+
+
+
+
+
+
+
+
+ explanation : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
DataResult :
+
+
+
+
+
+
+
+
+
+
+ DataResult ( question : str | None , sql : str | None , table_markdown : str , error : str | None , correction_attempts : int )
+
+
+
+
+
+
+
+
+
+
+ question : str | None
+
+
+
+
+
+
+
+
+
+
+ sql : str | None
+
+
+
+
+
+
+
+
+
+
+ table_markdown : str
+
+
+
+
+
+
+
+
+
+
+ error : str | None
+
+
+
+
+
+
+
+
+
+
+ correction_attempts : int
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
PlotlyResult :
+
+
+
+
+
+
+
+
+
+
+ PlotlyResult (plotly_code : str )
+
+
+
+
+
+
+
+
+
+
+ plotly_code : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
WarehouseDefinition :
+
+
+
+
+
+
+
+
+
+
+ name : str
+
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
TableDefinition :
+
+
+
+
+
+
+
+
+
+
+ schema_name : str
+
+
+
+
+
+
+
+
+
+
+ table_name : str
+
+
+
+
+
+
+
+
+
+
+ ddl : str | None
+
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
ColumnDefinition :
+
+
+
+
+
+
+
+
+
+
+ ColumnDefinition ( name : str , type : str , is_primary_key : bool , is_foreign_key : bool , foreign_key_table : str , foreign_key_column : str )
+
+
+
+
+
+
+
+
+
+
+ name : str
+
+
+
+
+
+
+
+
+
+
+ type : str
+
+
+
+
+
+
+
+
+
+
+ is_primary_key : bool
+
+
+
+
+
+
+
+
+
+
+ is_foreign_key : bool
+
+
+
+
+
+
+
+
+
+
+ foreign_key_table : str
+
+
+
+
+
+
+
+
+
+
+ foreign_key_column : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
Diagram :
+
+
+
+
+
+
+
+
+
+
+ Diagram (raw : str , mermaid_code : str )
+
+
+
+
+
+
+
+
+
+
+ raw : str
+
+
+
+
+
+
+
+
+
+
+ mermaid_code : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
StringData :
+
+
+
+
+
+
+
+
+
+
+ StringData (data : str )
+
+
+
+
+
+
+
+
+
+
+ data : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
DataFrameJSON :
+
+
+
+
+
+
+
+
+
+
+ DataFrameJSON (data : str )
+
+
+
+
+
+
+
+
+
+
+ data : str
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
TrainingData :
+
+
+
+
+
+
+
+
+
+
+ TrainingData (questions : List [ dict ] , ddl : List [ str ] , documentation : List [ str ] )
+
+
+
+
+
+
+
+
+
+
+ questions : List[dict]
+
+
+
+
+
+
+
+
+
+
+ ddl : List[str]
+
+
+
+
+
+
+
+
+
+
+ documentation : List[str]
+
+
+
+
+
+
+
+
+
+
+
+
@dataclass
+
+
class
+
TrainingPlanItem :
+
+
+
+
+
+
+
+
+
+
+ TrainingPlanItem (item_type : str , item_group : str , item_name : str , item_value : str )
+
+
+
+
+
+
+
+
+
+
+ item_type : str
+
+
+
+
+
+
+
+
+
+
+ item_group : str
+
+
+
+
+
+
+
+
+
+
+ item_name : str
+
+
+
+
+
+
+
+
+
+
+ item_value : str
+
+
+
+
+
+
+
+
+
+
+ ITEM_TYPE_SQL =
+'sql'
+
+
+
+
+
+
+
+
+
+
+ ITEM_TYPE_DDL =
+'ddl'
+
+
+
+
+
+
+
+
+
+
+ ITEM_TYPE_IS =
+'is'
+
+
+
+
+
+
+
+
+
+
+
+
+ class
+ TrainingPlan :
+
+
+
+
+
+ A class representing a training plan. You can see what's in it, and remove items from it that you don't want trained.
+
+
Example:
+
+
+
plan = vn . get_training_plan ()
+
+plan . get_summary ()
+
+
+
+
+
+
+
+
+
+ def
+ get_summary (self ) -> List [ str ] :
+
+
+
+
+
+
Example:
+
+
+
plan = vn . get_training_plan ()
+
+plan . get_summary ()
+
+
+
+
Get a summary of the training plan.
+
+
Returns:
+
+
+ List[str]: A list of strings describing the training plan.
+
+
+
+
+
+
+
+
+ def
+ remove_item (self , item : str ):
+
+
+
+
+
+
Example:
+
+
+
plan = vn . get_training_plan ()
+
+plan . remove_item ( "Train on SQL: What is the average salary of employees?" )
+
+
+
+
Remove an item from the training plan.
+
+
Arguments:
+
+
+item (str): The item to remove.
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vanna/utils.html b/vanna/utils.html
new file mode 100644
index 000000000..b0645b80d
--- /dev/null
+++ b/vanna/utils.html
@@ -0,0 +1,286 @@
+
+
+
+
+
+
+ vanna.utils API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ def
+ validate_config_path (path ):
+
+
+
+
+
+
+
+
+
+
+
+ def
+ sanitize_model_name (model_name ):
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vn-ask.html b/vn-ask.html
new file mode 100644
index 000000000..aaaafe93a
--- /dev/null
+++ b/vn-ask.html
@@ -0,0 +1,8030 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+Vanna Docs:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Open sidebar
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
SELECT c.c_name as customer_name,
+ sum(l.l_extendedprice * (1 - l.l_discount)) as total_sales
+FROM snowflake_sample_data.tpch_sf1.lineitem l join snowflake_sample_data.tpch_sf1.orders o
+ ON l.l_orderkey = o.o_orderkey join snowflake_sample_data.tpch_sf1.customer c
+ ON o.o_custkey = c.c_custkey
+GROUP BY customer_name
+ORDER BY total_sales desc limit 10;
+
+
+
+
+
+
+
+
+
+
+
+
+CUSTOMER_NAME
+TOTAL_SALES
+
+
+
+
+0
+Customer#000143500
+6757566.0218
+
+
+1
+Customer#000095257
+6294115.3340
+
+
+2
+Customer#000087115
+6184649.5176
+
+
+3
+Customer#000131113
+6080943.8305
+
+
+4
+Customer#000134380
+6075141.9635
+
+
+5
+Customer#000103834
+6059770.3232
+
+
+6
+Customer#000069682
+6057779.0348
+
+
+7
+Customer#000102022
+6039653.6335
+
+
+8
+Customer#000098587
+6027021.5855
+
+
+9
+Customer#000064660
+5905659.6159
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
AI-generated follow-up questions:
+
+What is the country name for each of the top 10 customers by sales?
+How many orders does each of the top 10 customers by sales have?
+What is the total revenue for each of the top 10 customers by sales?
+What are the customer names and total sales for customers in the United States?
+Which customers in Africa have returned the most parts with a gross value?
+What are the total sales for the top 3 customers?
+What are the customer names and total sales for the top 5 customers?
+What are the total sales for customers in Europe?
+How many customers are there in each country?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
SELECT n.n_name as country_name,
+ sum(l.l_extendedprice * (1 - l.l_discount)) as total_sales
+FROM snowflake_sample_data.tpch_sf1.nation n join snowflake_sample_data.tpch_sf1.customer c
+ ON n.n_nationkey = c.c_nationkey join snowflake_sample_data.tpch_sf1.orders o
+ ON c.c_custkey = o.o_custkey join snowflake_sample_data.tpch_sf1.lineitem l
+ ON o.o_orderkey = l.l_orderkey
+GROUP BY country_name
+ORDER BY total_sales desc limit 5;
+
+
+
+
+
+
+
+
+
+
+
+
+COUNTRY_NAME
+TOTAL_SALES
+
+
+
+
+0
+FRANCE
+8960205391.8314
+
+
+1
+INDONESIA
+8942575217.6237
+
+
+2
+RUSSIA
+8925318302.0710
+
+
+3
+MOZAMBIQUE
+8892984086.0088
+
+
+4
+JORDAN
+8873862546.7864
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
AI-generated follow-up questions:
+
+What are the total sales for each country in descending order?
+Which country has the highest number of customers?
+What are the total sales for each customer in descending order?
+Which customers in the United States have the highest total sales?
+What are the total sales and number of orders for each customer in each country?
+What are the total sales for customers in Europe?
+What are the top 10 countries with the highest total order amount?
+Which country has the highest number of failed orders?
+Which customers have the highest total sales?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
with ranked_customers as (SELECT c.c_name as customer_name,
+ r.r_name as region_name,
+ row_number() OVER (PARTITION BY r.r_name
+ ORDER BY sum(l.l_quantity * l.l_extendedprice) desc) as rank
+ FROM snowflake_sample_data.tpch_sf1.customer c join snowflake_sample_data.tpch_sf1.orders o
+ ON c.c_custkey = o.o_custkey join snowflake_sample_data.tpch_sf1.lineitem l
+ ON o.o_orderkey = l.l_orderkey join snowflake_sample_data.tpch_sf1.nation n
+ ON c.c_nationkey = n.n_nationkey join snowflake_sample_data.tpch_sf1.region r
+ ON n.n_regionkey = r.r_regionkey
+ GROUP BY customer_name, region_name)
+SELECT region_name,
+ customer_name
+FROM ranked_customers
+WHERE rank <= 2;
+
+
+
+
+
+
+
+
+
+
+
+
+REGION_NAME
+CUSTOMER_NAME
+
+
+
+
+0
+ASIA
+Customer#000102022
+
+
+1
+ASIA
+Customer#000148750
+
+
+2
+AMERICA
+Customer#000095257
+
+
+3
+AMERICA
+Customer#000091630
+
+
+4
+EUROPE
+Customer#000028180
+
+
+5
+EUROPE
+Customer#000053809
+
+
+6
+MIDDLE EAST
+Customer#000143500
+
+
+7
+MIDDLE EAST
+Customer#000103834
+
+
+8
+AFRICA
+Customer#000131113
+
+
+9
+AFRICA
+Customer#000134380
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
AI-generated follow-up questions:
+
+
+What are the total sales for each customer in the Asia region?
+
+
+
+How many orders does each customer in the Americas region have?
+
+
+
+Who are the top 5 customers with the highest total sales?
+
+
+
+What is the total revenue for each customer in the Europe region?
+
+
+
+Can you provide a breakdown of the number of customers in each country?
+
+
+
+Which customers in the United States have the highest total sales?
+
+
+
+What are the total sales for each customer in the Asia region?
+
+
+
+What are the top 10 customers with the highest returned parts gross value in Africa?
+
+
+
+What are the top 3 customers with the highest total sales overall?
+
+
+
+Can you provide a list of the first 10 customers in the database?
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/vn-connect-to-bigquery.html b/vn-connect-to-bigquery.html
new file mode 100644
index 000000000..c299496ab
--- /dev/null
+++ b/vn-connect-to-bigquery.html
@@ -0,0 +1,7916 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+Vanna Docs:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Open sidebar
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Not using Google Colab.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Out[5]:
+
+
+
+
+
+
+
+submitter_id
+case_id
+diag__treat__count
+primary_site
+disease_type
+proj__name
+proj__project_id
+demo__demographic_id
+demo__gender
+demo__race
+...
+exp__bmi
+exp__years_smoked
+exp__pack_years_smoked
+exp__cigarettes_per_day
+exp__alcohol_history
+exp__state
+exp__created_datetime
+exp__updated_datetime
+state
+updated_datetime
+
+
+
+
+0
+TCGA-CN-5363
+291b069c-9dde-4e1e-8430-85146bc94338
+2
+Larynx
+Squamous Cell Neoplasms
+Head and Neck Squamous Cell Carcinoma
+TCGA-HNSC
+2611cb61-6d05-5286-b94a-ce6cac2ba37b
+male
+black or african american
+...
+NaN
+NaN
+15.0
+0.821918
+Yes
+released
+None
+2019-07-31T18:43:25.167078-05:00
+released
+2019-08-06T14:25:25.511101-05:00
+
+
+1
+TCGA-CN-5365
+4cffea0b-90a7-4c86-a73f-bb8feca3ada7
+2
+Tonsil
+Squamous Cell Neoplasms
+Head and Neck Squamous Cell Carcinoma
+TCGA-HNSC
+97a7f69b-0f40-5450-bbeb-92084a100a9d
+male
+white
+...
+NaN
+NaN
+26.0
+1.424658
+Yes
+released
+None
+2019-07-31T19:39:51.442671-05:00
+released
+2019-08-06T14:25:25.511101-05:00
+
+
+2
+TCGA-CN-A642
+a1ded1e8-eb28-49dd-8f3d-1ce8f40eed8f
+2
+Other and unspecified parts of tongue
+Squamous Cell Neoplasms
+Head and Neck Squamous Cell Carcinoma
+TCGA-HNSC
+4bc58619-47fc-5c2d-aaec-9d9e562e049b
+male
+white
+...
+NaN
+NaN
+5.0
+0.273973
+Yes
+released
+None
+2019-07-31T19:30:27.901248-05:00
+released
+2019-08-06T14:25:39.854271-05:00
+
+
+3
+TCGA-CR-7380
+53b254b7-021f-43df-af9b-3fc01b87479e
+2
+Other and ill-defined sites in lip, oral cavit...
+Squamous Cell Neoplasms
+Head and Neck Squamous Cell Carcinoma
+TCGA-HNSC
+be41a712-ebee-52e1-907c-80b1917daa45
+male
+white
+...
+NaN
+NaN
+NaN
+NaN
+Yes
+released
+None
+2019-07-31T19:40:20.032260-05:00
+released
+2019-08-06T14:26:05.315718-05:00
+
+
+4
+TCGA-CV-5978
+e16e9535-b20f-4c9a-8b5b-82df80c99448
+2
+Larynx
+Squamous Cell Neoplasms
+Head and Neck Squamous Cell Carcinoma
+TCGA-HNSC
+92d1d967-c8a0-52cb-a62d-1d11bdf85068
+female
+black or african american
+...
+NaN
+NaN
+NaN
+NaN
+Yes
+released
+None
+2019-07-31T19:52:06.976359-05:00
+released
+2019-08-06T14:26:05.315718-05:00
+
+
+5
+TCGA-CV-6948
+fcf0dc48-b889-4593-a15b-aa715aae7bf5
+2
+Floor of mouth
+Squamous Cell Neoplasms
+Head and Neck Squamous Cell Carcinoma
+TCGA-HNSC
+2fd1a926-7584-50d5-b6b7-9b9d02710f47
+female
+white
+...
+NaN
+NaN
+NaN
+NaN
+No
+released
+None
+2019-07-31T19:55:16.152855-05:00
+released
+2019-08-06T14:26:16.536997-05:00
+
+
+6
+TCGA-CV-7409
+acd98e20-d2da-4256-99a5-13e261bc88e6
+2
+Other and ill-defined sites in lip, oral cavit...
+Squamous Cell Neoplasms
+Head and Neck Squamous Cell Carcinoma
+TCGA-HNSC
+2a3f5bb4-3606-5549-8d85-ec413eadd7ab
+male
+black or african american
+...
+NaN
+NaN
+NaN
+NaN
+No
+released
+None
+2019-07-31T19:48:25.311492-05:00
+released
+2019-08-06T14:26:28.608672-05:00
+
+
+7
+TCGA-CV-A6JU
+b1b3983d-37d2-4bef-bd17-708e3e600146
+2
+Other and unspecified parts of tongue
+Squamous Cell Neoplasms
+Head and Neck Squamous Cell Carcinoma
+TCGA-HNSC
+604e3dac-30be-589d-b622-df0b41cd9a7f
+female
+white
+...
+NaN
+NaN
+81.0
+4.438356
+Yes
+released
+None
+2019-07-31T19:48:40.594893-05:00
+released
+2019-08-06T14:26:39.780396-05:00
+
+
+8
+TCGA-QK-A6IH
+c1f286f6-d4a1-494a-88c8-ff8e2a3df2ce
+2
+Gum
+Squamous Cell Neoplasms
+Head and Neck Squamous Cell Carcinoma
+TCGA-HNSC
+83e5c705-bd2e-5516-9700-ed3803dde268
+female
+white
+...
+NaN
+NaN
+NaN
+NaN
+Yes
+released
+None
+2019-07-31T19:49:42.057478-05:00
+released
+2019-08-06T14:27:02.392779-05:00
+
+
+9
+TCGA-QK-A8Z8
+ac511727-185b-4ac0-b6c0-dc3a79657be6
+2
+Larynx
+Squamous Cell Neoplasms
+Head and Neck Squamous Cell Carcinoma
+TCGA-HNSC
+fd1e46fb-43bb-54ae-b713-a579ba857ed4
+female
+black or african american
+...
+NaN
+NaN
+80.0
+4.383562
+Yes
+released
+None
+2019-07-31T19:48:22.125112-05:00
+released
+2019-08-06T14:27:02.392779-05:00
+
+
+
+
10 rows × 70 columns
+
+
+
+
+
+
+
+
+
+
diff --git a/vn-connect-to-postgres.html b/vn-connect-to-postgres.html
new file mode 100644
index 000000000..a4c7ba8c2
--- /dev/null
+++ b/vn-connect-to-postgres.html
@@ -0,0 +1,8585 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+Vanna Docs:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Open sidebar
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Out[4]:
+
+
+
+
+
+
+
+id
+timestamp
+userstamp
+descr
+current_release
+full_descr
+alive
+for_release
+display_name
+project_id
+avg_length
+min_length
+max_length
+num_sequences
+num_organisms
+
+
+
+
+0
+5
+2017-05-17 00:00:00.000000
+RNACEN
+VEGA
+98
+VEGA
+N
+None
+VEGA
+PRJEB4568
+NaN
+NaN
+NaN
+0
+0
+
+
+1
+1
+2017-05-01 00:00:00.000000
+RNACEN
+ENA
+731
+ENA
+Y
+None
+ENA
+None
+412.0
+10.0
+900074.0
+12086180
+814855
+
+
+2
+26
+2017-05-01 00:00:00.000000
+RNACEN
+GENCODE
+450
+GENCODE
+N
+None
+GENCODE
+None
+889.0
+32.0
+205012.0
+47677
+2
+
+
+3
+3
+2017-05-01 00:00:00.000000
+RNACEN
+SRPDB
+732
+SRPDB
+Y
+None
+SRPDB
+PRJEB4384
+173.0
+30.0
+533.0
+503
+684
+
+
+4
+15
+2017-05-02 00:00:00.000000
+RNACEN
+WORMBASE
+735
+WormBase
+Y
+None
+WormBase
+PRJNA13758
+174.0
+17.0
+84141.0
+26116
+1
+
+
+5
+24
+2017-05-02 00:00:00.000000
+RNACEN
+FLYBASE
+739
+FlyBase
+Y
+None
+FlyBase
+PRJ_FLY
+765.0
+18.0
+21216.0
+4210
+1
+
+
+6
+14
+2017-05-01 00:00:00.000000
+RNACEN
+TAIR
+720
+TAIR
+Y
+None
+TAIR
+PRJ_TAIR
+384.0
+19.0
+6227.0
+4406
+1
+
+
+7
+2
+2017-05-01 00:00:00.000000
+RNACEN
+RFAM
+635
+RFAM
+Y
+None
+Rfam
+None
+135.0
+24.0
+11047.0
+1872081
+14735
+
+
+8
+25
+2017-05-11 00:00:00.000000
+RNACEN
+ENSEMBL
+721
+Ensembl
+Y
+None
+Ensembl
+None
+908.0
+20.0
+347561.0
+1294678
+264
+
+
+9
+52
+2022-12-21 11:20:36.071013
+RNACEN
+RIBOCENTRE
+729
+Ribocentre
+Y
+None
+Ribocentre
+None
+67.0
+28.0
+1619.0
+151770
+5536
+
+
+10
+53
+2023-01-24 11:56:51.648817
+RNACEN
+EVLNCRNAS
+730
+EVLncRNAs
+Y
+None
+EVLncRNAs
+None
+2311.0
+199.0
+205012.0
+933
+3
+
+
+11
+6
+2017-05-01 00:00:00.000000
+RNACEN
+TMRNA_WEB
+414
+tmRNA Website
+Y
+None
+tmRNA Website
+PRJEB4570
+335.0
+23.0
+644.0
+2857
+7560
+
+
+12
+51
+2022-09-22 15:14:59.500143
+RNACEN
+EXPRESSION_ATLAS
+636
+Expression Atlas
+Y
+None
+Expression Atlas
+None
+953.0
+72.0
+32709.0
+11030
+3
+
+
+13
+35
+2017-05-01 00:00:00.000000
+RNACEN
+ENSEMBL_PROTISTS
+724
+Ensembl Protists
+Y
+None
+Ensembl Protists
+None
+212.0
+11.0
+7940.0
+5261
+32
+
+
+14
+36
+2017-05-01 00:00:00.000000
+RNACEN
+ENSEMBL_FUNGI
+725
+Ensembl Fungi
+Y
+None
+Ensembl Fungi
+None
+210.0
+19.0
+16569.0
+15817
+62
+
+
+15
+22
+2017-05-01 00:00:00.000000
+RNACEN
+MODOMICS
+92
+Modomics
+Y
+None
+Modomics
+None
+140.0
+54.0
+5025.0
+319
+60
+
+
+16
+20
+2017-05-01 00:00:00.000000
+RNACEN
+LNCIPEDIA
+612
+LNCipedia
+Y
+None
+LNCipedia
+None
+1534.0
+200.0
+152544.0
+126876
+1
+
+
+17
+28
+2017-05-01 00:00:00.000000
+RNACEN
+RGD
+194
+Rat Genome Database
+Y
+None
+RGD
+None
+2340.0
+49.0
+27956.0
+11124
+1
+
+
+18
+27
+2017-10-23 00:00:00.000000
+RNACEN
+MGI
+174
+Mouse Genome Database
+Y
+None
+MGI
+None
+851.0
+21.0
+84395.0
+16719
+1
+
+
+19
+50
+2022-08-16 15:52:33.990145
+RNACEN
+PLNCDB
+606
+PLncDB
+Y
+None
+PLncDB
+None
+6659.0
+199.0
+985945.0
+936926
+80
+
+
+20
+49
+2017-05-01 00:00:00.000000
+RNACEN
+RIBOVISION
+560
+RiboVision
+Y
+None
+RiboVision
+None
+1676.0
+30.0
+5070.0
+36
+15
+
+
+21
+42
+2017-05-01 00:00:00.000000
+RNACEN
+INTACT
+740
+IntAct
+Y
+None
+IntAct
+None
+705.0
+18.0
+93092.0
+386
+9
+
+
+22
+48
+2017-05-01 00:00:00.000000
+RNACEN
+PSICQUIC
+632
+PSICQUIC
+Y
+None
+PSICQUIC
+None
+2251.0
+21.0
+84395.0
+95
+8
+
+
+23
+34
+2017-05-01 00:00:00.000000
+RNACEN
+ENSEMBL_METAZOA
+723
+Ensembl Metazoa
+Y
+None
+Ensembl Metazoa
+None
+712.0
+18.0
+46956.0
+285241
+152
+
+
+24
+40
+2017-05-01 00:00:00.000000
+RNACEN
+MALACARDS
+726
+MalaCards
+Y
+None
+MalaCards
+None
+1861.0
+16.0
+220253.0
+57129
+1
+
+
+25
+41
+2017-05-01 00:00:00.000000
+RNACEN
+GENECARDS
+727
+MalaCards
+Y
+None
+GeneCards
+None
+1301.0
+16.0
+347561.0
+515365
+1
+
+
+26
+47
+2017-05-01 00:00:00.000000
+RNACEN
+ENSEMBL_GENCODE
+728
+ENSEMBL_GENCODE
+Y
+None
+Ensembl/GENCODE
+None
+1274.0
+32.0
+347561.0
+76095
+2
+
+
+27
+19
+2017-05-01 00:00:00.000000
+RNACEN
+DICTYBASE
+86
+dictyBase
+Y
+None
+dictyBase
+PRJ_DICTY
+82.0
+32.0
+1060.0
+149
+1
+
+
+28
+12
+2017-05-01 00:00:00.000000
+RNACEN
+SNOPY
+511
+snOPY
+Y
+None
+snOPY
+PRJEB8122
+117.0
+42.0
+1004.0
+2501
+7
+
+
+29
+46
+2017-05-01 00:00:00.000000
+RNACEN
+PIRBASE
+485
+piRBase
+Y
+None
+piRBase
+None
+28.0
+15.0
+40.0
+200827
+17
+
+
+30
+45
+2017-05-01 00:00:00.000000
+RNACEN
+CRW
+593
+CRW
+Y
+None
+CRW
+None
+1365.0
+107.0
+4381.0
+934
+685
+
+
+31
+8
+2017-05-01 00:00:00.000000
+RNACEN
+GTRNADB
+733
+GtRNAdb
+Y
+None
+GtRNAdb
+PRJEB5173
+76.0
+53.0
+356.0
+93098
+4337
+
+
+32
+9
+2017-05-01 00:00:00.000000
+RNACEN
+REFSEQ
+719
+RefSeq
+Y
+None
+RefSeq
+None
+637.0
+15.0
+91671.0
+107976
+22247
+
+
+33
+31
+2017-05-01 00:00:00.000000
+RNACEN
+ENSEMBL_PLANTS
+722
+Ensembl Plants
+Y
+None
+Ensembl Plants
+None
+279.0
+15.0
+79788.0
+76428
+59
+
+
+34
+43
+2017-05-01 00:00:00.000000
+RNACEN
+SNORNADB
+446
+snoRNA Database
+Y
+None
+snoRNA Database
+None
+50.0
+45.0
+74.0
+680
+10
+
+
+35
+10
+2017-05-01 00:00:00.000000
+RNACEN
+RDP
+85
+RDP
+Y
+None
+RDP
+None
+1536.0
+1337.0
+1600.0
+4779
+2487
+
+
+36
+7
+2017-05-01 00:00:00.000000
+RNACEN
+LNCRNADB
+464
+lncRNAdb
+Y
+None
+lncRNAdb
+PRJEB6238
+3086.0
+61.0
+32753.0
+62
+10
+
+
+37
+39
+2017-05-01 00:00:00.000000
+RNACEN
+MIRGENEDB
+559
+MirGeneDB
+Y
+None
+MirGeneDB
+None
+41.0
+20.0
+282.0
+18901
+75
+
+
+38
+17
+2017-05-01 00:00:00.000000
+RNACEN
+SILVA
+610
+SILVA
+Y
+None
+SILVA
+None
+1080.0
+300.0
+4997.0
+8193988
+665540
+
+
+39
+30
+2017-05-01 00:00:00.000000
+RNACEN
+ZWD
+615
+ZWD
+Y
+None
+ZWD
+None
+86.0
+21.0
+951.0
+44332
+6763
+
+
+40
+33
+2017-05-01 00:00:00.000000
+RNACEN
+LNCBOOK
+616
+LncBook
+Y
+None
+LncBook
+None
+1686.0
+54.0
+205012.0
+322552
+1
+
+
+41
+11
+2017-05-01 00:00:00.000000
+RNACEN
+PDBE
+734
+PDBe
+Y
+None
+PDBe
+None
+591.0
+10.0
+19000.0
+3760
+382
+
+
+42
+16
+2017-05-01 00:00:00.000000
+RNACEN
+SGD
+736
+SGD
+Y
+None
+SGD
+PRJ_SGD
+243.0
+58.0
+6858.0
+212
+1
+
+
+43
+18
+2017-05-01 00:00:00.000000
+RNACEN
+POMBASE
+737
+PomBase
+Y
+None
+PomBase
+PRJNA13836
+179.0
+47.0
+3485.0
+200
+1
+
+
+44
+23
+2017-05-01 00:00:00.000000
+RNACEN
+HGNC
+738
+HUGO Gene Nomenclature Committee
+Y
+None
+HGNC
+None
+1058.0
+33.0
+205012.0
+8438
+1
+
+
+45
+44
+2017-05-01 00:00:00.000000
+RNACEN
+ZFIN
+741
+ZFIN
+Y
+None
+ZFIN
+None
+907.0
+83.0
+13525.0
+1025
+1
+
+
+46
+37
+2017-05-01 00:00:00.000000
+RNACEN
+SNODB
+444
+snoDB
+Y
+None
+snoDB
+None
+117.0
+33.0
+791.0
+1970
+1
+
+
+47
+13
+2017-05-01 00:00:00.000000
+RNACEN
+GREENGENES
+71
+Greengenes
+Y
+None
+Greengenes
+None
+1403.0
+1253.0
+2368.0
+1004892
+92684
+
+
+48
+38
+2017-05-01 00:00:00.000000
+RNACEN
+5SRRNADB
+387
+5SrRNAdb
+Y
+None
+5SrRNAdb
+None
+120.0
+95.0
+180.0
+9487
+7158
+
+
+49
+32
+2017-05-01 00:00:00.000000
+RNACEN
+LNCBASE
+248
+LncBase
+Y
+None
+LncBase
+None
+22.0
+17.0
+26.0
+1151
+2
+
+
+50
+29
+2017-05-01 00:00:00.000000
+RNACEN
+TARBASE
+223
+TarBase
+Y
+None
+TarBase
+None
+22.0
+16.0
+27.0
+1291
+2
+
+
+51
+4
+2017-05-01 00:00:00.000000
+RNACEN
+MIRBASE
+435
+MIRBASE
+Y
+None
+miRBase
+PRJEB4451
+55.0
+15.0
+2354.0
+65389
+271
+
+
+52
+21
+2017-05-02 00:00:00.000000
+RNACEN
+NONCODE
+146
+NONCODE
+Y
+None
+NONCODE
+None
+1130.0
+201.0
+244296.0
+234669
+7
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/vn-train.html b/vn-train.html
new file mode 100644
index 000000000..8fb0206ab
--- /dev/null
+++ b/vn-train.html
@@ -0,0 +1,7848 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+Vanna Docs: Snowflake
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Open sidebar
+
+
+
+
+
+
+
+
+
+
+
+ Run Using Colab
+
+
+
+
+
+ Open in GitHub
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Trying query history
+Trying INFORMATION_SCHEMA.COLUMNS for SNOWFLAKE_SAMPLE_DATA
+
+
+
+
+
Out[6]:
+
+
Train on SQL: What are the top 10 customers ranked by total sales?
+Train on SQL: What are the top 10 customers in terms of total sales?
+Train on SQL: What are the top two customers with the highest total sales for each region?
+Train on SQL: What are the top 5 customers with the highest total sales?
+Train on SQL: What is the total quantity of each product sold in each region, ordered by region name and total quantity in descending order?
+Train on SQL: What is the number of orders for each week, starting from the most recent week?
+Train on SQL: What countries are in the region 'EUROPE'?
+Train on Information Schema: SNOWFLAKE_SAMPLE_DATA.TPCH_SF1 SUPPLIER
+Train on Information Schema: SNOWFLAKE_SAMPLE_DATA.TPCH_SF1 LINEITEM
+Train on Information Schema: SNOWFLAKE_SAMPLE_DATA.TPCH_SF1 CUSTOMER
+Train on Information Schema: SNOWFLAKE_SAMPLE_DATA.TPCH_SF1 PARTSUPP
+Train on Information Schema: SNOWFLAKE_SAMPLE_DATA.TPCH_SF1 PART
+Train on Information Schema: SNOWFLAKE_SAMPLE_DATA.TPCH_SF1 ORDERS
+Train on Information Schema: SNOWFLAKE_SAMPLE_DATA.TPCH_SF1 REGION
+Train on Information Schema: SNOWFLAKE_SAMPLE_DATA.TPCH_SF1 NATION
+
+
+
+
+
+
+
+
+
+
+
+
+
Out[7]:
+
+
+
+
+
+
+
+id
+training_data_type
+question
+content
+
+
+
+
+0
+15-doc
+documentation
+None
+This is a table in the PARTSUPP table.\n\nThe ...
+
+
+1
+11-doc
+documentation
+None
+This is a table in the CUSTOMER table.\n\nThe ...
+
+
+2
+14-doc
+documentation
+None
+This is a table in the ORDERS table.\n\nThe fo...
+
+
+3
+1244-sql
+sql
+What are the names of the top 10 customers?
+SELECT c.c_name as customer_name\nFROM snowf...
+
+
+4
+1242-sql
+sql
+What are the top 5 customers in terms of total...
+SELECT c.c_name AS customer_name, SUM(l.l_quan...
+
+
+5
+17-doc
+documentation
+None
+This is a table in the REGION table.\n\nThe fo...
+
+
+6
+16-doc
+documentation
+None
+This is a table in the PART table.\n\nThe foll...
+
+
+7
+1243-sql
+sql
+What are the top 10 customers with the highest...
+SELECT c.c_name as customer_name,\n sum(...
+
+
+8
+1239-sql
+sql
+What are the top 100 customers based on their ...
+SELECT c.c_name as customer_name,\n sum(...
+
+
+9
+13-doc
+documentation
+None
+This is a table in the SUPPLIER table.\n\nThe ...
+
+
+10
+1241-sql
+sql
+What are the top 10 customers in terms of tota...
+SELECT c.c_name as customer_name,\n sum(...
+
+
+11
+12-doc
+documentation
+None
+This is a table in the LINEITEM table.\n\nThe ...
+
+
+12
+18-doc
+documentation
+None
+This is a table in the NATION table.\n\nThe fo...
+
+
+13
+1248-sql
+sql
+How many customers are in each country?
+SELECT n.n_name as country,\n count(*) a...
+
+
+14
+1240-sql
+sql
+What is the number of orders placed each week?
+SELECT date_trunc('week', o_orderdate) as week...
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/workflow.md b/workflow.md
new file mode 100644
index 000000000..af69ca5bd
--- /dev/null
+++ b/workflow.md
@@ -0,0 +1,19 @@
+# What's the Workflow?
+```mermaid
+flowchart TD
+ DB[(Known Correct Question-SQL)]
+ Try[Try to Use DDL/Documentation]
+ SQL(SQL)
+ Check{Is the SQL correct?}
+ Generate[fa:fa-circle-question Use Examples to Generate]
+ DB --> Find
+ Question[fa:fa-circle-question Question] --> Find{fa:fa-magnifying-glass Do we have similar questions?}
+ Find -- Yes --> Generate
+ Find -- No --> Try
+ Generate --> SQL
+ Try --> SQL
+ SQL --> Check
+ Check -- Yes --> DB
+ Check -- No --> Analyst[fa:fa-glasses Analyst Writes the SQL]
+ Analyst -- Adds --> DB
+```
\ No newline at end of file