Mohammad Mazraeh 0052e8179d
Add sample distributed group chat notebook (#3759)
* first notebook for distributed rock, paper and scissors

* add distributed group chat notebook

* fix formatting

* fix pipeline issues

* fix formatting issue

* promote distributed group chat notebook into a multiple files

* fix docs

* fix docs

* fix pyright

* Apply suggestions from code review

Add PR review suggestions

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* improving group chat manager from round robin to LLM based

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* remove lfs file to fix

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* add gut back using lfs

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* re-add gif using lfs

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* remove gitattributes

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* redo git lfs add

---------

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-28 09:59:58 -07:00

27 lines
933 B
Bash
Executable File

#!/bin/bash
# # Start a new tmux session named 'distributed_group_chat'
tmux new-session -d -s distributed_group_chat
# # Split the terminal into 2 vertical panes
tmux split-window -h
# # Split the left pane horizontally
tmux select-pane -t distributed_group_chat:0.0
tmux split-window -v
# # Split the right pane horizontally
tmux select-pane -t distributed_group_chat:0.2
tmux split-window -v
# Select the first pane to start
tmux select-pane -t distributed_group_chat:0.0
# Activate the virtual environment and run the scripts in each pane
tmux send-keys -t distributed_group_chat:0.0 "python run_host.py" C-m
tmux send-keys -t distributed_group_chat:0.2 "python run_writer_agent.py" C-m
tmux send-keys -t distributed_group_chat:0.3 "python run_editor_agent.py" C-m
tmux send-keys -t distributed_group_chat:0.1 "python run_group_chat_manager.py" C-m
# # Attach to the session
tmux attach-session -t distributed_group_chat