Skip to content

Commit

Permalink
Merge pull request #150 from vanna-ai/add-flask-to-docs
Browse files Browse the repository at this point in the history
add the flask app to the notebooks
  • Loading branch information
zainhoda committed Jan 16, 2024
2 parents 33db008 + f166115 commit b892048
Show file tree
Hide file tree
Showing 103 changed files with 158 additions and 340 deletions.
Binary file added notebooks/Chinook.sqlite
Binary file not shown.
35 changes: 35 additions & 0 deletions notebooks/app.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!pip install vanna\n",
"import vanna\n",
"from vanna.remote import VannaDefault\n",
"vn = VannaDefault(model='chinook', api_key=vanna.get_api_key('my-email@example.com'))\n",
"vn.connect_to_sqlite('https://vanna.ai/Chinook.sqlite')\n",
"vn.ask(\"What are the top 10 albums by sales?\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from vanna.flask import VannaFlaskApp\n",
"VannaFlaskApp(vn).run()"
]
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
2 changes: 1 addition & 1 deletion notebooks/bigquery-mistral-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-mistral-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-mistral-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-mistral-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-openai-azure-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-openai-azure-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-openai-azure-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-openai-azure-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-openai-standard-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-openai-standard-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-openai-standard-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-openai-standard-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-openai-vanna-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-openai-vanna-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-openai-vanna-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-openai-vanna-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-other-llm-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-other-llm-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-other-llm-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/bigquery-other-llm-vannadb.ipynb

Large diffs are not rendered by default.

263 changes: 23 additions & 240 deletions notebooks/getting-started.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-mistral-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-mistral-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-mistral-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-mistral-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-openai-azure-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-openai-azure-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-openai-azure-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-openai-azure-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-openai-standard-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-openai-standard-marqo.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-openai-standard-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-openai-vanna-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-openai-vanna-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-openai-vanna-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-openai-vanna-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-other-llm-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-other-llm-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-other-llm-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/other-database-other-llm-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-mistral-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-mistral-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-mistral-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-mistral-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-openai-azure-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-openai-azure-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-openai-azure-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-openai-azure-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-openai-standard-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-openai-standard-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-openai-standard-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-openai-standard-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-openai-vanna-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-openai-vanna-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-openai-vanna-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-openai-vanna-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-other-llm-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-other-llm-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-other-llm-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/postgres-other-llm-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-mistral-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-mistral-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-mistral-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-mistral-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-openai-azure-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-openai-azure-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-openai-azure-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-openai-azure-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-openai-standard-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-openai-standard-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-openai-standard-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-openai-standard-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-openai-vanna-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-openai-vanna-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-openai-vanna-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-openai-vanna-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-other-llm-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-other-llm-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-other-llm-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/snowflake-other-llm-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-mistral-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-mistral-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-mistral-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-mistral-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-openai-azure-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-openai-azure-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-openai-azure-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-openai-azure-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-openai-standard-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-openai-standard-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-openai-standard-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-openai-standard-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-openai-vanna-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-openai-vanna-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-openai-vanna-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-openai-vanna-vannadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-other-llm-chromadb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-other-llm-marqo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-other-llm-other-vectordb.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/sqlite-other-llm-vannadb.ipynb

Large diffs are not rendered by default.

0 comments on commit b892048

Please sign in to comment.