Skip to content

Conversation

@nattsw
Copy link
Contributor

@nattsw nattsw commented Nov 22, 2024

This PR adds DiscourseAi as a provider for translation. It defines two DiscourseAi::Completions::Prompt, in translator and language_detector, that uses the set ai_helper_model.

Validations are in place when this new provider is selected but its requirements are not set up (SiteSetting.ai_helper_model, SiteSetting.ai_enabled)

Below are two screenshots, one in settings, and one in the topic itself:

Screenshot 2024-11-23 at 2 26 51 AM Screenshot 2024-11-28 at 8 01 41 PM

Copy link
Contributor

@pmusaraj pmusaraj left a comment

Choose a reason for hiding this comment

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

Looks solid, can't wait to try this out!

@nattsw nattsw merged commit 7c2fe57 into main Dec 3, 2024
3 checks passed
@nattsw nattsw deleted the add-discourse-ai-translator branch December 3, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants