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

Create a DataGemma UI #4913

Merged
merged 6 commits into from
Feb 6, 2025
Merged

Conversation

chejennifer
Copy link
Contributor

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.

image
image

Copy link
Contributor

@dwnoble dwnoble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drive-by review!

* limitations under the License.
*/

@import "base";
Copy link
Contributor

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

Copy link
Contributor Author

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
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added TODO

@@ -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.
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@chejennifer chejennifer requested a review from dwnoble February 5, 2025 19:54
@chejennifer
Copy link
Contributor Author

thanks for the review!

@chejennifer chejennifer merged commit 6b6b657 into datacommonsorg:master Feb 6, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants