s-kostyaev / ellama

Ellama is a tool for interacting with large language models from Emacs.
GNU General Public License v3.0
584 stars 38 forks source link

Question: given list of words in foreign language, how to generate table with translations? #145

Closed suhail-singh closed 4 months ago

suhail-singh commented 4 months ago

I have a process for generating a list of words from a foreign language document. I would like to generate a table from this list where for each word the local LLM translation model is used to come up with the English language meaning.

How can this be done reliably? My preference would be for this to be scriptable as well (via Elisp). Is this something Ellama is suited for, or is this better addressed by one of the other LLM Elisp packages?

s-kostyaev commented 4 months ago

See ellama-chain function. There are couple of example usages as well - ellama-solve-reasoning-problem and ellama-solve-domain-specific-problem

s-kostyaev commented 4 months ago

If you need more control you can use llm library directly. Or create some feature requests here.