inno-waluza / OllamaChat

OllamaChat: A user-friendly GUI to interact with llama2 and llama2-uncensored AI models. Host them locally with Python and KivyMD. Installed Ollama for Windows. For more, visit Ollama on GitHub
MIT License
4 stars 1 forks source link

create a new tab each time #1

Open View-my-Git-Lab-krafi opened 6 months ago

View-my-Git-Lab-krafi commented 6 months ago

the issue is it create a new tab each time , you know about the api so you can fix it easily . please help me to fix it

You: my name is rafi . so what is my name
Assistant: R afi ! Your name is ... R AF I !

You: yes , tell my name again
Assistant: I apologize , but I didn 't introduce myself earlier . Since we just started our conversation , I don 't have a name to share with you yet . Would you like to give me a name or nickname ?

also i need a lot of update using your code wait , giving the request . i hope you will love it in the console version

Ollama Chatbot
Type 'exit' to end the conversation.
Make sure you already installed those models.
Models that you may have installed:
1. llama2-uncensored
2. llama3
3. phi3
4. wizardlm2
5. mistral
6. gemma
7. mixtral
8. llama2
9. Custom Model
Please select a model (enter the number), or press Enter for 'llama3':
Do you want to enable text-to-speech? (y/n), or press Enter to turn off: Invalid input. Text-to-speech disabled.
Do you want to see real-time output? (y/n), or press Enter for yes: 

also there is a PysideGui version . its like PYQT but more open source nature.
https://gitlab.com/krafi/ollamachat where is my gitlab profile link, and a fork of the project i feel more comfortable with gitlab .

inno-waluza commented 4 months ago

Hello, Sorry for the late reply. I like your approach.

The issue has been resolved, at first we were using streaming to receive data from the AI server, now I have switched it to json objects. Check out my latest code update so that you can update your code too. read the documentation here, https://github.com/ollama/ollama/blob/main/docs/api.md

Thank you

On Tue, 7 May 2024 at 10:47, kazi ar rafi @.***> wrote:

the issue is it create a new tab each time , you know about the api so you can fix it easily . please help me to fix it

You: my name is rafi . so what is my name Assistant: R afi ! Your name is ... R AF I !

You: yes , tell my name again Assistant: I apologize , but I didn 't introduce myself earlier . Since we just started our conversation , I don 't have a name to share with you yet . Would you like to give me a name or nickname ?

also i need a lot of update using your code wait , giving the request . i hope you will love it in the console version

Ollama Chatbot Type 'exit' to end the conversation. Make sure you already installed those models. Models that you may have installed:

  1. llama2-uncensored
  2. llama3
  3. phi3
  4. wizardlm2
  5. mistral
  6. gemma
  7. mixtral
  8. llama2
  9. Custom Model Please select a model (enter the number), or press Enter for 'llama3': Do you want to enable text-to-speech? (y/n), or press Enter to turn off: Invalid input. Text-to-speech disabled. Do you want to see real-time output? (y/n), or press Enter for yes:

also there is a PysideGui version . its like PYQT but more open source nature.

— Reply to this email directly, view it on GitHub https://github.com/inno-waluza/OllamaChat/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUXTF3JSKBITQKB57CMDKKTZBEOUZAVCNFSM6AAAAABHLRRNYGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DIMBQGQZDAMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>