Skip to content

Implement LLM explainations #13

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

Open
Benoss opened this issue Nov 5, 2024 · 1 comment
Open

Implement LLM explainations #13

Benoss opened this issue Nov 5, 2024 · 1 comment

Comments

@Benoss
Copy link

Benoss commented Nov 5, 2024

LLM are now really good at language, being able to have a hotkey to send a prompt with the word (or the sentence) would be nice.

I can imagine this working with a local text file representing the prompt and using the go template language have access to the source language, the destination language, the highlighted word, the current sentence as part of the context. Render text then send the prompt to the configured AI model.

This would obviously be bring your own key, having support for openAI, anthropic, google, mixtral and ollama models would be cool

@hsnborn22
Copy link
Owner

Yes it's a really cool idea; in these next weeks I'll be very busy but as soon as I become more free I can start working on it; if you want to contribute and need any help with code explanation you can ask here.
Regarding the feature, there are a few implementation problems, but they're not that big of a deal:

  • You would have to launch the python server for every language you learn if you wish to use this feature, and it would probably be a little uncomfortable.
  • LLMs are still very bad at some languages (e.g. arabic or amharic). In the first case this is because while fusha arabic is rather standard, no one really uses it irl and tons of non standardized dialects (which are often non mutually intelligible) exist. So if someone used this app to learn arabic for example, this feature would not turn out to be so useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants