OpenAI nodes#196
Conversation
…o feat/openai-nodes
smahmed776
left a comment
There was a problem hiding this comment.
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_TEXTwhich needs audio file to test - must check itFeatures
DALLE_IMAGE_GENERATORnode takes a prompt and generates an image using OpenAI's DALL-E model.WHISPER_SPEECH_TO_TEXTnode uses OpenAI whisper transcription model to convert audio to text.JSON_EXTRACTORnode extract specific properties information from a text using JSON schema.DALL-E Node Example

Whisper Node

JSON Extraction Node
