Skip to content

Commit d363c47

Browse files
authored
First minor point release based on demo feedback (#25)
* feat: sample patch update for CI/CD * test: framework w/ documentation example * docs: parameter sizes + performance evaluation * fix: directory location for GPT scheduled workflow * docs: project management system for inbound workflow * Further clarification for design sprint planning (#18) * feat: outline workflow for advisor tooling + benchmark library * docs: edit headings for next development iteration * Package management work for `Ollama` (#22) * feat: outline workflow for advisor tooling + benchmark library * docs: edit headings for next development iteration * feat: Ollama foundation for binary package reproducibility * feat: sample message content usage * feat: response time & print format for LLM output * fix: torch requirement, scheduled workflow, & bump project version * Demo of response pathway from JSON output (#24) * feat: outline workflow for advisor tooling + benchmark library * docs: edit headings for next development iteration * feat: Ollama foundation for binary package reproducibility * feat: sample message content usage * feat: response time & print format for LLM output * fix: torch requirement, scheduled workflow, & bump project version * docs: lab testing environment via Jupyter Notebook * refactor: environment variables, smart send behavior, & VSCode settings * feat: output JSON to data (response) directory * feat: sample system prompt through command-line LLM tooling * bump: project version
1 parent 99e5f56 commit d363c47

File tree

11 files changed

+1440
-69
lines changed

11 files changed

+1440
-69
lines changed

.env.sample

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
API_KEY=""
2+
TABLE_NAME=""
3+
DEFAULT_VIEW=""

.github/scheduled_workflow.yml renamed to .github/workflows/scheduled.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
schedule:
55
# Runs at 5:00 a.m. UTC every Monday (8:00 p.m. AKST Sunday)
66
- cron: '0 5 * * 1'
7-
# Runs at 4:00 a.m. UTC every Monday (8:00 p.m. AKDT Sunday)
8-
- cron: '0 4 * * 1'
97

108
jobs:
119
example_job:

.gitignore

Lines changed: 168 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,177 @@
1-
# If you prefer the allow list template instead of the deny list, see community template:
2-
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
3-
#
4-
# Binaries for programs and plugins
5-
*.exe
6-
*.exe~
7-
*.dll
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
87
*.so
9-
*.dylib
108

11-
# Test binary, built with `go test -c`
12-
*.test
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
share/python-wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.nox/
43+
.coverage
44+
.coverage.*
45+
.cache
46+
nosetests.xml
47+
coverage.xml
48+
*.cover
49+
*.py,cover
50+
.hypothesis/
51+
.pytest_cache/
52+
cover/
53+
54+
# Translations
55+
*.mo
56+
*.pot
57+
58+
# Django stuff:
59+
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
.pybuilder/
76+
target/
77+
78+
# Jupyter Notebook
79+
.ipynb_checkpoints
80+
81+
# IPython
82+
profile_default/
83+
ipython_config.py
84+
85+
# pyenv
86+
# For a library or package, you might want to ignore these files since the code is
87+
# intended to run in multiple environments; otherwise, check them in:
88+
# .python-version
1389

14-
# Output of the go coverage tool, specifically when used with LiteIDE
15-
*.out
90+
# pipenv
91+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
94+
# install all needed dependencies.
95+
#Pipfile.lock
1696

17-
# Dependency directories (remove the comment below to include it)
18-
# vendor/
97+
# UV
98+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99+
# This is especially recommended for binary packages to ensure reproducibility, and is more
100+
# commonly ignored for libraries.
101+
uv.lock
19102

20-
# Go workspace file
21-
go.work
22-
go.work.sum
103+
# poetry
104+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105+
# This is especially recommended for binary packages to ensure reproducibility, and is more
106+
# commonly ignored for libraries.
107+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108+
#poetry.lock
23109

24-
# env file
110+
# pdm
111+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112+
#pdm.lock
113+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114+
# in version control.
115+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
116+
.pdm.toml
117+
.pdm-python
118+
.pdm-build/
119+
120+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
121+
__pypackages__/
122+
123+
# Celery stuff
124+
celerybeat-schedule
125+
celerybeat.pid
126+
127+
# SageMath parsed files
128+
*.sage.py
129+
130+
# Environments
25131
.env
132+
.venv
133+
env/
134+
venv/
135+
ENV/
136+
env.bak/
137+
venv.bak/
26138

27-
data/
139+
# Spyder project settings
140+
.spyderproject
141+
.spyproject
28142

29-
__pycache__/
143+
# Rope project settings
144+
.ropeproject
145+
146+
# mkdocs documentation
147+
/site
148+
149+
# mypy
150+
.mypy_cache/
151+
.dmypy.json
152+
dmypy.json
153+
154+
# Pyre type checker
155+
.pyre/
156+
157+
# pytype static type analyzer
158+
.pytype/
159+
160+
# Cython debug symbols
161+
cython_debug/
162+
163+
# PyCharm
164+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166+
# and can be added to the global gitignore or merged into this file. For a more nuclear
167+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
168+
#.idea/
169+
170+
# Ruff stuff:
171+
.ruff_cache/
172+
173+
# PyPI configuration file
174+
.pypirc
175+
176+
# Output
177+
/data

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"python.REPL.enableREPLSmartSend": false
3+
}

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
BIN_NAME=nocodb-to-gpt-via-api
2-
BIN_VERSION=0.0.3
2+
BIN_VERSION=0.1.0
33
BIN_DATE=$(shell date +%FT%T%z)
44

55
# Advisor Tooling @ Alaska SBDC
66

77
eligibility:
88
uv run main.py
99

10-
publish:
11-
echo "This step will typically happen on an approx. ~3 month interval cadence."
12-
1310
subscribe:
1411
echo "End users, who are advisors, want information on a daily basis."
12+
13+
publish:
14+
echo "This step will typically happen on an approx. ~3 month interval cadence."
1515

1616
update:
1717
echo "[OPERATIONS] Batch process every week (via GitHub Actions)."
@@ -20,4 +20,4 @@ debug:
2020
ping aksbdc.org
2121

2222
test:
23-
pytest
23+
cat data/response.json | llm -s "Explain these data."

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
### Branch Management
1414

1515
- `main` → production ready environment.
16-
- `staging`testing changes to be merged into `main`.
16+
- `staging`released changes to be merged into `main`.
1717
- `dev` → testing changes to be merged into `staging`.
1818

1919
## [Architecture Diagram](https://github.com/aksbdc/nocodb-to-gpt-via-api/wiki)

library/lab.ipynb

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"## [nocodb-to-gpt-via-api] Project Updates\n",
8+
"#### Alaska Small Business Development Center (2025-03-04)"
9+
]
10+
},
11+
{
12+
"cell_type": "code",
13+
"execution_count": 2,
14+
"metadata": {},
15+
"outputs": [],
16+
"source": [
17+
"import antigravity"
18+
]
19+
}
20+
],
21+
"metadata": {
22+
"kernelspec": {
23+
"display_name": ".venv",
24+
"language": "python",
25+
"name": "python3"
26+
},
27+
"language_info": {
28+
"codemirror_mode": {
29+
"name": "ipython",
30+
"version": 3
31+
},
32+
"file_extension": ".py",
33+
"mimetype": "text/x-python",
34+
"name": "python",
35+
"nbconvert_exporter": "python",
36+
"pygments_lexer": "ipython3",
37+
"version": "3.11.11"
38+
}
39+
},
40+
"nbformat": 4,
41+
"nbformat_minor": 2
42+
}

0 commit comments

Comments
 (0)