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

OV-39: integrate Open AI #53

Merged
merged 14 commits into from
Aug 28, 2024
Merged

Conversation

sergiy4
Copy link
Collaborator

@sergiy4 sergiy4 commented Aug 22, 2024

This PR adds Open AI integration.
openai1
openai2

@sergiy4 sergiy4 added the BE Backend feature label Aug 22, 2024
@sergiy4 sergiy4 added this to the Release 1.0 milestone Aug 22, 2024
@sergiy4 sergiy4 self-assigned this Aug 22, 2024
@sergiy4 sergiy4 linked an issue Aug 22, 2024 that may be closed by this pull request
6 tasks
});

const generatedText = completion.choices[0]?.message.content || '';
return { generatedText };
Copy link
Collaborator

@Sanchousina Sanchousina Aug 22, 2024

Choose a reason for hiding this comment

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

Why not return just a string and not an object with a string, like if even from the name it says it returns text?

WilsonBravo
WilsonBravo previously approved these changes Aug 22, 2024
o-nedashkivska
o-nedashkivska previously approved these changes Aug 26, 2024
@sergiy4 sergiy4 marked this pull request as ready for review August 28, 2024 05:56
@nikita-remeslov nikita-remeslov merged commit 4cfe5e7 into next Aug 28, 2024
3 checks passed
@nikita-remeslov nikita-remeslov deleted the task/OV-39-integrate-open-ai branch August 28, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE Backend feature
Projects
Status: To Be Tested
Development

Successfully merging this pull request may close these issues.

FEAT: Integrate Open AI
6 participants