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

(EAI-868 & EAI-869): HuggingFace uploader & upload the docs dataset to HuggingFace #616

Merged
merged 7 commits into from
Feb 19, 2025

Conversation

mongodben
Copy link
Collaborator

Jira:

Changes

  • Create uploadDatasetToHuggingFace() to upload datasets to HuggingFace
  • Create executable to upload the docs dataset to huggingface
  • Refactor repo to not be a JS module. Needed to do this to make test suite run. Also puts it in the same format as the rest of the packages in the monorepo.

Notes

Comment on lines 1 to 6
export const OPENAI_ENV_VARS = {
OPENAI_API_KEY: "",
OPENAI_ENDPOINT: "",
OPENAI_CHAT_COMPLETION_DEPLOYMENT: "",
OPENAI_API_VERSION: "",
};
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not a big deal - any reason to use this over importing CORE_OPENAI_CONNECTION_ENV_VARS and/or CORE_OPENAI_CHAT_COMPLETION_ENV_VARS (we can probably remove OPENAI_CHAT_COMPLETION_MODEL_VERSION from this)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

i think it was for specificity? not sure. this prob vestigate of hacking around. will clean up to use CORE_OPENAI_CONNECTION_ENV_VARS unless there's a clear reason that comes up not to do this.

Copy link
Collaborator

@nlarew nlarew left a comment

Choose a reason for hiding this comment

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

LGTM - a few nits but nothing blocking

@mongodben mongodben merged commit c8fabe3 into main Feb 19, 2025
1 check passed
@mongodben mongodben deleted the EAI-869 branch February 19, 2025 15:26
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