vanna 0.4.3__py3-none-any.whl → 0.5.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vanna/base/base.py +150 -41
- vanna/flask/__init__.py +50 -9
- vanna/flask/assets.py +16 -16
- vanna/hf/__init__.py +1 -0
- vanna/hf/hf.py +79 -0
- vanna/ollama/ollama.py +94 -69
- vanna/opensearch/__init__.py +1 -0
- vanna/opensearch/opensearch_vector.py +289 -0
- vanna/qdrant/qdrant.py +2 -4
- vanna/vllm/__init__.py +1 -0
- vanna/vllm/vllm.py +76 -0
- {vanna-0.4.3.dist-info → vanna-0.5.1.dist-info}/METADATA +20 -3
- {vanna-0.4.3.dist-info → vanna-0.5.1.dist-info}/RECORD +14 -8
- {vanna-0.4.3.dist-info → vanna-0.5.1.dist-info}/WHEEL +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vanna
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: Generate SQL queries from natural language
|
|
5
5
|
Author-email: Zain Hoda <zain@vanna.ai>
|
|
6
6
|
Requires-Python: >=3.9
|
|
@@ -15,6 +15,7 @@ Requires-Dist: pandas
|
|
|
15
15
|
Requires-Dist: sqlparse
|
|
16
16
|
Requires-Dist: kaleido
|
|
17
17
|
Requires-Dist: flask
|
|
18
|
+
Requires-Dist: flask-sock
|
|
18
19
|
Requires-Dist: sqlalchemy
|
|
19
20
|
Requires-Dist: psycopg2-binary ; extra == "all"
|
|
20
21
|
Requires-Dist: db-dtypes ; extra == "all"
|
|
@@ -32,6 +33,11 @@ Requires-Dist: google-generativeai ; extra == "all"
|
|
|
32
33
|
Requires-Dist: google-cloud-aiplatform ; extra == "all"
|
|
33
34
|
Requires-Dist: qdrant-client ; extra == "all"
|
|
34
35
|
Requires-Dist: fastembed ; extra == "all"
|
|
36
|
+
Requires-Dist: ollama ; extra == "all"
|
|
37
|
+
Requires-Dist: httpx ; extra == "all"
|
|
38
|
+
Requires-Dist: opensearch-py ; extra == "all"
|
|
39
|
+
Requires-Dist: opensearch-dsl ; extra == "all"
|
|
40
|
+
Requires-Dist: transformers ; extra == "all"
|
|
35
41
|
Requires-Dist: anthropic ; extra == "anthropic"
|
|
36
42
|
Requires-Dist: google-cloud-bigquery ; extra == "bigquery"
|
|
37
43
|
Requires-Dist: chromadb ; extra == "chromadb"
|
|
@@ -39,15 +45,22 @@ Requires-Dist: duckdb ; extra == "duckdb"
|
|
|
39
45
|
Requires-Dist: google-generativeai ; extra == "gemini"
|
|
40
46
|
Requires-Dist: google-generativeai ; extra == "google"
|
|
41
47
|
Requires-Dist: google-cloud-aiplatform ; extra == "google"
|
|
48
|
+
Requires-Dist: transformers ; extra == "hf"
|
|
42
49
|
Requires-Dist: marqo ; extra == "marqo"
|
|
43
50
|
Requires-Dist: mistralai ; extra == "mistralai"
|
|
44
51
|
Requires-Dist: PyMySQL ; extra == "mysql"
|
|
52
|
+
Requires-Dist: ollama ; extra == "ollama"
|
|
53
|
+
Requires-Dist: httpx ; extra == "ollama"
|
|
45
54
|
Requires-Dist: openai ; extra == "openai"
|
|
55
|
+
Requires-Dist: opensearch-py ; extra == "opensearch"
|
|
56
|
+
Requires-Dist: opensearch-dsl ; extra == "opensearch"
|
|
46
57
|
Requires-Dist: psycopg2-binary ; extra == "postgres"
|
|
47
58
|
Requires-Dist: db-dtypes ; extra == "postgres"
|
|
48
59
|
Requires-Dist: qdrant-client ; extra == "qdrant"
|
|
60
|
+
Requires-Dist: fastembed ; extra == "qdrant"
|
|
49
61
|
Requires-Dist: snowflake-connector-python ; extra == "snowflake"
|
|
50
62
|
Requires-Dist: tox ; extra == "test"
|
|
63
|
+
Requires-Dist: vllm ; extra == "vllm"
|
|
51
64
|
Requires-Dist: zhipuai ; extra == "zhipuai"
|
|
52
65
|
Project-URL: Bug Tracker, https://github.com/vanna-ai/vanna/issues
|
|
53
66
|
Project-URL: Homepage, https://github.com/vanna-ai/vanna
|
|
@@ -58,14 +71,18 @@ Provides-Extra: chromadb
|
|
|
58
71
|
Provides-Extra: duckdb
|
|
59
72
|
Provides-Extra: gemini
|
|
60
73
|
Provides-Extra: google
|
|
74
|
+
Provides-Extra: hf
|
|
61
75
|
Provides-Extra: marqo
|
|
62
76
|
Provides-Extra: mistralai
|
|
63
77
|
Provides-Extra: mysql
|
|
78
|
+
Provides-Extra: ollama
|
|
64
79
|
Provides-Extra: openai
|
|
80
|
+
Provides-Extra: opensearch
|
|
65
81
|
Provides-Extra: postgres
|
|
66
82
|
Provides-Extra: qdrant
|
|
67
83
|
Provides-Extra: snowflake
|
|
68
84
|
Provides-Extra: test
|
|
85
|
+
Provides-Extra: vllm
|
|
69
86
|
Provides-Extra: zhipuai
|
|
70
87
|
|
|
71
88
|
|
|
@@ -95,7 +112,7 @@ Vanna works in two easy steps - train a RAG "model" on your data, and then ask q
|
|
|
95
112
|
|
|
96
113
|
If you don't know what RAG is, don't worry -- you don't need to know how this works under the hood to use it. You just need to know that you "train" a model, which stores some metadata and then use it to "ask" questions.
|
|
97
114
|
|
|
98
|
-
See the [base class](src/vanna/base/base.py) for more details on how this works under the hood.
|
|
115
|
+
See the [base class](https://github.com/vanna-ai/vanna/blob/main/src/vanna/base/base.py) for more details on how this works under the hood.
|
|
99
116
|
|
|
100
117
|
## User Interfaces
|
|
101
118
|
These are some of the user interfaces that we've built using Vanna. You can use these as-is or as a starting point for your own custom interface.
|
|
@@ -288,7 +305,7 @@ Fine-Tuning
|
|
|
288
305
|
- Expose to your end users via Slackbot, web app, Streamlit app, or a custom front end.
|
|
289
306
|
|
|
290
307
|
## Extending Vanna
|
|
291
|
-
Vanna is designed to connect to any database, LLM, and vector database. There's a [VannaBase](src/vanna/base/base.py) abstract base class that defines some basic functionality. The package provides implementations for use with OpenAI and ChromaDB. You can easily extend Vanna to use your own LLM or vector database. See the [documentation](https://vanna.ai/docs/) for more details.
|
|
308
|
+
Vanna is designed to connect to any database, LLM, and vector database. There's a [VannaBase](https://github.com/vanna-ai/vanna/blob/main/src/vanna/base/base.py) abstract base class that defines some basic functionality. The package provides implementations for use with OpenAI and ChromaDB. You can easily extend Vanna to use your own LLM or vector database. See the [documentation](https://vanna.ai/docs/) for more details.
|
|
292
309
|
|
|
293
310
|
## Vanna in 100 Seconds
|
|
294
311
|
|
|
@@ -8,29 +8,35 @@ vanna/ZhipuAI/__init__.py,sha256=NlsijtcZp5Tj9jkOe9fNcOQND_QsGgu7otODsCLBPr0,116
|
|
|
8
8
|
vanna/anthropic/__init__.py,sha256=85s_2mAyyPxc0T_0JEvYeAkEKWJwkwqoyUwSC5dw9Gk,43
|
|
9
9
|
vanna/anthropic/anthropic_chat.py,sha256=Wk0o-NMW1uvR2fhSWxrR_2FqNh-dLprNG4uuVqpqAkY,2615
|
|
10
10
|
vanna/base/__init__.py,sha256=Sl-HM1RRYzAZoSqmL1CZQmF3ZF-byYTCFQP3JZ2A5MU,28
|
|
11
|
-
vanna/base/base.py,sha256=
|
|
11
|
+
vanna/base/base.py,sha256=IPtPPA1uUI_yblvFRo5wnxVk2_LvWg4I067yIMVjbPE,62126
|
|
12
12
|
vanna/chromadb/__init__.py,sha256=-iL0nW_g4uM8nWKMuWnNePfN4nb9uk8P3WzGvezOqRg,50
|
|
13
13
|
vanna/chromadb/chromadb_vector.py,sha256=eKyPck99Y6Jt-BNWojvxLG-zvAERzLSm-3zY-bKXvaA,8792
|
|
14
14
|
vanna/exceptions/__init__.py,sha256=dJ65xxxZh1lqBeg6nz6Tq_r34jLVmjvBvPO9Q6hFaQ8,685
|
|
15
|
-
vanna/flask/__init__.py,sha256=
|
|
16
|
-
vanna/flask/assets.py,sha256=
|
|
15
|
+
vanna/flask/__init__.py,sha256=2t9DbgL2-Anm05ESmZ1WAYMd1VSkOUsTf_-exVCebwQ,25192
|
|
16
|
+
vanna/flask/assets.py,sha256=7wMnTS-UPZkNL8SSTrd4U0amuMgeOIIj94WGzBQW1fw,187711
|
|
17
17
|
vanna/flask/auth.py,sha256=UpKxh7W5cd43W0LGch0VqhncKwB78L6dtOQkl1JY5T0,1246
|
|
18
18
|
vanna/google/__init__.py,sha256=M-dCxCZcKL4bTQyMLj6r6VRs65YNX9Tl2aoPCuqGm-8,41
|
|
19
19
|
vanna/google/gemini_chat.py,sha256=ps3A-afFbCo3HeFTLL_nMoQO1PsGvRUUPRUppbMcDew,1584
|
|
20
|
+
vanna/hf/__init__.py,sha256=vD0bIhfLkA1UsvVSF4MAz3Da8aQunkQo3wlDztmMuj0,19
|
|
21
|
+
vanna/hf/hf.py,sha256=v1v6sZnbj5xcrjgmvLP_ytS9NM7E5d0GyMfXXtr6BMU,2703
|
|
20
22
|
vanna/marqo/__init__.py,sha256=GaAWtJ0B-H5rTY607iLCCrLD7T0zMYM5qWIomEB9gLk,37
|
|
21
23
|
vanna/marqo/marqo.py,sha256=W7WTtzWp4RJjZVy6OaXHqncUBIPdI4Q7qH7BRCxZ1_A,5242
|
|
22
24
|
vanna/mistral/__init__.py,sha256=70rTY-69Z2ehkkMj84dNMCukPo6AWdflBGvIB_pztS0,29
|
|
23
25
|
vanna/mistral/mistral.py,sha256=DAEqAT9SzC91rfMM_S3SuzBZ34MrKHw9qAj6EP2MGVk,1508
|
|
24
26
|
vanna/ollama/__init__.py,sha256=4xyu8aHPdnEHg5a-QAMwr5o0ns5wevsp_zkI-ndMO2k,27
|
|
25
|
-
vanna/ollama/ollama.py,sha256=
|
|
27
|
+
vanna/ollama/ollama.py,sha256=Li8quIt8EHSwQGVarEiGHHM3e7NTwrVe_CGJg6yM3bQ,3790
|
|
26
28
|
vanna/openai/__init__.py,sha256=tGkeQ7wTIPsando7QhoSHehtoQVdYLwFbKNlSmCmNeQ,86
|
|
27
29
|
vanna/openai/openai_chat.py,sha256=lm-hUsQxu6Q1t06A2csC037zI4VkMk0wFbQ-_Lj74Wg,4764
|
|
28
30
|
vanna/openai/openai_embeddings.py,sha256=g4pNh9LVcYP9wOoO8ecaccDFWmCUYMInebfHucAa2Gc,1260
|
|
31
|
+
vanna/opensearch/__init__.py,sha256=0unDevWOTs7o8S79TOHUKF1mSiuQbBUVm-7k9jV5WW4,54
|
|
32
|
+
vanna/opensearch/opensearch_vector.py,sha256=T9KH9Lw2DsGzvXL2cbW6UKindoCqlOK___1prPY1RbY,9129
|
|
29
33
|
vanna/qdrant/__init__.py,sha256=PX_OsDOiPMvwCJ2iGER1drSdQ9AyM8iN5PEBhRb6qqY,73
|
|
30
|
-
vanna/qdrant/qdrant.py,sha256=
|
|
34
|
+
vanna/qdrant/qdrant.py,sha256=OejFoHB0z0KOvTY6cR_kaXkOChFgE_qjIef4d01PAsY,11883
|
|
31
35
|
vanna/types/__init__.py,sha256=Qhn_YscKtJh7mFPCyCDLa2K8a4ORLMGVnPpTbv9uB2U,4957
|
|
32
36
|
vanna/vannadb/__init__.py,sha256=C6UkYocmO6dmzfPKZaWojN0mI5YlZZ9VIbdcquBE58A,48
|
|
33
37
|
vanna/vannadb/vannadb_vector.py,sha256=9YwTO3Lh5owWQE7KPMBqLp2EkiGV0RC1sEYhslzJzgI,6168
|
|
34
|
-
vanna
|
|
35
|
-
vanna
|
|
36
|
-
vanna-0.
|
|
38
|
+
vanna/vllm/__init__.py,sha256=aNlUkF9tbURdeXAJ8ytuaaF1gYwcG3ny1MfNl_cwQYg,23
|
|
39
|
+
vanna/vllm/vllm.py,sha256=QerC3xF5eNzE_nGBDl6YrPYF4WYnjf0hHxxlDWdKX-0,2427
|
|
40
|
+
vanna-0.5.1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
41
|
+
vanna-0.5.1.dist-info/METADATA,sha256=AH1wwjCDLl9P4v9Oq7zWW6Dx13jtpRrRVQEqwQlDWtU,11248
|
|
42
|
+
vanna-0.5.1.dist-info/RECORD,,
|
|
File without changes
|