Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #62 - looks training #65

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,31 @@ The Explore Assistant allows a user to generate a Looker Explore Query via natur

Additionally, the extension provides:

- Question History (*this is stored in the browser's localstorage*)
- Categorized Prompts (*these can be customized by the use cases of your organization*)
- Cached Explore URL's when clicking from History
- Structured Logging with Input & Output Token Counts (*enables a workflow of log sink to BQ for cost estimation & tracking*)
- Flexible Deployment Options
- Multi-turn
- Insight Summarization
- Question History (_this is stored in the browser's localstorage_)
- Categorized Prompts (_these can be customized by the use cases of your organization_)
- Cached Explore URL's when clicking from History
- Structured Logging with Input & Output Token Counts (_enables a workflow of log sink to BQ for cost estimation & tracking_)
- Flexible Deployment Options
- Multi-turn
- Insight Summarization

### Technologies Used

#### Frontend

- [React](https://reactjs.org/)
- [TypeScript](https://www.typescriptlang.org/)
- [Webpack](https://webpack.js.org/).
- [Styled components](https://www.styled-components.com/docs)

#### Looker

- [Looker Extension SDK](https://github.com/looker-open-source/sdk-codegen/tree/main/packages/extension-sdk-react)
- [Looker Embed SDK](https://cloud.google.com/looker/docs/embed-sdk)
- [Looker Components](https://cloud.google.com/looker/docs/components)

#### Backend API

- [Google Cloud Platform](https://cloud.google.com/)
- [Vertex AI](https://cloud.google.com/vertex-ai)
- [Cloud Functions](https://cloud.google.com/functions)
Expand All @@ -47,9 +51,10 @@ The local cloud function backend and example generation require some python pack

```bash
python3 -m venv .venv
source .venv/bin/activate
source .venv/bin/activate
pip3 install -r ./explore-assistant-examples/requirements.txt
pip3 install -r ./explore-assistant-cloud-function/requirements.txt
pip3 install -r ./explore-assistant-cloud-function/requirements.txt
pip3 install -r ./explore-assistant-training/looks-training/requirements.txt
```

## Recommendations for fine tuning the model
Expand Down
157 changes: 157 additions & 0 deletions explore-assistant-training/looks-training/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Credentials
looker.ini
looker_project.ini
gsheet.ini
oauth_credentials.json
token.json

data

# Environments
.env
.env.*
.venv
.venv.*
env/
venv/
ENV/
env.bak/
venv.bak/

# Distribution / packaging
.Python
env/
venv/
ENV/
env.bak/
venv.bak/
*.egg
*.egg-info/
dist/
build/
eggs/
parts/
var/
sdist/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py


# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# PyCharm
.idea/
.idea/*

# VS Code
.vscode/

# Local history for IntelliJ-based IDEs
.idea/.idea/

# Other IDE-specific files
*.sublime-project
*.sublime-workspace
*.code-workspace

# macOS
.DS_Store

# Windows
Thumbs.db
ehthumbs.db
*.stackdump

Loading