Comments (8)
That would lead to translatable plugins. +1 from my side.
from mattermost-plugin-ai.
@muratbayan I think this is relatively easy to implement, but I see some problems. Maybe the user doesn't want the reply in its own language, maybe he prefer to keep the context in the original language, second, we expect that in the future you can post the summary of something back to the channel, so... if it is in your local language you need to ask the AI to translate it back to the original language. I'm not sure if we would like this to be optional or not.
from mattermost-plugin-ai.
@esethna do you have any strong opinions about the previous comment?
from mattermost-plugin-ai.
I see some areas of work here:
- Copilot UI language should be made translatable (Weblate?)
- What should the initial language be, that the AI uses to answer? +1 to derive it from the user locale. Changeable by asking the AI to answer in another language.
- Some models are mainly trained in English (or another specific language). Using another language might not make sense in these models. Maybe a language specific prompt can help here or give the user a hint on what's supported.
- On translations, I'm 1/5: This shouldn't be done automatically by the AI unless asked for. Something like "Summarize the chat in Spanish and post it to channel XYZ"
from mattermost-plugin-ai.
Thanks @jprusch, I have already some initial work on this.
- The Copilot UI, as you said, should be translatable, but that wasn't the focus of my changes here. Still, It is an important thing to add.
- What I've done is that if you interact directly with the AI by sending it messages, it is going to answer you in the language that you asked, that is consistent.
- This is very interesting point that I wasn't considering yet. But you are right, maybe with a bit of "prompt engineering" is enough, something like "please answer me in my language if you know how, if not answer me in English", or something on those lines. But in the worst case scenario we would need to explicitly define that the model is or not multilingual in the configuration to be able to properly behave here.
- If you ask the AI for doing something in the specific language that you want, it should behave as expected, I'm not forcing the locale in direct user interactions.
from mattermost-plugin-ai.
Agree with not forcing the locale in a response. The end user always has the option to contextually interrogate to translate any responses into a specific language. Agree that when interacting in a different language the response should follow the language of the prompt
from mattermost-plugin-ai.
I added 2 PRs here, one for the locale aware AI, making the AI aware of your locale and asking for the preference of answering in your own language unless you ask something directly to the AI, in that case the AI will answer in the language that you asked. The second PR is adding localization to the interface, making the interface translatable, and in fact I added the Spanish translation for that :)
from mattermost-plugin-ai.
Thanks a lot, forcing the locale is something we should steer away from I agree.
In terms of user experience, would there be a use case where the AI might want to stick to the input language of the thread/call transcription when summarising? e.g. I have a Mattermost Call recording with French speakers, or a thread with only German replies?
Another thought: would it make sense to allow some persistent bits of context based on our conversations with Copilot? i.e. can I tell Copilot that I only want it to reply to me in French from now on for all my future direct chats with it?
from mattermost-plugin-ai.
Related Issues (20)
- 🐛 bug: deleting suggested prompt prevents me from using another suggested prompt
- 💡 idea: add supported Mattermost server versions to README
- 🐛 bug: When replying in a thread, the response from OpenAI is not updated on the main screen in the stream.
- Why Does My AI Reply to My Threads Instead of Posting Directly in the Channel? HOT 5
- 💡 idea: add google gemini to list of supported backends HOT 2
- 💡 idea: Update README header image to say "Mattermost AI Copilot" instead of "The Mattermost AI Plugin" HOT 1
- 💡 idea: remove duplicative docs HOT 1
- 💡 idea: add a data-preloaded Mattermost server to facilitate demos and testing
- 💡 idea: Soften the Enterprise requirement for multiple LLM backends (Add AI Service) HOT 2
- 💡 idea: Plugin operation via proxy
- Initiating an Indefinite Number of Same Bot Conversation
- 💡 idea: Export Prometheus Metrics about usage
- Design Preview: AI-enhanced Search
- 🐛 bug: timeout streaming error when used with LocalAI HOT 3
- 🐛 bug: prompt buttons populate the Thread input instead of AI RHS input
- 🐛 bug: failure with anthropic claude engine when multiple user messages in a row HOT 2
- 🐛 bug: Somtimes the blinking cursor on responces appears in the wrong place.
- 🐛 bug: Hover state for AI menu inconsistant with other post menus
- 🐛 bug: Sorry! An error occurred while accessing the LLM. See server logs for details. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mattermost-plugin-ai.