Skip to content

sebastiengilbert73/chat_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chat_service

A service to chat

Installation

Install pytorch according to your OS and the GPU/CPU option

Cf. https://pytorch.org/get-started/locally/
For example, with Windows, cuda 12.1:
pip install torch --index-url https://download.pytorch.org/whl/cu121

Other packages

pip install -r requirements.txt

Server configuration

Under .../chat_service/server/
cp chat_server_config.xml.example chat_server_config.xml

Edit chat_server_config.xml to your needs. If you don't use a GPU, make sure to change the device to cpu

Note that without a GPU, the response may be very slow.

Launch the server

python chat_server.py

Chainlit web interface

Under .../chat_service/chainlit_interface/
cp app_config.xml.example app_config.xml
chainlit run app.py -w

About

A service to chat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published