-
Notifications
You must be signed in to change notification settings - Fork 7
OpenAI nodes #196
base: main
Are you sure you want to change the base?
OpenAI nodes #196
Conversation
…o feat/openai-nodes
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.
Please ensure that Pytest is successfully running on CI. It appears that upgrading to the latest version of Flojoy might resolve the issue. otherwise looks good!
Besides the update to the right version, I think the OpenAI tests will fail due to the need of having OpenAI API KEY to run these nodes. |
@vinicvaz def test_DALLE_IMAGE_GENERATOR(mock_flojoy_decorator):
api_key = os.getenv("OPENAI_API_KEY", None)
if api_key:
..... I assume that these tests will get ignored by default as |
Yeah, the tests are being ´skiped´, but not sure if this is the best behavior since we are just passing the test with SUCCESS state without actually running |
Hey @vinicvaz - Is this PR good to go once conflicts are resolved? |
Still have to fix the tests for json extractor. |
This PR needs the following PRs to work:
flojoy-ai/python#50
Description
Styleguide
Docs
Docs/openai nodes docs#143
Testing
Except
WHISPER_SPEECH_TO_TEXT
which needs audio file to test - must check itFeatures
DALLE_IMAGE_GENERATOR
node takes a prompt and generates an image using OpenAI's DALL-E model.WHISPER_SPEECH_TO_TEXT
node uses OpenAI whisper transcription model to convert audio to text.JSON_EXTRACTOR
node extract specific properties information from a text using JSON schema.DALL-E Node Example
Whisper Node
JSON Extraction Node