schema-search 0.1.7__py3-none-any.whl → 0.1.8__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.
Potentially problematic release.
This version of schema-search might be problematic. Click here for more details.
- {schema_search-0.1.7.dist-info → schema_search-0.1.8.dist-info}/METADATA +7 -2
- {schema_search-0.1.7.dist-info → schema_search-0.1.8.dist-info}/RECORD +6 -6
- {schema_search-0.1.7.dist-info → schema_search-0.1.8.dist-info}/WHEEL +0 -0
- {schema_search-0.1.7.dist-info → schema_search-0.1.8.dist-info}/entry_points.txt +0 -0
- {schema_search-0.1.7.dist-info → schema_search-0.1.8.dist-info}/licenses/LICENSE +0 -0
- {schema_search-0.1.7.dist-info → schema_search-0.1.8.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: schema-search
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.8
|
|
4
4
|
Summary: Natural language database schema search with graph-aware semantic retrieval
|
|
5
5
|
Home-page: https://adibhasan.com/blog/schema-search/
|
|
6
6
|
Author: Adib Hasan
|
|
@@ -189,7 +189,12 @@ from sqlalchemy import create_engine
|
|
|
189
189
|
from schema_search import SchemaSearch
|
|
190
190
|
|
|
191
191
|
engine = create_engine("postgresql://user:pass@localhost/db")
|
|
192
|
-
search = SchemaSearch(
|
|
192
|
+
search = SchemaSearch(
|
|
193
|
+
engine=engine,
|
|
194
|
+
config_path="optional/path/to/config.yml", # default: config.yml
|
|
195
|
+
llm_api_key="optional llm api key",
|
|
196
|
+
llm_base_url="optional llm base url"
|
|
197
|
+
)
|
|
193
198
|
|
|
194
199
|
search.index(force=False) # default is False
|
|
195
200
|
results = search.search("where are user refunds stored?")
|
|
@@ -26,13 +26,13 @@ schema_search/search/factory.py,sha256=wgcx-xnZ8c7uSvu6oP3Fpoabd2Gl8FyJxn7zu3zZY
|
|
|
26
26
|
schema_search/search/fuzzy.py,sha256=Urn2GtJ5h6j0R3HsRkrMfQCLSTU8jtGaHdfYXL_Nb3A,1865
|
|
27
27
|
schema_search/search/hybrid.py,sha256=T1O46SLCPgpCOnTw2bznnCWmqP9EUkUBLqu5AeQu7oQ,2864
|
|
28
28
|
schema_search/search/semantic.py,sha256=brw7x2hZMCep6QK7WWMT451RnpVcSMuNIZtp51kC6Bo,1673
|
|
29
|
-
schema_search-0.1.
|
|
29
|
+
schema_search-0.1.8.dist-info/licenses/LICENSE,sha256=jOHFAJEjJCD7iBjS2dBe73X5IGDJdAWGosGOUxfCHTM,1067
|
|
30
30
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
31
|
tests/test_integration.py,sha256=8Iiq9NAwAxMoZcnfR19oOcBEGTyIOmt6nSafG6LWpj0,11959
|
|
32
32
|
tests/test_llm_sql_generation.py,sha256=bj6iwTqXfNEvlrSXnbPxbrgEM2nscbrmYHbT-rNBJZ4,11834
|
|
33
33
|
tests/test_spider_eval.py,sha256=xQwrNXpipaDxk-vIKqSy0nOIl-3Nadtof58nZpsAsZA,15333
|
|
34
|
-
schema_search-0.1.
|
|
35
|
-
schema_search-0.1.
|
|
36
|
-
schema_search-0.1.
|
|
37
|
-
schema_search-0.1.
|
|
38
|
-
schema_search-0.1.
|
|
34
|
+
schema_search-0.1.8.dist-info/METADATA,sha256=RoR680IsT6V-LHMffqYrKrHgbdnYag37D3RAqPS7mio,9674
|
|
35
|
+
schema_search-0.1.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
36
|
+
schema_search-0.1.8.dist-info/entry_points.txt,sha256=9FAtZWOuIlmRNBPX_v7bn8x_aUcfojAKWU6ruSo48GM,64
|
|
37
|
+
schema_search-0.1.8.dist-info/top_level.txt,sha256=NZTdQFHoJMezNIhtZICGPOuXlCXQkQduQV925Oqf4sk,20
|
|
38
|
+
schema_search-0.1.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|