-
Notifications
You must be signed in to change notification settings - Fork 67
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
Conversation
packages/datasets/src/EnvVars.ts
Outdated
export const OPENAI_ENV_VARS = { | ||
OPENAI_API_KEY: "", | ||
OPENAI_ENDPOINT: "", | ||
OPENAI_CHAT_COMPLETION_DEPLOYMENT: "", | ||
OPENAI_API_VERSION: "", | ||
}; |
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.
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)
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.
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.
packages/datasets/src/bin/huggingFace/uploadContentDatasetToHuggingFace.ts
Outdated
Show resolved
Hide resolved
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.
LGTM - a few nits but nothing blocking
Jira:
Changes
uploadDatasetToHuggingFace()
to upload datasets to HuggingFaceNotes