-
Notifications
You must be signed in to change notification settings - Fork 58
[Module] OpenAI Module without notebook #916
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
base: master
Are you sure you want to change the base?
Conversation
danielperezz
left a comment
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.
Looks good, a few comments :)
| @@ -0,0 +1,17 @@ | |||
| apiVersion: v1 | |||
| categories: | |||
| - general | |||
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.
general is only the kind, not a category. Try looking for appropriate categories from the hub filter menu.
| @@ -0,0 +1,4 @@ | |||
| fastapi>=0.110,<1.0 | |||
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.
The requirements.txt file is used to configure dependencies for unit test. Since there is no unit test, this file is not needed.
The module’s dependencies are specified in the item.yaml, but based on the code, it seems the user doesn’t actually need to have them installed, is that correct? If so, there’s no need to specify them at all.
| categories: | ||
| - general | ||
| description: OpenAI application runtime based on fastapi | ||
| example: openai_example.ipynb |
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.
| example: openai_example.ipynb | |
| example: openai.ipynb |
| mlrunVersion: 1.10.0 | ||
| name: openai | ||
| spec: | ||
| filename: openai_app.py |
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.
| filename: openai_app.py | |
| filename: openai.py |
| @@ -0,0 +1,39 @@ | |||
|
|
|||
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.
Stay consistent with the name of the module, rename this file to openai.py
OpenAI Module without notebook