@@ -65,8 +65,16 @@ ghostos init
6565```
6666
6767Configure the model. Default to use OpenAI ` gpt-4o ` , requiring the environment variable ` OPENAI_API_KEY ` .
68- Or you can use configuration ui by streamlit:
6968
69+ ``` bash
70+ export OPENAI_API_KEY=" your openai api key"
71+ # Optionals:
72+ export OPENAI_PROXY=" sock5://localhost:[your-port]" # setup openai proxy
73+ export DEEPSEEK_API_KEY=" your deepseek api key"
74+ epoxrt MOONSHOT_API_KEY=" your moonshot api key"
75+ ```
76+
77+ Or you can use configuration ui by streamlit:
7078``` bash
7179ghostos config
7280```
@@ -85,11 +93,32 @@ that can be instructed to call functions or methods within the file through natu
8593ghostos web [my_path_file_path]
8694```
8795
88- ou can create a local Python file and define your own Agents. For more details
96+ some demo agents
97+ ``` bash
98+ ghostos web ghostos.demo.agents.jojo
99+ ghostos web ghostos.demo.test_agents.moonshot # moonshot-v1-32k model
100+ ghostos web ghostos.demo.test_agents.deepseek_chat # deepseek chat model
101+ ghostos web ghostos.demo.test_agents.openai_o1_mini # openai o1 mini model
102+ ```
103+
104+ You can create a local Python file and define your own Agents. For more details
89105
90106* [ Chatbot] ( docs/zh-cn/usages/chatbot.md ) : simplest chatbot
91107* [ MossAgent] ( docs/zh-cn/usages/moss_agent.md ) : an agent that can interact with the python module
92108
109+ ## Install Realtime
110+
111+ ` GhostOS ` support [ OpenAI Realtime] ( https://platform.openai.com/docs/guides/realtime ) ,
112+ using [ pyaudio] ( https://pypi.org/project/PyAudio/ ) to handle realtime audio i/o.
113+ Need to install the dependencies first:
114+
115+ ``` bash
116+ pip install ' ghostos[realtime]'
117+ ```
118+
119+ > You may face some difficulties while install pyaudio on your device,
120+ > I'm sure gpt-4o, google or stackoverflow will offer you solutions.
121+
93122## Use In Python
94123
95124``` python
0 commit comments