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

[PRO]: The AI ​​function returns a language different from the original (Sometimes) #5116

Open
1 of 2 tasks
kbrin423 opened this issue May 6, 2024 · 1 comment
Open
1 of 2 tasks
Labels
Category: Pro The issue or pull request is related to the pro packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug

Comments

@kbrin423
Copy link

kbrin423 commented May 6, 2024

Which packages did you experience the bug in?

extension-ai

What Tiptap version are you using?

2.3.0

What’s the bug you are facing?

I use all AI function and when i use https://api.tiptap.dev/v1/ai/text/rephrase or summarize for example the result are not in the original message language ( I'm French 😁 🇫🇷 🥖 )

Do you think it's possible to improve this? Or perhaps allow you to choose the return language as a parameter for the API call?

Example:

https://api.tiptap.dev/v1/ai/text/rephrase
with :
startsInline: false
text: "

Quand on est CM, il existe des astuces pour gagner du temps au quotidien Parmi lesquelles : les extensions Chrome !

On vous propose alors dans cet article :

• Un correcteur orthographique complet,- A complete spelling checker,• Une reconnaissance de typographies,

• Un enregistreur d'écran et de voix • Un sélectionneur de couleurs...+ 6 autres outils gratuits à tester !

Partagez-nous en commentaires vos extensions préférées

"

-> Return

response: "

As a community manager, there are tips to save time in your daily routine, such as using Chrome extensions! In this article, we suggest: - A comprehensive spelling checker, - Typography recognition, - A screen and voice recorder, - A color picker, and 6 other free tools to try! Share your favorite extensions with us in the comments.

"

Thx a lot ! ✌🏼

What browser are you using?

Chrome

Code example

No response

What did you expect to happen?

Same language return auto OR language return parameter

Anything to add? (optional)

No response

Did you update your dependencies?

  • Yes, I’ve updated my dependencies to use the latest version of all packages.

Are you sponsoring us?

  • Yes, I’m a sponsor. 💖
@kbrin423 kbrin423 added Category: Pro The issue or pull request is related to the pro packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug labels May 6, 2024
@schnubor
Copy link

schnubor commented May 7, 2024

+1, experiencing the same issue. Using ChatGPT 3.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Pro The issue or pull request is related to the pro packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug
Projects
Status: Triage open
Development

No branches or pull requests

2 participants