zylon-ai / private-gpt

Interact with your documents using the power of GPT, 100% privately, no data leaks
https://privategpt.dev
Apache License 2.0
53.79k stars 7.22k forks source link

Add Model Information to ChatInterface label in private_gpt/ui/ui.py #1647

Open ingridstevens opened 7 months ago

ingridstevens commented 7 months ago

During my exploration of Ollama, I often wished I could see which model was currently running, as I was testing out a couple of different models. Currently, the UI lacks visibility regarding the model being utilized, which can lead to confusion for users. To address this, I propose integrating additional information sourced from the settings YAML file directly onto the UI label. This enhancement would allow users to effortlessly identify their current configuration without the need to navigate through settings.

Screenshot showing the implementation: Screenshot 2024-02-24 at 14 06 51

Screenshot 2024-02-24 at 14 41 39

sam3k commented 7 months ago

Great addition. Just tried your changes locally and it makes it easier to know what model you're using. 👍