Skip to content

Commit

Permalink
Minor cosmetics, dependency, and bookkeeping update
Browse files Browse the repository at this point in the history
  • Loading branch information
pramitchoudhary committed Dec 22, 2023
1 parent 76f360b commit 3c6c4e6
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 36 deletions.
4 changes: 2 additions & 2 deletions about.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
**App Goal:** Demo-ware web client for SQL-Sidekick
**App Goal:** Web client for SQL-Sidekick

**Target Audience:** Data (Machine Learning) Scientists, Citizen Data Scientists, Data Engineers Managers and Business Analysts

**Actively Being Maintained:** Yes (Demo release: _In active RnD_)

**Last Updated:** November, 2023
**Last Updated:** December, 2023

**Allows uploading and using new model and data:** Yes

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tool.poetry]
name = "sql-sidekick"
version = "0.1.8"
license = "Proprietary"
description = "An AI assistant for SQL"
license = "Apache-2.0 license"
description = "An AI assistant for SQL generation"
authors = [
"Pramit Choudhary <[email protected]>",
"Michal Malohlava <[email protected]>"
Expand All @@ -12,7 +12,7 @@ classifiers = [
"Development Status :: Alpha",
"Environment :: CLI",
"Intended Audience :: Developers, Analysts",
"License :: Other/Proprietary License",
"License :: Apache-2.0 license",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8+",
"Topic :: Scientific/Engineering",
Expand Down
58 changes: 32 additions & 26 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,51 +1,56 @@
accelerate==0.21.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
aiostream==0.5.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
aiohttp==3.9.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
aiosignal==1.3.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
ansicon==1.89.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0" and platform_system == "Windows"
anyio==3.7.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
anyio==4.2.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
async-timeout==4.0.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
attrs==23.1.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
beautifulsoup4==4.12.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
bitsandbytes==0.41.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
blessed==1.20.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
bs4==0.0.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
certifi==2023.7.22 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
certifi==2023.11.17 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
charset-normalizer==3.3.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
click==8.1.7 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
colorama==0.4.6 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
dataclasses-json==0.5.14 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
dataclasses-json==0.6.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
deprecated==1.2.14 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
distro==1.8.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
exceptiongroup==1.1.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
exceptiongroup==1.2.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
filelock==3.13.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
fsspec==2023.10.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
greenlet==3.0.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
frozenlist==1.4.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
fsspec==2023.12.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
greenlet==3.0.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
h11==0.14.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
h2o-wave==0.26.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
h2ogpte==1.0.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
httpcore==1.0.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
httpx==0.25.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
huggingface-hub==0.19.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
idna==3.4 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
inquirer==3.1.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
h2ogpte==1.2.6 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
httpcore==0.17.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
httpx==0.24.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
huggingface-hub==0.20.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
idna==3.6 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
inquirer==3.1.4 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
instructorembedding==1.0.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
jinja2==3.1.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
jinxed==1.2.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0" and platform_system == "Windows"
jinxed==1.2.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0" and platform_system == "Windows"
joblib==1.3.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
llama-index==0.9.0.post1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
llama-index==0.9.20 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
loguru==0.7.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
lxml==4.9.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
markupsafe==2.1.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
marshmallow==3.20.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
mpmath==1.3.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
multidict==6.0.4 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
mypy-extensions==1.0.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
nest-asyncio==1.5.8 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
networkx==3.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
nltk==3.8.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
numpy==1.24.4 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
openai==1.3.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
openai==1.6.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
packaging==23.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
pandas==1.5.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
pandasql==0.7.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
pillow==10.1.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
psutil==5.9.6 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
psutil==5.9.7 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
psycopg2-binary==2.9.9 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
pydantic==1.10.13 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
pydantic[dotenv]==1.10.13 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
Expand All @@ -57,12 +62,12 @@ pyyaml==6.0.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.
readchar==4.0.5 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
regex==2023.10.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
requests==2.31.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
safetensors==0.4.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
safetensors==0.4.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
scikit-learn==1.3.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
scipy==1.10.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
sentence-transformers==2.2.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
sentencepiece==0.1.99 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
setuptools==68.2.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
setuptools==69.0.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
six==1.16.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
sniffio==1.3.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
soupsieve==2.5 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
Expand All @@ -71,22 +76,23 @@ sqlalchemy==1.4.50 ; python_full_version >= "3.8.1" and python_full_version <= "
sqlalchemy[asyncio]==1.4.50 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
sqlglot==12.4.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
sqlparse==0.4.4 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
starlette==0.32.0.post1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
starlette==0.34.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
sympy==1.12 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
tenacity==8.2.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
threadpoolctl==3.2.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
tiktoken==0.5.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
tiktoken==0.5.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
tokenizers==0.15.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
toml==0.10.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
torch==2.0.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
torchvision==0.15.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
tqdm==4.66.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
transformers==4.35.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
typing-extensions==4.8.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
transformers==4.36.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
typing-extensions==4.9.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
typing-inspect==0.9.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
urllib3==1.26.18 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
uvicorn==0.24.0.post1 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
wcwidth==0.2.10 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
urllib3==2.1.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
uvicorn==0.25.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
wcwidth==0.2.12 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
websockets==11.0.3 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
win32-setctime==1.1.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0" and sys_platform == "win32"
wrapt==1.16.0 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
yarl==1.9.4 ; python_full_version >= "3.8.1" and python_full_version <= "3.10.0"
3 changes: 1 addition & 2 deletions sidekick/prompter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import gc
import importlib.metadata
import json
import os
from pathlib import Path
Expand All @@ -24,7 +23,7 @@
execute_query_pd, extract_table_names,
generate_suggestions, save_query, setup_dir)

__version__ = importlib.metadata.version('sql-sidekick')
__version__ = "0.1.8"

# Load the config file and initialize required paths
app_base_path = (Path(__file__).parent / "../").resolve()
Expand Down
6 changes: 3 additions & 3 deletions ui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,11 +515,11 @@ async def on_settings(q: Q):
box="vertical",
items=[
ui.textbox(name='textbox_remote_url', label='Recommendation Remote URL',
value='https://playground.h2ogpte.h2o.ai'),
value='https://playground.h2ogpte.h2o.ai', prefix='https://'),
ui.textbox(name='textbox_h2o_api_key', label='H2O API Key',
value=''),
value='', password=True),
ui.textbox(name='textbox_openai_api_key', label='OpenAI API Key',
value=''),
value='', password=True),
ui.button(name="submit_url_keys", label="Add", primary=True),
ui.message_bar(
name="error_add_bar",
Expand Down

0 comments on commit 3c6c4e6

Please sign in to comment.