theoforger / mastermind

An LLM-powered CLI tool to help you be a better spymaster in Codenames
GNU General Public License v3.0
3 stars 2 forks source link

[Feature] Interactive menu if no model name is given to -m #17

Closed theoforger closed 1 month ago

theoforger commented 1 month ago

Description

Currently the project requires the language model name after -m. Although -g option can be used to view all available models, it is an extra step.

This issue proposes that the program should prompt an interactive menu for users to select a model, if no model name is given after -m.

Expected Outcome

Run:

mastermind link.txt avoid.txt -m

Output:

Please select a language model:

> distil-whisper-large-v3-en
gemma-7b-it
gemma2-9b-it
llama-3.1-70b-versatile
llama-3.1-8b-instant
llama-guard-3-8b
llama3-70b-8192
llama3-8b-8192
llama3-groq-70b-8192-tool-use-preview
llama3-groq-8b-8192-tool-use-preview
llava-v1.5-7b-4096-preview
mixtral-8x7b-32768
whisper-large-v3
theoforger commented 1 month ago

Implemented by commit 86a366a