Skip to content
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

[Components] Eden AI #7832

Closed
dannyroosevelt opened this issue Aug 30, 2023 · 7 comments · Fixed by #7965 or #8007
Closed

[Components] Eden AI #7832

dannyroosevelt opened this issue Aug 30, 2023 · 7 comments · Fixed by #7965 or #8007
Assignees
Labels
action New Action Request triaged For maintainers: This issue has been triaged by a Pipedream employee trigger / source New trigger / source request

Comments

@dannyroosevelt
Copy link
Collaborator

dannyroosevelt commented Aug 30, 2023

App

Eden AI
https://www.edenai.co/

Actions:

  1. Translate text
    https://docs.edenai.co/reference/translation_document_translation_create
  2. Detect AI content
    https://docs.edenai.co/reference/text_ai_detection_create
  3. Analyze sentiment in text
    https://docs.edenai.co/reference/text_sentiment_analysis_create
  4. Generate an image
    https://docs.edenai.co/reference/image_generation_create
@dannyroosevelt dannyroosevelt added action New Action Request triaged For maintainers: This issue has been triaged by a Pipedream employee trigger / source New trigger / source request labels Aug 30, 2023
@malexanderlim malexanderlim moved this from To Do to Prioritized in Component (Source and Action) Backlog Sep 1, 2023
@GTFalcao GTFalcao self-assigned this Sep 4, 2023
@GTFalcao GTFalcao moved this from Prioritized to Doing in Component (Source and Action) Backlog Sep 4, 2023
@GTFalcao GTFalcao moved this from Doing to Prioritized in Component (Source and Action) Backlog Sep 4, 2023
@GTFalcao GTFalcao moved this from Prioritized to Doing in Component (Source and Action) Backlog Sep 5, 2023
@gotta-be-dc
Copy link

Are we also getting an action to Generate a TTS file?

@GTFalcao GTFalcao moved this from Doing to Ready for PR review in Component (Source and Action) Backlog Sep 8, 2023
@GTFalcao
Copy link
Collaborator

GTFalcao commented Sep 8, 2023

@gotta-be-dc do you mean generating text from audio, or the other way around?

From their documentation it seems generating audio can be done synchronously, but generating text is async-only so it'd need one action to make the initial request, and subsequent action runs to later check on the status and obtain the results for that request.

@gotta-be-dc
Copy link

I was thinking of generating audio. Since that part can be single step. Needs a high timeout which should prob be a tool too in the UI tho

@luancazarine luancazarine moved this from Ready for PR review to Ready for release in Component (Source and Action) Backlog Sep 11, 2023
Component (Source and Action) Backlog automation moved this from Ready for release to Done Sep 11, 2023
GTFalcao added a commit that referenced this issue Sep 11, 2023
* package and pnpm lock

* pnpm lock

* AI-generated app file

* App file adjustments

* AI generated action #1

* Improvements on AI output

* pnpm

* Adding and updating props

* Adjustments to document translation action

* Prop definitions and adding optional props

* Detect AI Content + improvements

* Analyze sentiment in text + more propDefinitions

* Generate Image (AI)

* pnpm

* Description adjustments

* Generate Image finalizing

* Prop adjustments

* typos
@GTFalcao GTFalcao moved this from Done to Ready for QA in Component (Source and Action) Backlog Sep 11, 2023
@vunguyenhung vunguyenhung moved this from Ready for QA to In QA in Component (Source and Action) Backlog Sep 12, 2023
@vunguyenhung vunguyenhung moved this from In QA to Changes Required in Component (Source and Action) Backlog Sep 12, 2023
@vunguyenhung
Copy link
Collaborator

Hello everyone, I have tested this PR and there're some test cases failed or needed improvement.

Please check the test report below for more information
https://vunguyenhung.notion.site/Components-Eden-AI-7832-6d615ddf0d374ea19a62e2e65bd028b2

@GTFalcao GTFalcao moved this from Changes Required to Ready for QA in Component (Source and Action) Backlog Sep 12, 2023
MichaelNey pushed a commit to MichaelNey/pipedream that referenced this issue Sep 12, 2023
* package and pnpm lock

* pnpm lock

* AI-generated app file

* App file adjustments

* AI generated action PipedreamHQ#1

* Improvements on AI output

* pnpm

* Adding and updating props

* Adjustments to document translation action

* Prop definitions and adding optional props

* Detect AI Content + improvements

* Analyze sentiment in text + more propDefinitions

* Generate Image (AI)

* pnpm

* Description adjustments

* Generate Image finalizing

* Prop adjustments

* typos
@vunguyenhung vunguyenhung moved this from Ready for QA to In QA in Component (Source and Action) Backlog Sep 13, 2023
@vunguyenhung vunguyenhung moved this from In QA to Changes Required in Component (Source and Action) Backlog Sep 13, 2023
@vunguyenhung
Copy link
Collaborator

Hello everyone, I have tested this PR and there're some test cases failed or needed improvement.

Please check the test report below for more information
https://vunguyenhung.notion.site/Components-Eden-AI-7832-6d615ddf0d374ea19a62e2e65bd028b2

@GTFalcao
Copy link
Collaborator

@vunguyenhung , I'm unable to reproduce the file error, as I can successfully upload a .txt or a .pdf file, but I've adjusted the path parsing slightly for cases where the user passes tmp/ in the path string.

I've added the providers as options, but you listed many more for "Translate Document" than are available in the documentation - I added the two providers that are documented (deepl and google), let me know if this should be different.

@GTFalcao GTFalcao moved this from Changes Required to Ready for QA in Component (Source and Action) Backlog Sep 13, 2023
@vunguyenhung vunguyenhung moved this from Ready for QA to In QA in Component (Source and Action) Backlog Sep 14, 2023
@vunguyenhung vunguyenhung moved this from In QA to Ready for release in Component (Source and Action) Backlog Sep 14, 2023
@vunguyenhung
Copy link
Collaborator

Hi everyone, all test cases are passed! Ready for release!

Test report
https://vunguyenhung.notion.site/Components-Eden-AI-7832-6d615ddf0d374ea19a62e2e65bd028b2

@GTFalcao GTFalcao moved this from Ready for release to Ready for PR review in Component (Source and Action) Backlog Sep 14, 2023
GTFalcao added a commit that referenced this issue Sep 14, 2023
* Adjusting 'number of images' param

* Bugfix on 'translate document'

* package.json newline

* pnpm lock

* File path adjustment

* Adding provider options

* Version bumps
@GTFalcao GTFalcao moved this from Ready for PR review to Done in Component (Source and Action) Backlog Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action New Action Request triaged For maintainers: This issue has been triaged by a Pipedream employee trigger / source New trigger / source request
4 participants