From 42873fd3906e07e97ea70a573e2967cb6c30ff5c Mon Sep 17 00:00:00 2001 From: <> Date: Thu, 6 Jul 2023 20:40:43 +0000 Subject: [PATCH] Deployed 7d05a80 with MkDocs version: 1.4.3 --- .nojekyll | 0 404.html | 465 ++ CNAME | 1 + assets/_mkdocstrings.css | 64 + assets/images/favicon.png | Bin 0 -> 1870 bytes assets/javascripts/bundle.220ee61c.min.js | 29 + assets/javascripts/bundle.220ee61c.min.js.map | 8 + assets/javascripts/lunr/min/lunr.ar.min.js | 1 + assets/javascripts/lunr/min/lunr.da.min.js | 18 + assets/javascripts/lunr/min/lunr.de.min.js | 18 + assets/javascripts/lunr/min/lunr.du.min.js | 18 + assets/javascripts/lunr/min/lunr.es.min.js | 18 + assets/javascripts/lunr/min/lunr.fi.min.js | 18 + assets/javascripts/lunr/min/lunr.fr.min.js | 18 + assets/javascripts/lunr/min/lunr.hi.min.js | 1 + assets/javascripts/lunr/min/lunr.hu.min.js | 18 + assets/javascripts/lunr/min/lunr.hy.min.js | 1 + assets/javascripts/lunr/min/lunr.it.min.js | 18 + assets/javascripts/lunr/min/lunr.ja.min.js | 1 + assets/javascripts/lunr/min/lunr.jp.min.js | 1 + assets/javascripts/lunr/min/lunr.kn.min.js | 1 + assets/javascripts/lunr/min/lunr.ko.min.js | 1 + assets/javascripts/lunr/min/lunr.multi.min.js | 1 + assets/javascripts/lunr/min/lunr.nl.min.js | 18 + assets/javascripts/lunr/min/lunr.no.min.js | 18 + assets/javascripts/lunr/min/lunr.pt.min.js | 18 + assets/javascripts/lunr/min/lunr.ro.min.js | 18 + assets/javascripts/lunr/min/lunr.ru.min.js | 18 + assets/javascripts/lunr/min/lunr.sa.min.js | 1 + .../lunr/min/lunr.stemmer.support.min.js | 1 + assets/javascripts/lunr/min/lunr.sv.min.js | 18 + assets/javascripts/lunr/min/lunr.ta.min.js | 1 + assets/javascripts/lunr/min/lunr.te.min.js | 1 + assets/javascripts/lunr/min/lunr.th.min.js | 1 + assets/javascripts/lunr/min/lunr.tr.min.js | 18 + assets/javascripts/lunr/min/lunr.vi.min.js | 1 + assets/javascripts/lunr/min/lunr.zh.min.js | 1 + assets/javascripts/lunr/tinyseg.js | 206 + assets/javascripts/lunr/wordcut.js | 6708 +++++++++++++++++ .../workers/search.74e28a9f.min.js | 42 + .../workers/search.74e28a9f.min.js.map | 8 + assets/stylesheets/main.26e3688c.min.css | 1 + assets/stylesheets/main.26e3688c.min.css.map | 1 + assets/stylesheets/palette.ecc896b0.min.css | 1 + .../stylesheets/palette.ecc896b0.min.css.map | 1 + getting-started/index.html | 700 ++ index.html | 574 ++ jupyter/index.html | 653 ++ objects.inv | 6 + onboarding/index.html | 602 ++ pricing/index.html | 517 ++ reference/index.html | 2144 ++++++ search.js | 46 + search/search_index.json | 1 + sitemap.xml | 3 + sitemap.xml.gz | Bin 0 -> 127 bytes slack/index.html | 482 ++ slides.html | 63 + streamlit/index.html | 565 ++ stylesheets/extra.css | 23 + support/index.html | 495 ++ vanna-py-overview/index.html | 553 ++ vanna.html | 786 ++ vanna/types.html | 1717 +++++ workflow/index.html | 511 ++ 65 files changed, 18261 insertions(+) create mode 100644 .nojekyll create mode 100644 404.html create mode 100644 CNAME create mode 100644 assets/_mkdocstrings.css create mode 100644 assets/images/favicon.png create mode 100644 assets/javascripts/bundle.220ee61c.min.js create mode 100644 assets/javascripts/bundle.220ee61c.min.js.map create mode 100644 assets/javascripts/lunr/min/lunr.ar.min.js create mode 100644 assets/javascripts/lunr/min/lunr.da.min.js create mode 100644 assets/javascripts/lunr/min/lunr.de.min.js create mode 100644 assets/javascripts/lunr/min/lunr.du.min.js create mode 100644 assets/javascripts/lunr/min/lunr.es.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hu.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hy.min.js create mode 100644 assets/javascripts/lunr/min/lunr.it.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ja.min.js create mode 100644 assets/javascripts/lunr/min/lunr.jp.min.js create mode 100644 assets/javascripts/lunr/min/lunr.kn.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ko.min.js create mode 100644 assets/javascripts/lunr/min/lunr.multi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.nl.min.js create mode 100644 assets/javascripts/lunr/min/lunr.no.min.js create mode 100644 assets/javascripts/lunr/min/lunr.pt.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ro.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ru.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sa.min.js create mode 100644 assets/javascripts/lunr/min/lunr.stemmer.support.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sv.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ta.min.js create mode 100644 assets/javascripts/lunr/min/lunr.te.min.js create mode 100644 assets/javascripts/lunr/min/lunr.th.min.js create mode 100644 assets/javascripts/lunr/min/lunr.tr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.vi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.zh.min.js create mode 100644 assets/javascripts/lunr/tinyseg.js create mode 100644 assets/javascripts/lunr/wordcut.js create mode 100644 assets/javascripts/workers/search.74e28a9f.min.js create mode 100644 assets/javascripts/workers/search.74e28a9f.min.js.map create mode 100644 assets/stylesheets/main.26e3688c.min.css create mode 100644 assets/stylesheets/main.26e3688c.min.css.map create mode 100644 assets/stylesheets/palette.ecc896b0.min.css create mode 100644 assets/stylesheets/palette.ecc896b0.min.css.map create mode 100644 getting-started/index.html create mode 100644 index.html create mode 100644 jupyter/index.html create mode 100644 objects.inv create mode 100644 onboarding/index.html create mode 100644 pricing/index.html create mode 100644 reference/index.html create mode 100644 search.js create mode 100644 search/search_index.json create mode 100644 sitemap.xml create mode 100644 sitemap.xml.gz create mode 100644 slack/index.html create mode 100644 slides.html create mode 100644 streamlit/index.html create mode 100644 stylesheets/extra.css create mode 100644 support/index.html create mode 100644 vanna-py-overview/index.html create mode 100644 vanna.html create mode 100644 vanna/types.html create mode 100644 workflow/index.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/404.html b/404.html new file mode 100644 index 000000000..c1038cc55 --- /dev/null +++ b/404.html @@ -0,0 +1,465 @@ + + + +
+ + + + + + + + + + + + + +pip install vanna
+
import vanna as vn
+
vn.api_key = 'vanna-key-...'
+
vn.set_org('my_org')
+
vn.store_sql(
+ question="Who are the top 10 customers by Sales?",
+ sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"
+)
+
my_question = 'What are the top 10 ABC by XYZ?'
+
+sql = vn.generate_sql(question=my_question, error_msg=None)
+# SELECT * FROM table_name WHERE column_name = 'value'
+
import vanna as vn
+
+vn.api_key = 'vanna-key-...' # Set your API key
+vn.set_org('') # Set your organization name
+
+# Train Vanna.AI on your data
+vn.store_sql(
+ question="Who are the top 10 customers by Sales?",
+ sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"
+)
+
+# Ask questions about your data
+my_question = 'What are the top 10 ABC by XYZ?'
+
+# Generate SQL
+sql = vn.generate_sql(question=my_question, error_msg=None)
+
+# Connect to your database
+conn = snowflake.connector.connect(
+ user='my_user',
+ password='my_password',
+ account='my_account',
+ database='my_database',
+ )
+
+cs = conn.cursor()
+
+# Get results
+df = vn.get_results(
+ cs=cs,
+ default_db=my_default_db,
+ sql=sql
+ )
+
+# Generate Plotly code
+plotly_code = vn.generate_plotly_code(
+ question=my_question,
+ sql=sql,
+ df=df
+ )
+
+# Get Plotly figure
+fig = vn.get_plotly_figure(
+ plotly_code=plotly_code,
+ df=df
+ )
+
Vanna.AI is a platform that allows you to ask questions about your data in plain English. It is an AI-powered data analyst that can answer questions about your data, generate SQL, and create visualizations.
+Each organization has its own isolated training set. This means that Vanna.AI can understand the unique language of your organization and answer questions about your data.
+After every question you can tell Vanna.AI whether the results were correct. This allows Vanna.AI to learn from the questions that are asked and become smarter immediately.
+Vanna provides additional functionality to manage your training data to maintain the highest level of accuracy for your organization.
+It can support apps that allow you to:
+ + +/askvanna [question]
Vanna.AI can be used in a Jupyter Notebook to generate SQL from natural language questions.
+%pip install vanna
+
import vanna as vn
+
vn.api_key = 'vanna-key-...'
+
vn.set_org('my_org')
+
vn.store_sql(
+ question="Who are the top 10 customers by Sales?",
+ sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"
+)
+
my_question = 'What are the top 10 ABC by XYZ?'
+
+# Generate SQL
+sql = vn.generate_sql(question=my_question, error_msg=None)
+# SELECT * FROM table_name WHERE column_name = 'value'
+
Run your SQL as you normally would.
+ + + + + + +Vanna.AI uses a combination of documentation and historical question and SQL pairs to generate SQL from natural language.
+flowchart LR
+ Generate[vn.generate_question]
+ Question[Question]
+ Verify{Is the question correct?}
+ SQL --> Generate
+ Generate --> Question
+ Question --> Verify
+ Verify -- Yes --> Store[vn.store_sql]
+ Verify -- No --> Update[Update the Question]
+ Update --> Store
+
flowchart LR
+ Question[Question]
+ Generate[vn.generate_sql]
+ SQL[SQL]
+ Question --> Generate
+ Generate --> SQL
+
+
+
+
+
+
+ + | Free Tier | +Paid Tier | +
---|---|---|
Price | +Free | +$500/month | +
Documentation Storage | +100 chunks | +10,000 chunks | +
Question Storage | +1,000 questions | +10,000 questions | +
Multi-User | +No | +Yes | +
Support | +Discord | +Email, Slack, Phone | +
Vanna.AI is a platform that allows you to ask questions about your data in plain English. It is an AI-powered data analyst that can answer questions about your data, generate SQL, and create visualizations.
+flag_sql_for_review(question, sql=None, error_msg=None)
+
+vn.flag_sql_for_review(question="What is the average salary of employees?")
+
get_flagged_questions()
.
+
+ Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
question |
+
+ str
+ |
+
+
+
+ The question to flag. + |
+ + required + | +
sql |
+
+ str
+ |
+
+
+
+ The SQL query to flag. + |
+
+ None
+ |
+
error_msg |
+
+ str
+ |
+
+
+
+ The error message to flag. + |
+
+ None
+ |
+
Returns:
+Name | Type | +Description | +
---|---|---|
bool |
+ bool
+ |
+
+
+
+ True if the question and SQL query were flagged successfully, False otherwise. + |
+
generate_explanation(sql)
+
+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.
+ +Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
sql |
+
+ str
+ |
+
+
+
+ The SQL query to generate an explanation for. + |
+ + required + | +
Returns:
+Type | +Description | +
---|---|
+ str
+ |
+
+
+
+ str or None: The explanation, or None if an error occurred. + |
+
generate_plotly_code(question, sql, df)
+
+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")
+
Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
question |
+
+ str
+ |
+
+
+
+ The question to generate Plotly code for. + |
+ + required + | +
sql |
+
+ str
+ |
+
+
+
+ The SQL query to generate Plotly code for. + |
+ + required + | +
df |
+
+ pd.DataFrame
+ |
+
+
+
+ The dataframe to generate Plotly code for. + |
+ + required + | +
Returns:
+Type | +Description | +
---|---|
+ str
+ |
+
+
+
+ str or None: The Plotly code, or None if an error occurred. + |
+
generate_question(sql)
+
+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.
+ +Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
sql |
+
+ str
+ |
+
+
+
+ The SQL query to generate a question for. + |
+ + required + | +
Returns:
+Type | +Description | +
---|---|
+ str
+ |
+
+
+
+ str or None: The question, or None if an error occurred. + |
+
generate_sql(question)
+
+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.
+ +Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
question |
+
+ str
+ |
+
+
+
+ The question to generate an SQL query for. + |
+ + required + | +
Returns:
+Type | +Description | +
---|---|
+ str
+ |
+
+
+
+ str or None: The SQL query, or None if an error occurred. + |
+
get_accuracy_stats()
+
+vn.get_accuracy_stats()
+
Get the accuracy statistics from the Vanna.AI API.
+ +Returns:
+Type | +Description | +
---|---|
+ AccuracyStats
+ |
+
+
+
+ dict or None: The accuracy statistics, or None if an error occurred. + |
+
get_flagged_questions()
+
+questions = vn.get_flagged_questions()
+
Get a list of flagged questions from the Vanna.AI API.
+ +Returns:
+Type | +Description | +
---|---|
+ QuestionList
+ |
+
+
+
+ List[FullQuestionDocument] or None: The list of flagged questions, or None if an error occurred. + |
+
get_plotly_figure(plotly_code, df, dark_mode=True)
+
+fig = vn.get_plotly_figure(
+ plotly_code="fig = px.bar(df, x='name', y='salary')",
+ df=df
+)
+fig.show()
+
Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
df |
+
+ pd.DataFrame
+ |
+
+
+
+ The dataframe to use. + |
+ + required + | +
plotly_code |
+
+ str
+ |
+
+
+
+ The Plotly code to use. + |
+ + required + | +
Returns:
+Type | +Description | +
---|---|
+ plotly.graph_objs.Figure
+ |
+
+
+
+ plotly.graph_objs.Figure: The Plotly figure. + |
+
get_results(cs, default_database, sql)
+
+df = vn.get_results(cs=cs, default_database="PUBLIC", sql="SELECT * FROM students")
+
Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
cs |
+ + | +
+
+
+ Snowflake connection cursor. + |
+ + required + | +
default_database |
+
+ str
+ |
+
+
+
+ The default database to use. + |
+ + required + | +
sql |
+
+ str
+ |
+
+
+
+ The SQL query to execute. + |
+ + required + | +
Returns:
+Type | +Description | +
---|---|
+ pd.DataFrame
+ |
+
+
+
+ pd.DataFrame: The results of the SQL query. + |
+
list_orgs()
+
+orgs = vn.list_orgs()
+
List the organizations that the user is a member of.
+ +Returns:
+Type | +Description | +
---|---|
+ List[str]
+ |
+
+
+
+ List[str]: A list of organization names. + |
+
login(email, otp_code=None)
+
+vn.login(email="username@example.com")
+
Login to the Vanna.AI API.
+ +Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
email |
+
+ str
+ |
+
+
+
+ The email address to login with. + |
+ + required + | +
otp_code |
+
+ Union[str, None]
+ |
+
+
+
+ The OTP code to login with. If None, an OTP code will be sent to the email address. + |
+
+ None
+ |
+
Returns:
+Name | Type | +Description | +
---|---|---|
bool |
+ bool
+ |
+
+
+
+ True if the login was successful, False otherwise. + |
+
remove_sql(question)
+
+vn.remove_sql(question="What is the average salary of employees?")
+
Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
question |
+
+ str
+ |
+
+
+
+ The question to remove. + |
+ + required + | +
set_org(org)
+
+vn.set_org("my-org")
+
Set the organization name for the Vanna.AI API.
+ +Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
org |
+
+ str
+ |
+
+
+
+ The organization name. + |
+ + required + | +
store_sql(question, sql)
+
+vn.store_sql(
+ question="What is the average salary of employees?",
+ sql="SELECT AVG(salary) FROM employees"
+)
+
Store a question and its corresponding SQL query in the Vanna.AI database.
+ +Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
question |
+
+ str
+ |
+
+
+
+ The question to store. + |
+ + required + | +
sql |
+
+ str
+ |
+
+
+
+ The SQL query to store. + |
+ + required + | +
Vanna.AI is a platform that allows you to ask questions about your data in plain English. It is an AI-powered data analyst that can answer questions about your data, generate SQL, and create visualizations.
\n\n\n\nflowchart TD\n DB[(Known Correct Question-SQL)]\n Try[Try to Use DDL/Documentation]\n SQL(SQL)\n Check{Is the SQL correct?}\n Generate[fa:fa-circle-question Use Examples to Generate]\n DB --> Find\n Question[fa:fa-circle-question Question] --> Find{fa:fa-magnifying-glass Do we have similar questions?}\n Find -- Yes --> Generate\n Find -- No --> Try\n Generate --> SQL\n Try --> SQL\n SQL --> Check\n Check -- Yes --> DB\n Check -- No --> Analyst[fa:fa-glasses Analyst Writes the SQL]\n Analyst -- Adds --> DB\n
import vanna as vn\n
\nvn.api_key = 'vanna-key-...'\n
\nvn.set_org('my_org')\n
\nvn.store_sql(\n question="Who are the top 10 customers by Sales?", \n sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"\n)\n
\nmy_question = 'What are the top 10 ABC by XYZ?'\n\nsql = vn.generate_sql(question=my_question, error_msg=None)\n# SELECT * FROM table_name WHERE column_name = 'value'\n
\nimport vanna as vn\n\nvn.api_key = 'vanna-key-...' # Set your API key\nvn.set_org('') # Set your organization name\n\n# Train Vanna.AI on your data\nvn.store_sql(\n question="Who are the top 10 customers by Sales?", \n sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"\n)\n\n# Ask questions about your data\nmy_question = 'What are the top 10 ABC by XYZ?'\n\n# Generate SQL\nsql = vn.generate_sql(question=my_question, error_msg=None) \n\n# Connect to your database\nconn = snowflake.connector.connect(\n user='my_user',\n password='my_password',\n account='my_account',\n database='my_database',\n )\n\ncs = conn.cursor()\n\n# Get results\ndf = vn.get_results(\n cs=cs, \n default_db=my_default_db, \n sql=sql\n )\n\n# Generate Plotly code\nplotly_code = vn.generate_plotly_code(\n question=my_question, \n sql=sql, \n df=df\n )\n\n# Get Plotly figure\nfig = vn.get_plotly_figure(\n plotly_code=plotly_code, \n df=df\n )\n
\nSet the organization name for the Vanna.AI API.
\n\nStore a question and its corresponding SQL query in the Vanna.AI database.
\n\nFlag a question and its corresponding SQL query for review by the Vanna.AI team.
\n\n\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": "bool: True if the question and SQL query were flagged successfully, False otherwise.
\n
Remove a question and its corresponding SQL query from the Vanna.AI database.
\n\nGenerate an SQL query using the Vanna.AI API.
\n\n\n\n", "signature": "(question: str) -> str:", "funcdef": "def"}, "vanna.generate_plotly_code": {"fullname": "vanna.generate_plotly_code", "modulename": "vanna", "qualname": "generate_plotly_code", "kind": "function", "doc": "str or None: The SQL query, or None if an error occurred.
\n
Generate Plotly code using the Vanna.AI API.
\n\n\n\n", "signature": "(\tquestion: Optional[str],\tsql: Optional[str],\tdf: pandas.core.frame.DataFrame) -> str:", "funcdef": "def"}, "vanna.get_plotly_figure": {"fullname": "vanna.get_plotly_figure", "modulename": "vanna", "qualname": "get_plotly_figure", "kind": "function", "doc": "str or None: The Plotly code, or None if an error occurred.
\n
Get a Plotly figure from a dataframe and Plotly code.
\n\n\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": "plotly.graph_objs.Figure: The Plotly figure.
\n
Run the SQL query and return the results as a pandas dataframe.
\n\n\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": "pd.DataFrame: The results of the SQL query.
\n
vn.generate_explanation(sql="SELECT * FROM students WHERE name = 'John Doe'")\n# 'AI Response'\n
\nGenerate an explanation of an SQL query using the Vanna.AI API.
\n\n\n\n", "signature": "(sql: str) -> str:", "funcdef": "def"}, "vanna.generate_question": {"fullname": "vanna.generate_question", "modulename": "vanna", "qualname": "generate_question", "kind": "function", "doc": "str or None: The explanation, or None if an error occurred.
\n
vn.generate_question(sql="SELECT * FROM students WHERE name = 'John Doe'")\n# 'AI Response'\n
\nGenerate a question from an SQL query using the Vanna.AI API.
\n\n\n\n", "signature": "(sql: str) -> str:", "funcdef": "def"}, "vanna.get_flagged_questions": {"fullname": "vanna.get_flagged_questions", "modulename": "vanna", "qualname": "get_flagged_questions", "kind": "function", "doc": "str or None: The question, or None if an error occurred.
\n
vn.get_flagged_questions()\n# [FullQuestionDocument(...), ...]\n
\nGet a list of flagged questions from the Vanna.AI API.
\n\n\n\n", "signature": "() -> vanna.types.QuestionList:", "funcdef": "def"}, "vanna.get_accuracy_stats": {"fullname": "vanna.get_accuracy_stats", "modulename": "vanna", "qualname": "get_accuracy_stats", "kind": "function", "doc": "List[FullQuestionDocument] or None: The list of flagged questions, or None if an error occurred.
\n
vn.get_accuracy_stats()\n# {'accuracy': 0.0, 'total': 0, 'correct': 0}\n
\nGet the accuracy statistics from the Vanna.AI API.
\n\n\n\n", "signature": "() -> vanna.types.AccuracyStats:", "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)"}, "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.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.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.ASSUMED_CORRECT": {"fullname": "vanna.types.QuestionCategory.ASSUMED_CORRECT", "modulename": "vanna.types", "qualname": "QuestionCategory.ASSUMED_CORRECT", "kind": "variable", "doc": "\n", "default_value": "'Assumed Correct'"}, "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"}}, "docInfo": {"vanna": {"qualname": 0, "fullname": 1, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 1004}, "vanna.api_key": {"qualname": 2, "fullname": 3, "annotation": 2, "default_value": 1, "signature": 0, "bases": 0, "doc": 3}, "vanna.set_org": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 30}, "vanna.store_sql": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 29, "bases": 0, "doc": 48}, "vanna.flag_sql_for_review": {"qualname": 4, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 69, "bases": 0, "doc": 87}, "vanna.remove_sql": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 35}, "vanna.generate_sql": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 57}, "vanna.generate_plotly_code": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 69, "bases": 0, "doc": 87}, "vanna.get_plotly_figure": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 83, "bases": 0, "doc": 64}, "vanna.get_results": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 50, "bases": 0, "doc": 76}, "vanna.generate_explanation": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 116}, "vanna.generate_question": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 116}, "vanna.get_flagged_questions": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 20, "bases": 0, "doc": 70}, "vanna.get_accuracy_stats": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 20, "bases": 0, "doc": 81}, "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": 24, "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.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.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.ASSUMED_CORRECT": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 6, "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}}, "length": 109, "save": true}, "index": {"qualname": {"root": {"docs": {"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.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}}, "df": 19, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"vanna.api_key": {"tf": 1}}, "df": 1}, "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}}}}}}}, "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": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1, "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}}}}}}}}}}}}, "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}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}}, "df": 1}}}}}}, "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.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": 5}}}, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"vanna.set_org": {"tf": 1}}, "df": 1}}, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.store_sql": {"tf": 1}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1}, "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}}}}}, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_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.SQLAnswer.sql": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}}, "df": 9, "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}}}}}}}}, "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.success": {"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}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "g": {"docs": {"vanna.set_org": {"tf": 1}}, "df": 1, "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}}}}}}}}}}}}, "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.get_flagged_questions": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 2}}}}}}, "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.types.Followup": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1.4142135623730951}}, "df": 3}}}}}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"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}}}}}}}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "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}}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"vanna.remove_sql": {"tf": 1}}, "df": 1}}}}, "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}}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "w": {"docs": {"vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}}, "df": 2}}}, "g": {"docs": {}, "df": 0, "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.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 4, "d": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1}}}}}}}, "t": {"docs": {"vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 4}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "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.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}}, "df": 4, "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}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "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}}}}}}, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.postfix": {"tf": 1}}, "df": 1}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 3}}, "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}, "vanna.types.Connection": {"tf": 1}}, "df": 2}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}}, "df": 1, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "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}}}}}}}}}}}}}}}, "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}}}}}}}}, "e": {"docs": {}, "df": 0, "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.generate_explanation": {"tf": 1}, "vanna.types.Explanation": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1.4142135623730951}}, "df": 4}}}}}}}}}}, "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.embedding": {"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}}}}}, "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.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": 9, "s": {"docs": {"vanna.get_flagged_questions": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}}, "df": 3, "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}}, "df": 4}}}}}}}, "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.ASSUMED_CORRECT": {"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}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"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.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}}, "df": 19}}}, "d": {"docs": {"vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}}, "df": 2}, "s": {"docs": {"vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}}, "df": 2}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.Status.message": {"tf": 1}}, "df": 1}}}}}, "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}}}}}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}}, "df": 2, "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}}}}}}}}}, "d": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.TableDefinition.ddl": {"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}}}}}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.Organization.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}}, "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}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.Organization.user": {"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}}}}}}}, "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}}}}}}}, "a": {"docs": {}, "df": 0, "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}}}}}}}}}}}}}}, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.ColumnDefinition.type": {"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}}}}}}}}}, "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.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.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}}, "df": 19, "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.set_org": {"tf": 1}, "vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"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_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"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.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.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.ASSUMED_CORRECT": {"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}}, "df": 109}}}}}, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"vanna.api_key": {"tf": 1}}, "df": 1}, "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}}}}}}}, "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": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1, "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}}}}}}}}}}}}, "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}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}}, "df": 1}}}}}}, "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.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": 5}}}, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"vanna.set_org": {"tf": 1}}, "df": 1}}, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.store_sql": {"tf": 1}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1}, "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}}}}}, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_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.SQLAnswer.sql": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}}, "df": 9, "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}}}}}}}}, "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.success": {"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}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "g": {"docs": {"vanna.set_org": {"tf": 1}}, "df": 1, "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}}}}}}}}}}}}, "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.get_flagged_questions": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 2}}}}}}, "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.types.Followup": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1.4142135623730951}}, "df": 3}}}}}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"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}}}}}}}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "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}}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"vanna.remove_sql": {"tf": 1}}, "df": 1}}}}, "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}}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "w": {"docs": {"vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}}, "df": 2}}}, "g": {"docs": {}, "df": 0, "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.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 4, "d": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1}}}}}}}, "t": {"docs": {"vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 4}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "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.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}}, "df": 4, "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}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "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}}}}}}, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.postfix": {"tf": 1}}, "df": 1}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 3}}, "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}, "vanna.types.Connection": {"tf": 1}}, "df": 2}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}}, "df": 1, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "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}}}}}}}}}}}}}}}, "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}}}}}}}}, "e": {"docs": {}, "df": 0, "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.generate_explanation": {"tf": 1}, "vanna.types.Explanation": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1.4142135623730951}}, "df": 4}}}}}}}}}}, "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.embedding": {"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}}}}}, "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.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": 9, "s": {"docs": {"vanna.get_flagged_questions": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}}, "df": 3, "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}}, "df": 4}}}}}}}, "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.ASSUMED_CORRECT": {"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}}}}}, "t": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.ColumnDefinition.type": {"tf": 1}}, "df": 1, "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.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.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.ASSUMED_CORRECT": {"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}}, "df": 95}}}}, "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}}}}}}}, "a": {"docs": {}, "df": 0, "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}}}}}}}}}}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"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.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}}, "df": 19}}}, "d": {"docs": {"vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}}, "df": 2}, "s": {"docs": {"vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}}, "df": 2}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.Status.message": {"tf": 1}}, "df": 1}}}}}, "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}}}}}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}}, "df": 2, "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}}}}}}}}}, "d": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.TableDefinition.ddl": {"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}}}}}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.Organization.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}}, "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}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.Organization.user": {"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}}}}}}}, "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}}}}}}}}}, "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.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.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1.4142135623730951}, "vanna.types.Organization.connection": {"tf": 1.4142135623730951}, "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}}, "df": 48, "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}}, "df": 1}}}}}}}}}}}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.Status.success": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}}, "df": 3}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"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.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}}, "df": 30}}, "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}}}}}}}}}, "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}}}}}, "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}}}}}}}}}}, "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}}}}}}}}}}}}}}}, "f": {"docs": {}, "df": 0, "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}}}}}}}}}}}}}}}}}}}}, "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}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"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.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}}}}}}}}, "p": {"docs": {}, "df": 0, "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, "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}}}}}}}}}}}}}}}}, "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.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.ASSUMED_CORRECT": {"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}}, "df": 8, "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}}, "df": 1}}}}, "x": {"2": {"7": {"docs": {"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.ASSUMED_CORRECT": {"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}}, "df": 8}, "docs": {}, "df": 0}, "docs": {}, "df": 0}, "s": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 2}}}, "g": {"docs": {}, "df": 0, "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}}}}}}}}}, "u": {"docs": {}, "df": 0, "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}}}}}}}, "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}}, "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, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}}, "df": 1}}}}}}, "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}}}}}}}}, "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.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}}, "df": 1}}}}}}}, "f": {"docs": {}, "df": 0, "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}}}}}, "signature": {"root": {"docs": {"vanna.set_org": {"tf": 4}, "vanna.store_sql": {"tf": 4.898979485566356}, "vanna.flag_sql_for_review": {"tf": 7.54983443527075}, "vanna.remove_sql": {"tf": 4}, "vanna.generate_sql": {"tf": 4}, "vanna.generate_plotly_code": {"tf": 7.54983443527075}, "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_flagged_questions": {"tf": 4.123105625617661}, "vanna.get_accuracy_stats": {"tf": 4.123105625617661}, "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": 4.47213595499958}, "vanna.types.Organization.__init__": {"tf": 7}, "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}}, "df": 31, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "g": {"docs": {"vanna.set_org": {"tf": 1}}, "df": 1}}, "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.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}}, "df": 2}}}}}}}, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.set_org": {"tf": 1}, "vanna.store_sql": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.7320508075688772}, "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.types.Status.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1.4142135623730951}, "vanna.types.Organization.__init__": {"tf": 1.4142135623730951}, "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}}, "df": 26}}, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna.store_sql": {"tf": 1}, "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.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}}, "df": 9, "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}}}}}}}}, "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}}}}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {"vanna.set_org": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "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": 6}}}, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1.4142135623730951}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}}, "df": 4}}}, "u": {"docs": {}, "df": 0, "m": {"docs": {"vanna.types.AccuracyStats.__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.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.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": 11, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_flagged_questions": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {"vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}}, "df": 2}, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "l": {"docs": {"vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1.4142135623730951}}, "df": 6}}}}, "e": {"docs": {}, "df": 0, "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}}}}, "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.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "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}}}}}}}}}}}, "m": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "g": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.Status.__init__": {"tf": 1}}, "df": 1}}}}}, "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}}}}}}, "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.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "d": {"docs": {}, "df": 0, "f": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}}, "df": 2}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}}, "df": 2, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 3}}}}}, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_results": {"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.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "k": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}, "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.types.AccuracyStats.__init__": {"tf": 1}}, "df": 1}}}, "d": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.TableDefinition.__init__": {"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.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 3}}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}}, "df": 3, "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, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.__init__": {"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.__init__": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {}, "df": 0, "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}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 3}, "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}}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}}, "df": 3}}, "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.__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}}}}}}}}}}}}}}}, "s": {"docs": {"vanna.get_results": {"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}}}}}}}}, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 3}}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1.4142135623730951}}, "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.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}, "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}}}}}}, "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.types.QuestionEmbedding.__init__": {"tf": 1}}, "df": 1}}}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.ColumnDefinition.__init__": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"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}}, "df": 8}}}}, "a": {"docs": {}, "df": 0, "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}}}}}}}}}}}}}}}, "g": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "h": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"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}}, "df": 8}}}}}, "a": {"docs": {}, "df": 0, "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.get_accuracy_stats": {"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.__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}}}}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 4}}}}, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}}, "df": 2}, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.AccuracyStats.__init__": {"tf": 1.4142135623730951}, "vanna.types.DataResult.__init__": {"tf": 1}}, "df": 2}}, "s": {"docs": {"vanna.types.ColumnDefinition.__init__": {"tf": 1.4142135623730951}}, "df": 1}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.Organization.__init__": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "w": {"docs": {"vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}}, "df": 2}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.ColumnDefinition.__init__": {"tf": 2}}, "df": 1}}}}}, "bases": {"root": {"docs": {}, "df": 0}}, "doc": {"root": {"0": {"docs": {"vanna.get_accuracy_stats": {"tf": 2}}, "df": 1}, "1": {"0": {"docs": {"vanna": {"tf": 2.449489742783178}}, "df": 1}, "docs": {}, "df": 0}, "3": {"9": {"docs": {"vanna": {"tf": 4.69041575982343}, "vanna.generate_explanation": {"tf": 2}, "vanna.generate_question": {"tf": 2}, "vanna.get_accuracy_stats": {"tf": 2.449489742783178}}, "df": 4}, "docs": {}, "df": 0}, "docs": {"vanna": {"tf": 23.811761799581316}, "vanna.api_key": {"tf": 1.7320508075688772}, "vanna.set_org": {"tf": 3.872983346207417}, "vanna.store_sql": {"tf": 4.58257569495584}, "vanna.flag_sql_for_review": {"tf": 6}, "vanna.remove_sql": {"tf": 3.872983346207417}, "vanna.generate_sql": {"tf": 4.898979485566356}, "vanna.generate_plotly_code": {"tf": 6}, "vanna.get_plotly_figure": {"tf": 5.477225575051661}, "vanna.get_results": {"tf": 5.916079783099616}, "vanna.generate_explanation": {"tf": 7.810249675906654}, "vanna.generate_question": {"tf": 7.810249675906654}, "vanna.get_flagged_questions": {"tf": 6.164414002968976}, "vanna.get_accuracy_stats": {"tf": 6.4031242374328485}, "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.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.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.ASSUMED_CORRECT": {"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}}, "df": 109, "w": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1}}, "o": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 3}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "k": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "i": {"docs": {"vanna": {"tf": 2.449489742783178}}, "df": 1, "s": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1}, "n": {"docs": {"vanna": {"tf": 1}, "vanna.store_sql": {"tf": 1}}, "df": 2}, "t": {"docs": {"vanna": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}}, "df": 3}}, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 2}}, "df": 1}}}}}, "f": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 7}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 3.605551275463989}, "vanna.set_org": {"tf": 1}, "vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 11}}}, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"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": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "n": {"docs": {"vanna": {"tf": 3.605551275463989}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 5}}, "a": {"docs": {"vanna": {"tf": 1}, "vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_flagged_questions": {"tf": 1}}, "df": 8, "i": {"docs": {"vanna": {"tf": 3.1622776601683795}, "vanna.set_org": {"tf": 1}, "vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 11}, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "s": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1}}, "df": 2, "k": {"docs": {"vanna": {"tf": 2}}, "df": 1}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 2.23606797749979}}, "df": 1}}}, "c": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}, "n": {"docs": {"vanna": {"tf": 1}, "vanna.generate_sql": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 2}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 7, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1, "[": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, ":": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}}}, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "d": {"docs": {"vanna": {"tf": 1}, "vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.remove_sql": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 6}}, "p": {"docs": {}, "df": 0, "i": {"docs": {"vanna": {"tf": 2.449489742783178}, "vanna.set_org": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 8}}, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 2}}, "df": 1}, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.set_org": {"tf": 1}, "vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"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}}, "df": 10}}}}}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}}, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {"vanna.get_accuracy_stats": {"tf": 2}}, "df": 1}}}}}}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 2.6457513110645907}, "vanna.generate_plotly_code": {"tf": 2.23606797749979}, "vanna.get_plotly_figure": {"tf": 2.449489742783178}}, "df": 3}}}}}, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "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": {"tf": 1.4142135623730951}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}, "d": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 3}}, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}, "e": {"docs": {"vanna": {"tf": 2.8284271247461903}, "vanna.set_org": {"tf": 1.7320508075688772}, "vanna.store_sql": {"tf": 1.7320508075688772}, "vanna.flag_sql_for_review": {"tf": 2.23606797749979}, "vanna.remove_sql": {"tf": 1.4142135623730951}, "vanna.generate_sql": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 2.23606797749979}, "vanna.get_plotly_figure": {"tf": 1.7320508075688772}, "vanna.get_results": {"tf": 2.449489742783178}, "vanna.generate_explanation": {"tf": 1.7320508075688772}, "vanna.generate_question": {"tf": 1.7320508075688772}, "vanna.get_flagged_questions": {"tf": 1.4142135623730951}, "vanna.get_accuracy_stats": {"tf": 1.7320508075688772}}, "df": 13}}, "o": {"docs": {"vanna": {"tf": 2}, "vanna.store_sql": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 10, "p": {"docs": {"vanna": {"tf": 2}}, "df": 1}, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1}}}, "y": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1, "[": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "u": {"docs": {}, "df": 0, "e": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}, "d": {"docs": {"vanna": {"tf": 1}}, "df": 1}, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}, "y": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {"vanna": {"tf": 1}}, "df": 1, "r": {"docs": {"vanna": {"tf": 3.3166247903554}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "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": {"tf": 3.7416573867739413}, "vanna.store_sql": {"tf": 1.7320508075688772}, "vanna.flag_sql_for_review": {"tf": 2}, "vanna.remove_sql": {"tf": 1.7320508075688772}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 2}}, "df": 7, "s": {"docs": {"vanna": {"tf": 2.449489742783178}, "vanna.get_flagged_questions": {"tf": 1.7320508075688772}}, "df": 2}, "[": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, ":": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.store_sql": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_results": {"tf": 1.7320508075688772}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}}, "df": 8}}}, "o": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 2.8284271247461903}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}}, "df": 3}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 3}}, "df": 1, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.store_sql": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.get_results": {"tf": 1.4142135623730951}}, "df": 4}}}}, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.get_plotly_figure": {"tf": 1.7320508075688772}, "vanna.get_results": {"tf": 1.4142135623730951}}, "df": 3}}}}}}}}, "o": {"docs": {"vanna": {"tf": 2.6457513110645907}}, "df": 1, "e": {"docs": {"vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 2, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}, "b": {"docs": {"vanna": {"tf": 2.449489742783178}}, "df": 1}, "d": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "/": {"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": {}, "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}}}}}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "c": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1.4142135623730951}}, "df": 2}}}}}}, "f": {"docs": {"vanna": {"tf": 2.23606797749979}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}}, "df": 3}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1}}}}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "h": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "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.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 5, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_results": {"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.generate_explanation": {"tf": 2}}, "df": 1}}}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 8}}}}}, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"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}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 2}}, "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.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}}, "df": 3}}}}}}}}}}}, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "n": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 2.23606797749979}, "vanna.generate_plotly_code": {"tf": 2.23606797749979}, "vanna.get_plotly_figure": {"tf": 1.7320508075688772}}, "df": 3}}}, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "k": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1, "{": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}, "i": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "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": {"vanna": {"tf": 1.4142135623730951}}, "df": 1, "s": {"docs": {"vanna": {"tf": 2}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 2}}}}}, "s": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.get_results": {"tf": 1}}, "df": 2}}, "g": {"docs": {}, "df": 0, "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": {"tf": 3}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 2}, "vanna.generate_explanation": {"tf": 1.7320508075688772}, "vanna.generate_question": {"tf": 1.7320508075688772}}, "df": 5, "[": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, ":": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "t": {"docs": {"vanna": {"tf": 2}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1.4142135623730951}, "vanna.get_accuracy_stats": {"tf": 1.4142135623730951}}, "df": 4, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {"vanna": {"tf": 3.1622776601683795}}, "df": 1}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "h": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}}}, "s": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna": {"tf": 4.69041575982343}, "vanna.store_sql": {"tf": 1.7320508075688772}, "vanna.flag_sql_for_review": {"tf": 2}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 2}, "vanna.generate_explanation": {"tf": 2}, "vanna.generate_question": {"tf": 2}}, "df": 9}}, "e": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 2.8284271247461903}, "vanna.set_org": {"tf": 1}}, "df": 2}, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"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": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_accuracy_stats": {"tf": 1.4142135623730951}}, "df": 1}}}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.store_sql": {"tf": 1.7320508075688772}}, "df": 2}}}, "r": {"docs": {"vanna.set_org": {"tf": 1}, "vanna.store_sql": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}}, "df": 10}, "u": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 2}}}}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 2.449489742783178}}, "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}, "vanna.get_results": {"tf": 1}}, "df": 2}}}}}}}}, "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.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {"vanna": {"tf": 2.6457513110645907}}, "df": 1}}, "a": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1}}, "df": 3, "r": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 4}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_flagged_questions": {"tf": 1.4142135623730951}}, "df": 1, "[": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "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.get_flagged_questions": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}}}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 2.6457513110645907}}, "df": 1}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_flagged_questions": {"tf": 1.4142135623730951}, "vanna.get_accuracy_stats": {"tf": 1.4142135623730951}}, "df": 6, "g": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.set_org": {"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": {"tf": 1.7320508075688772}, "vanna.set_org": {"tf": 1.4142135623730951}}, "df": 2}}}}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}}, "n": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1}, "t": {"docs": {}, "df": 0, "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.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}}}}}, "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.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 6}}}}}}}, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}, "f": {"docs": {"vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1.4142135623730951}}, "df": 3}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 2.6457513110645907}, "vanna.set_org": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 4}}}, "o": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1, "n": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_flagged_questions": {"tf": 1.4142135623730951}, "vanna.get_accuracy_stats": {"tf": 1.4142135623730951}}, "df": 7}}}}, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}, "a": {"docs": {}, "df": 0, "g": {"docs": {"vanna.flag_sql_for_review": {"tf": 2}}, "df": 1, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1.7320508075688772}}, "df": 2}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1, "{": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, ":": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}, "g": {"docs": {"vanna": {"tf": 1}}, "df": 1, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.get_plotly_figure": {"tf": 1.7320508075688772}}, "df": 2}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 7}}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {"vanna": {"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": {}, "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.get_flagged_questions": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.set_org": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 6}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}, "y": {"docs": {"vanna": {"tf": 3.872983346207417}}, "df": 1}, "s": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1}}, "df": 2}}, "e": {"docs": {}, "df": 0, "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}}}}}}}, "b": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 2.449489742783178}, "vanna.flag_sql_for_review": {"tf": 1}}, "df": 2}, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "l": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}, "x": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "z": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "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": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1.4142135623730951}}, "df": 2}}}}, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 2}}}}}}, "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}}}}}}}, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "w": {"docs": {"vanna.flag_sql_for_review": {"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.flag_sql_for_review": {"tf": 1}, "vanna.generate_sql": {"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_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 9}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"vanna.remove_sql": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}, "j": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "n": {"docs": {"vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 2}}}}}}}, "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/search/search_index.json b/search/search_index.json new file mode 100644 index 000000000..eacb5bade --- /dev/null +++ b/search/search_index.json @@ -0,0 +1 @@ +{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"What is Vanna.AI?","text":""},{"location":"#what-is-vannaai","title":"What is Vanna.AI?","text":"dict or None: The accuracy statistics, or None if an error occurred.
\n
Vanna.AI is a platform that allows you to ask questions about your data in plain English. It is an AI-powered data analyst that can answer questions about your data, generate SQL, and create visualizations.
Each organization has its own isolated training set. This means that Vanna.AI can understand the unique language of your organization and answer questions about your data.
After every question you can tell Vanna.AI whether the results were correct. This allows Vanna.AI to learn from the questions that are asked and become smarter immediately.
Vanna provides additional functionality to manage your training data to maintain the highest level of accuracy for your organization.
"},{"location":"#what-can-it-do","title":"What can it do?","text":"It can support apps that allow you to:
"},{"location":"#where-can-i-use-vannaai","title":"Where can I use Vanna.AI?","text":"/askvanna [question]
pip install vanna\n
"},{"location":"getting-started/#how-do-i-import-the-vannaai-library","title":"How do I import the Vanna.AI library?","text":"import vanna as vn\n
"},{"location":"getting-started/#how-do-i-set-my-api-key","title":"How do I set my API key?","text":"vn.api_key = 'vanna-key-...'\n
"},{"location":"getting-started/#how-do-i-set-my-organization-name","title":"How do I set my organization name?","text":"vn.set_org
vn.set_org('my_org')\n
"},{"location":"getting-started/#how-do-i-train-vannaai-on-my-data","title":"How do I train Vanna.AI on my data?","text":"vn.store_sql
vn.store_sql(\n question=\"Who are the top 10 customers by Sales?\", \n sql=\"SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10\"\n)\n
"},{"location":"getting-started/#how-do-i-ask-questions-about-my-data","title":"How do I ask questions about my data?","text":"vn.generate_sql
my_question = 'What are the top 10 ABC by XYZ?'\n\nsql = vn.generate_sql(question=my_question, error_msg=None)\n# SELECT * FROM table_name WHERE column_name = 'value'\n
"},{"location":"getting-started/#full-example","title":"Full Example","text":"import vanna as vn\n\nvn.api_key = 'vanna-key-...' # Set your API key\nvn.set_org('') # Set your organization name\n\n# Train Vanna.AI on your data\nvn.store_sql(\n question=\"Who are the top 10 customers by Sales?\", \n sql=\"SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10\"\n)\n\n# Ask questions about your data\nmy_question = 'What are the top 10 ABC by XYZ?'\n\n# Generate SQL\nsql = vn.generate_sql(question=my_question, error_msg=None) \n\n# Connect to your database\nconn = snowflake.connector.connect(\n user='my_user',\n password='my_password',\n account='my_account',\n database='my_database',\n )\n\ncs = conn.cursor()\n\n# Get results\ndf = vn.get_results(\n cs=cs, \n default_db=my_default_db, \n sql=sql\n )\n\n# Generate Plotly code\nplotly_code = vn.generate_plotly_code(\n question=my_question, \n sql=sql, \n df=df\n )\n\n# Get Plotly figure\nfig = vn.get_plotly_figure(\n plotly_code=plotly_code, \n df=df\n )\n
"},{"location":"jupyter/","title":"Using Vanna.AI in a Jupyter Notebook","text":"Vanna.AI can be used in a Jupyter Notebook to generate SQL from natural language questions.
"},{"location":"jupyter/#installation","title":"Installation","text":"%pip install vanna\n
"},{"location":"jupyter/#import","title":"Import","text":"import vanna as vn\n
"},{"location":"jupyter/#set-api-key","title":"Set API Key","text":"vn.api_key = 'vanna-key-...'\n
"},{"location":"jupyter/#set-organization-name","title":"Set Organization Name","text":"vn.set_org('my_org')\n
"},{"location":"jupyter/#train-vannaai-on-your-data","title":"Train Vanna.AI on your data","text":"vn.store_sql(\n question=\"Who are the top 10 customers by Sales?\", \n sql=\"SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10\"\n)\n
"},{"location":"jupyter/#ask-questions-about-your-data","title":"Ask questions about your data","text":"my_question = 'What are the top 10 ABC by XYZ?'\n\n# Generate SQL\nsql = vn.generate_sql(question=my_question, error_msg=None)\n# SELECT * FROM table_name WHERE column_name = 'value'\n
"},{"location":"jupyter/#run-sql","title":"Run SQL","text":"Run your SQL as you normally would.
"},{"location":"onboarding/","title":"Onboarding","text":""},{"location":"onboarding/#what-do-i-need-to-do-to-use-vannaai","title":"What do I need to do to use Vanna.AI?","text":"Vanna.AI uses a combination of documentation and historical question and SQL pairs to generate SQL from natural language.
"},{"location":"onboarding/#step-1-train-vannaai","title":"Step 1: Train Vanna.AI","text":"flowchart LR\n Generate[vn.generate_question]\n Question[Question]\n Verify{Is the question correct?}\n SQL --> Generate\n Generate --> Question\n Question --> Verify\n Verify -- Yes --> Store[vn.store_sql]\n Verify -- No --> Update[Update the Question]\n Update --> Store\n
flowchart LR\n Question[Question]\n Generate[vn.generate_sql]\n SQL[SQL]\n Question --> Generate\n Generate --> SQL
"},{"location":"pricing/","title":"Pricing","text":"Free Tier Paid Tier Price Free $500/month Documentation Storage 100 chunks 10,000 chunks Question Storage 1,000 questions 10,000 questions Multi-User No Yes Support Discord Email, Slack, Phone"},{"location":"reference/","title":"Vanna Package Full Reference","text":""},{"location":"reference/#vanna--what-is-vannaai","title":"What is Vanna.AI?","text":"Vanna.AI is a platform that allows you to ask questions about your data in plain English. It is an AI-powered data analyst that can answer questions about your data, generate SQL, and create visualizations.
"},{"location":"reference/#vanna--api-reference","title":"API Reference","text":""},{"location":"reference/#vanna.flag_sql_for_review","title":"flag_sql_for_review(question, sql=None, error_msg=None)
","text":""},{"location":"reference/#vanna.flag_sql_for_review--example","title":"Example","text":"vn.flag_sql_for_review(question=\"What is the average salary of employees?\")\n
Flag a question and its corresponding SQL query for review. You can later retrieve the flagged questions using get_flagged_questions()
. Parameters:
Name Type Description Defaultquestion
str
The question to flag.
requiredsql
str
The SQL query to flag.
None
error_msg
str
The error message to flag.
None
Returns:
Name Type Descriptionbool
bool
True if the question and SQL query were flagged successfully, False otherwise.
"},{"location":"reference/#vanna.generate_explanation","title":"generate_explanation(sql)
","text":""},{"location":"reference/#vanna.generate_explanation--example","title":"Example","text":"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
Generate an explanation of an SQL query using the Vanna.AI API.
Parameters:
Name Type Description Defaultsql
str
The SQL query to generate an explanation for.
requiredReturns:
Type Descriptionstr
str or None: The explanation, or None if an error occurred.
"},{"location":"reference/#vanna.generate_plotly_code","title":"generate_plotly_code(question, sql, df)
","text":""},{"location":"reference/#vanna.generate_plotly_code--example","title":"Example","text":"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
Generate Plotly code using the Vanna.AI API. Parameters:
Name Type Description Defaultquestion
str
The question to generate Plotly code for.
requiredsql
str
The SQL query to generate Plotly code for.
requireddf
pd.DataFrame
The dataframe to generate Plotly code for.
requiredReturns:
Type Descriptionstr
str or None: The Plotly code, or None if an error occurred.
"},{"location":"reference/#vanna.generate_question","title":"generate_question(sql)
","text":""},{"location":"reference/#vanna.generate_question--example","title":"Example","text":"vn.generate_question(sql=\"SELECT * FROM students WHERE name = 'John Doe'\")\n# 'What is the name of the student?'\n
Generate a question from an SQL query using the Vanna.AI API.
Parameters:
Name Type Description Defaultsql
str
The SQL query to generate a question for.
requiredReturns:
Type Descriptionstr
str or None: The question, or None if an error occurred.
"},{"location":"reference/#vanna.generate_sql","title":"generate_sql(question)
","text":""},{"location":"reference/#vanna.generate_sql--example","title":"Example","text":"vn.generate_sql(question=\"What is the average salary of employees?\")\n# SELECT AVG(salary) FROM employees\n
Generate an SQL query using the Vanna.AI API.
Parameters:
Name Type Description Defaultquestion
str
The question to generate an SQL query for.
requiredReturns:
Type Descriptionstr
str or None: The SQL query, or None if an error occurred.
"},{"location":"reference/#vanna.get_accuracy_stats","title":"get_accuracy_stats()
","text":""},{"location":"reference/#vanna.get_accuracy_stats--example","title":"Example","text":"vn.get_accuracy_stats()\n
Get the accuracy statistics from the Vanna.AI API.
Returns:
Type DescriptionAccuracyStats
dict or None: The accuracy statistics, or None if an error occurred.
"},{"location":"reference/#vanna.get_flagged_questions","title":"get_flagged_questions()
","text":""},{"location":"reference/#vanna.get_flagged_questions--example","title":"Example","text":"questions = vn.get_flagged_questions()\n
Get a list of flagged questions from the Vanna.AI API.
Returns:
Type DescriptionQuestionList
List[FullQuestionDocument] or None: The list of flagged questions, or None if an error occurred.
"},{"location":"reference/#vanna.get_plotly_figure","title":"get_plotly_figure(plotly_code, df, dark_mode=True)
","text":""},{"location":"reference/#vanna.get_plotly_figure--example","title":"Example","text":"fig = vn.get_plotly_figure(\n plotly_code=\"fig = px.bar(df, x='name', y='salary')\",\n df=df\n)\nfig.show()\n
Get a Plotly figure from a dataframe and Plotly code. Parameters:
Name Type Description Defaultdf
pd.DataFrame
The dataframe to use.
requiredplotly_code
str
The Plotly code to use.
requiredReturns:
Type Descriptionplotly.graph_objs.Figure
plotly.graph_objs.Figure: The Plotly figure.
"},{"location":"reference/#vanna.get_results","title":"get_results(cs, default_database, sql)
","text":""},{"location":"reference/#vanna.get_results--example","title":"Example","text":"df = vn.get_results(cs=cs, default_database=\"PUBLIC\", sql=\"SELECT * FROM students\")\n
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. Parameters:
Name Type Description Defaultcs
Snowflake connection cursor.
requireddefault_database
str
The default database to use.
requiredsql
str
The SQL query to execute.
requiredReturns:
Type Descriptionpd.DataFrame
pd.DataFrame: The results of the SQL query.
"},{"location":"reference/#vanna.list_orgs","title":"list_orgs()
","text":""},{"location":"reference/#vanna.list_orgs--example","title":"Example","text":"orgs = vn.list_orgs()\n
List the organizations that the user is a member of.
Returns:
Type DescriptionList[str]
List[str]: A list of organization names.
"},{"location":"reference/#vanna.login","title":"login(email, otp_code=None)
","text":""},{"location":"reference/#vanna.login--example","title":"Example","text":"vn.login(email=\"username@example.com\")\n
Login to the Vanna.AI API.
Parameters:
Name Type Description Defaultemail
str
The email address to login with.
requiredotp_code
Union[str, None]
The OTP code to login with. If None, an OTP code will be sent to the email address.
None
Returns:
Name Type Descriptionbool
bool
True if the login was successful, False otherwise.
"},{"location":"reference/#vanna.remove_sql","title":"remove_sql(question)
","text":""},{"location":"reference/#vanna.remove_sql--example","title":"Example","text":"vn.remove_sql(question=\"What is the average salary of employees?\")\n
Remove a question and its corresponding SQL query from the Vanna.AI database. Parameters:
Name Type Description Defaultquestion
str
The question to remove.
required"},{"location":"reference/#vanna.set_org","title":"set_org(org)
","text":""},{"location":"reference/#vanna.set_org--example","title":"Example","text":"vn.set_org(\"my-org\")\n
Set the organization name for the Vanna.AI API.
Parameters:
Name Type Description Defaultorg
str
The organization name.
required"},{"location":"reference/#vanna.store_sql","title":"store_sql(question, sql)
","text":""},{"location":"reference/#vanna.store_sql--example","title":"Example","text":"vn.store_sql(\n question=\"What is the average salary of employees?\", \n sql=\"SELECT AVG(salary) FROM employees\"\n)\n
Store a question and its corresponding SQL query in the Vanna.AI database.
Parameters:
Name Type Description Defaultquestion
str
The question to store.
requiredsql
str
The SQL query to store.
required"},{"location":"slack/","title":"Vanna.AI Slack App","text":"Coming Soon
"},{"location":"streamlit/","title":"Use Vanna.AI with Streamlit","text":""},{"location":"streamlit/#app","title":"App","text":""},{"location":"streamlit/#code","title":"Code","text":"https://github.com/vanna-ai/vanna-streamlit
"},{"location":"support/","title":"Getting Support","text":"E-mail us at support@vanna.ai
Join our Slack
"},{"location":"vanna-py-overview/","title":"Vanna py overview","text":""},{"location":"vanna-py-overview/#vannaai","title":"Vanna.AI","text":""},{"location":"vanna-py-overview/#python-package","title":"Python Package","text":"For Natural Language to SQL (and associated functionality)
Full Documentation Reference
Slack
support@vanna.ai
"},{"location":"vanna-py-overview/#what-can-you-do-with-vannaai","title":"What can you do with Vanna.AI?","text":"Vanna.AI has a Python package that allows you to convert natural language to SQL.
import vanna as vn\n\nvn.api_key = 'vanna-key-...' # Set your API key\nvn.set_org('') # Set your organization name\n\nmy_question = 'What are the top 10 ABC by XYZ?'\n\nsql = vn.generate_sql(question=my_question, error_msg=None) \n# SELECT * FROM table_name WHERE column_name = 'value'\n\n(my_df, error_msg) = vn.run_sql(cs: snowflake.Cursor, sql=sql)\n\nvn.generate_plotly_code(question=my_question, df=my_df)\n# fig = px.bar(df, x='column_name', y='column_name')\n\nvn.run_plotly_code(plotly_code=fig, df=my_df)\n
"},{"location":"vanna-py-overview/#installation","title":"Installation","text":""},{"location":"vanna-py-overview/#global-installation","title":"Global Installation","text":"pip install vanna\n
or pip3 install vanna\n
"},{"location":"vanna-py-overview/#use-a-virtual-environment","title":"Use a Virtual Environment","text":"python3 -m venv venv\nsource venv/bin/activate\npip install vanna\n
"},{"location":"workflow/","title":"What's the Workflow?","text":"flowchart TD\n DB[(Known Correct Question-SQL)]\n Try[Try to Use DDL/Documentation]\n SQL(SQL)\n Check{Is the SQL correct?}\n Generate[fa:fa-circle-question Use Examples to Generate]\n DB --> Find\n Question[fa:fa-circle-question Question] --> Find{fa:fa-magnifying-glass Do we have similar questions?}\n Find -- Yes --> Generate\n Find -- No --> Try\n Generate --> SQL\n Try --> SQL\n SQL --> Check\n Check -- Yes --> DB\n Check -- No --> Analyst[fa:fa-glasses Analyst Writes the SQL]\n Analyst -- Adds --> DB
"}]}
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
new file mode 100644
index 000000000..0f8724efd
--- /dev/null
+++ b/sitemap.xml
@@ -0,0 +1,3 @@
+
+Coming Soon
+ + + + + + ++
+E-mail us at support@vanna.ai
+ + + + + + + +For Natural Language to SQL +(and associated functionality)
+ + +support@vanna.ai
+Vanna.AI has a Python package that allows you to convert natural language to SQL.
+import vanna as vn
+
+vn.api_key = 'vanna-key-...' # Set your API key
+vn.set_org('') # Set your organization name
+
+my_question = 'What are the top 10 ABC by XYZ?'
+
+sql = vn.generate_sql(question=my_question, error_msg=None)
+# SELECT * FROM table_name WHERE column_name = 'value'
+
+(my_df, error_msg) = vn.run_sql(cs: snowflake.Cursor, sql=sql)
+
+vn.generate_plotly_code(question=my_question, df=my_df)
+# fig = px.bar(df, x='column_name', y='column_name')
+
+vn.run_plotly_code(plotly_code=fig, df=my_df)
+
pip install vanna
+
pip3 install vanna
+
python3 -m venv venv
+source venv/bin/activate
+pip install vanna
+
Vanna.AI is a platform that allows you to ask questions about your data in plain English. It is an AI-powered data analyst that can answer questions about your data, generate SQL, and create visualizations.
+ ++ +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 +
import vanna as vn
+
+vn.api_key = 'vanna-key-...'
+
+vn.set_org('my_org')
+
+vn.store_sql(
+ question="Who are the top 10 customers by Sales?",
+ sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"
+)
+
+my_question = 'What are the top 10 ABC by XYZ?'
+
+sql = vn.generate_sql(question=my_question, error_msg=None)
+# SELECT * FROM table_name WHERE column_name = 'value'
+
+import vanna as vn
+
+vn.api_key = 'vanna-key-...' # Set your API key
+vn.set_org('') # Set your organization name
+
+# Train Vanna.AI on your data
+vn.store_sql(
+ question="Who are the top 10 customers by Sales?",
+ sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"
+)
+
+# Ask questions about your data
+my_question = 'What are the top 10 ABC by XYZ?'
+
+# Generate SQL
+sql = vn.generate_sql(question=my_question, error_msg=None)
+
+# Connect to your database
+conn = snowflake.connector.connect(
+ user='my_user',
+ password='my_password',
+ account='my_account',
+ database='my_database',
+ )
+
+cs = conn.cursor()
+
+# Get results
+df = vn.get_results(
+ cs=cs,
+ default_db=my_default_db,
+ sql=sql
+ )
+
+# Generate Plotly code
+plotly_code = vn.generate_plotly_code(
+ question=my_question,
+ sql=sql,
+ df=df
+ )
+
+# Get Plotly figure
+fig = vn.get_plotly_figure(
+ plotly_code=plotly_code,
+ df=df
+ )
+
+Set the organization name for the Vanna.AI API.
+ +Store a question and its corresponding SQL query in the Vanna.AI database.
+ +Flag a question and its corresponding SQL query for review by the Vanna.AI team.
+ +++bool: True if the question and SQL query were flagged successfully, False otherwise.
+
Remove a question and its corresponding SQL query from the Vanna.AI database.
+ +Generate an SQL query using the Vanna.AI API.
+ +++str or None: The SQL query, or None if an error occurred.
+
Generate Plotly code using the Vanna.AI API.
+ +++str or None: The Plotly code, or None if an error occurred.
+
Get a Plotly figure from a dataframe and Plotly code.
+ +++plotly.graph_objs.Figure: The Plotly figure.
+
Run the SQL query and return the results as a pandas dataframe.
+ +++pd.DataFrame: The results of the SQL query.
+
vn.generate_explanation(sql="SELECT * FROM students WHERE name = 'John Doe'")
+# 'AI Response'
+
+Generate an explanation of an SQL query using the Vanna.AI API.
+ +++str or None: The explanation, or None if an error occurred.
+
vn.generate_question(sql="SELECT * FROM students WHERE name = 'John Doe'")
+# 'AI Response'
+
+Generate a question from an SQL query using the Vanna.AI API.
+ +++str or None: The question, or None if an error occurred.
+
vn.get_flagged_questions()
+# [FullQuestionDocument(...), ...]
+
+Get a list of flagged questions from the Vanna.AI API.
+ +++List[FullQuestionDocument] or None: The list of flagged questions, or None if an error occurred.
+
vn.get_accuracy_stats()
+# {'accuracy': 0.0, 'total': 0, 'correct': 0}
+
+Get the accuracy statistics from the Vanna.AI API.
+ +++dict or None: The accuracy statistics, or None if an error occurred.
+
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
+
+
+
+
+
+
+