Skip to content

Conversation

@guylei-code
Copy link
Contributor

OpenAI Module without notebook

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Refactor OpenAI proxy implementation to use base64 encoded script and update FastAPI app configuration.
# Conflicts:
#	modules/src/openai_proxy/openai.ipynb
Removed specific requirements for fastapi and requests.
Copy link
Member

@Eyal-Danieli Eyal-Danieli left a comment

Choose a reason for hiding this comment

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

nice, the first generic module :)
please check out my comments, and also add some doc for the module and the global params. It should be clear for external users - what the commands and code do, and more importantly, why we’re using them.
About the nb, I guess you’ll add a detailed one later but note that there is a redundant import pandas.

labels:
author: Iguazio
mlrunVersion: 1.10.0
name: openai_proxy_app
Copy link
Member

Choose a reason for hiding this comment

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

great, but also need to update the py and ipynb files names accordingly:

  • openai_proxy_app.py
  • openai_proxy_app.ipynb

@Eyal-Danieli Eyal-Danieli merged commit 2f33974 into development Nov 17, 2025
3 checks passed
Eyal-Danieli added a commit that referenced this pull request Nov 18, 2025
* replace author to Iguazio manually (#905)

* Organize CLI directory + new CLI for generating item.yaml files (#906)

* create a CLI for generating item.yaml and organize the CLI directory

* modify comments to module

* PR fixes

* Update cli/common/generate_item_yaml.py

Co-authored-by: Eyal Danieli <eyal_danieli@mckinsey.com>

---------

Co-authored-by: Eyal Danieli <eyal_danieli@mckinsey.com>

* fill count events notebook (#908)

* avoid noise reduction unit test (#909)

* Add histogram-data-drift monitoring application module (without example) (#911)

* histogram data drift module with empty example notebook

* post review fixes

* chore(readme): auto-update asset tables [skip ci]

* Fill histogram-data-drift example notebook (#912)

* fill data-drift nb

* post review fixes

* Add evidently demo app  monitoring application module (without example) (#913)

* sphinx build docs bug fix

* add evidently demo app module (empty example notebook)

* post review changes

* chore(readme): auto-update asset tables [skip ci]

* [Translate] Require torch>=2.6 for the translate function to work properly (#915)

* lock torch valid version

* edit the item.yaml and generated function.yaml

* update mlrun version

* [CLI] Generated READMEs are produced with broken links to the items (#918)

* fix

* test fix

* test fix

* test fix

* test fix

* final workflow

* chore(readme): auto-update asset tables [skip ci]

* OpenAI Module without notebook  (#917)

* First commit OpenAI Module

* First commit OpenAI Module

* Update example filename in item.yaml

* Delete modules/src/openai_proxy/requirements.txt

No need due to no unitest

* Update item.yaml for OpenAI application configuration

* Update modules/src/openai_proxy/openai.py

Co-authored-by: Daniel Perez <100069700+danielperezz@users.noreply.github.com>

* Change category name from 'GenAI' to 'genai'

* Update package requirements with version constraints

* Second commit adding notebook

* Refactor OpenAI proxy to use base64 encoded script

Refactor OpenAI proxy implementation to use base64 encoded script and update FastAPI app configuration.

* Change deployment method to OpenAIModule

* Third commit adding notebook

* Third commit adding notebook

* Remove package requirements from item.yaml

Removed specific requirements for fastapi and requests.

* Rename item and update kind in YAML

* Update openai.py

* Third commit adding notebook

* Fix after review

* Fix after review

---------

Co-authored-by: Daniel Perez <100069700+danielperezz@users.noreply.github.com>

* chore(readme): auto-update asset tables [skip ci]

* [Evidently] Fill example notebook (#919)

* add notebook + rename directory + correct evidently version

* remove extra cell

* chore(readme): auto-update asset tables [skip ci]

* chore(readme): auto-update asset tables [skip ci]

---------

Co-authored-by: Daniel Perez <100069700+danielperezz@users.noreply.github.com>
Co-authored-by: iguazio-cicd <iguaziocicd@gmail.com>
Co-authored-by: guylei-code <guyleibu@gmail.com>
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.

4 participants