-
Notifications
You must be signed in to change notification settings - Fork 91
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
Create a DataGemma UI #4913
Create a DataGemma UI #4913
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drive-by review!
static/css/datagemma.scss
Outdated
* limitations under the License. | ||
*/ | ||
|
||
@import "base"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For new frontend code, can you look into using "emotion" instead of scss? Examples in the new homepage: https://github.com/datacommonsorg/website/blob/master/static/js/apps/homepage/components/home_hero.tsx#L48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -40,3 +40,4 @@ typing-extensions==4.10.0 | |||
webdriver-manager==4.0.0 | |||
Werkzeug==3.0.6 | |||
wheel==0.38.1 | |||
git+https://github.com/datacommonsorg/llm-tools.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should publish this to pypi down the road to avoid having to do the git dependency install
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added TODO
server/__init__.py
Outdated
@@ -45,6 +45,26 @@ | |||
DEFAULT_NL_ROOT = "http://127.0.0.1:6060" | |||
|
|||
|
|||
# Helper method to get an api key first from the environment, then from GCP secrets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: use docstrings for comments like go/pystyle#function-docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
thanks for the review! |
This creates a basic UI version of the DataGemma notebooks (rag, rig), so that it's easier to play with the two approaches. This is only for internal use and will only be enabled in the local environment and autopush.