Discourse AI

2 פוסטים פוצלו לנושא חדש: האם ניתן להפעיל רק פרסונה אחת של בינה מלאכותית?

RAILS_ENV=production bundle exec rake assets:precompile גרסת ה-self-hosted של דיסקרוס לא עובדת עם תוסף ה-discourse-AI האחרון עקב שגיאות קומפילציית SCSS. @use “lib/viewport” צריך להיות השורה הראשונה של discourse-ai.css. האם תוכל בבקשה לבדוק?

האם אתה מריץ את זה מול גרסה מוקדמת יותר של דיסקרוס, או שזה על ה-main?

After installing the Discourse AI plugin on the stable version of Discourse (3.4.6), I realized that Discourse says that #bdef136 (commit dated February 4, 2025) is the latest commit, and that the currently installed plugin is the latest.

However, when I checked again because there was a problem where the key fields required for AWS Bedrock integration were not displayed, I found that it was at least 300 commits behind, and when I actually went to the discourse-ai repository and checked the main branch, the gap was large. This symptom also appears in other Discourse instances that I manage, and I can’t figure out what the problem is.

It hasn’t even been a week since I installed the discourse-ai plugin on my existing instance, but the commit of the version that was actually installed is more than 4-5 months old, and I’m curious about why it’s showing as the latest, and how to fix it so that the plugin can be replaced with the latest commit.

עדכון חדש ל-Minecraft מוסיף מקדשים תת-ימיים

3 לייקים

Oh, I see! So the git clone command in the app.yml file adds more behavior than what was mentioned in that file! Now it makes sense. :open_mouth:

Now, when I activate the AI plugin and add a new LLM in the plugin, apart from being able to select AWS Bedrock, why doesn’t the AWS bedrock access key id and AWS bedrock region input fields appear when I select Bedrock as a provider, unlike what is mentioned in this document: Configuring Amazon Bedrock services

I’m using the Discourse version 3.4.5, and the AI plugin version is 0.0.1
and bdef136.

אנחנו לא תומכים ב-Discourse AI ב-Discourse יציב, אנא השתמשו בערוץ ההפצה ברירת המחדל שלנו לחוויה הטובה ביותר.

4 לייקים

:partying_face: This plugin is now bundled with Discourse core as part of Bundling more popular plugins with Discourse core. If you are self-hosting and use the plugin, you need to remove it from your app.yml before your next upgrade.

4 לייקים

אני מנסה להגדיר את התוסף הזה עם Azure. אנו מתחברים ל-OpenAI דרך השער שלנו, המשתמש ב-Azure. ניסיתי לבצע את ההגדרה באמצעות תצורת LLM ידנית
עיבוד על ידי DiscourseAi::Admin::AiLlmsController#test כ-JSON
פרמטרים: {“ai_llm”=>{“max_prompt_tokens”=>“2000”, “api_key”=>“[FILTERED]”, “tokenizer”=>“DiscourseAi::Tokenizer::OpenAiTokenizer”, “url”=>“<OUR_URL>”, “display_name”=>“test-ai-gateway”, “name”=>“gpt-4_0613-pgo-amrs”, “provider”=>“azure”, “enabled_chat_bot”=>“true”, “vision_enabled”=>“false”}}

זה לא נראה שעובד. מישהו יכול לספק את הדרך הנכונה להגדיר זאת?

שאלתי:
כשמשתמשים במודל AI לתרגום טקסט מלא, התוצאות בינוניות. אני רוצה לעבור למודל AI אחר כדי לתרגם מחדש את התוכן. כיצד ניתן לתרגם מחדש פוסטים שכבר תורגמו באמצעות המודל החדש?

בנוסף, האם יש דרך יעילה לספור במהירות את מספר הפוסטים שכבר תורגמו?

At the moment, you will need to use either the Rails or the PostgreSQL console to delete the existing translations.

It’s in our roadmap to add a status page with per language progress in the translation backlog.

מצטער, איני יכול למצוא את הטבלה הספציפית למחיקה. האם תוכל לומר לי את שם הטבלה והיכן נמצא מפת הדרכים של התקדמות התרגום?

שלום, האם תהיה עדכון בנוגע ל-GPT 5?

לייק 1

שלום, אין הודעה רשמית שהצוות של Discourse אמר על עדכוני GPT-5 או על קיומו בכלל; אבל אם אתה באמת רוצה את זה, פשוט חכה עד שזה ישוחרר, ואז תוכל לבדוק את זה.

Should land shortly:

Note on GPT-5, I have been using it all day, it is good, but it is a reasoning model so it is slow

Feel free to fiddle with reasoning effort, on low it is acceptable speed, but way slower than 4.1

2 לייקים

Pulled the latest update and it looks like OpenAI has made some API changes

 Trying to contact the model returned this error: { “error”: { “message”: “Unsupported parameter: ‘reasoning_effort’. In the Responses API, this parameter has moved to ‘reasoning.effort’. Try again with the new parameter. See the API documentation for more information: https://platform.openai.com/docs/api-reference/responses/create.”, “type”: “invalid_request_error”, “param”: null, “code”: “unsupported_parameter” } }

I have the url set to https://api.openai.com/v1/responses here.

לייק 1

זה עובד תחת ה-API של השלמות. אני אמשיך עם שועל עבור ה-API של התגובות.

2 לייקים

לעדכון שלך GPT-5 עם תגובות הוא איטי להפליא כולם מדווחים.

3 לייקים

דחפתי תיקון לכך לפני כמה שעות, נסה זאת.

לייק 1

Works like a charm boss :heart_eyes::ok_hand:t2:

לייק 1