neuro-simulator 0.0.3__tar.gz → 0.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/PKG-INFO +27 -9
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/README.md +3 -2
- neuro_simulator-0.1.3/neuro_simulator/__init__.py +10 -0
- neuro_simulator-0.1.3/neuro_simulator/agent/__init__.py +8 -0
- neuro_simulator-0.1.3/neuro_simulator/agent/api.py +737 -0
- neuro_simulator-0.1.3/neuro_simulator/agent/core.py +494 -0
- neuro_simulator-0.1.3/neuro_simulator/agent/llm.py +104 -0
- neuro_simulator-0.1.3/neuro_simulator/agent/memory/__init__.py +4 -0
- neuro_simulator-0.1.3/neuro_simulator/agent/memory/manager.py +346 -0
- neuro_simulator-0.1.3/neuro_simulator/agent/memory.py +137 -0
- neuro_simulator-0.1.3/neuro_simulator/agent/tools/__init__.py +4 -0
- neuro_simulator-0.1.3/neuro_simulator/agent/tools/core.py +112 -0
- neuro_simulator-0.1.3/neuro_simulator/agent/tools.py +69 -0
- neuro_simulator-0.1.3/neuro_simulator/builtin_agent.py +83 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator/cli.py +45 -0
- neuro_simulator-0.1.3/neuro_simulator/config.py +364 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator/config.yaml.example +16 -2
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator/letta.py +75 -46
- neuro_simulator-0.1.3/neuro_simulator/log_handler.py +43 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator/main.py +177 -30
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator/process_manager.py +5 -2
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator/stream_manager.py +6 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator.egg-info/PKG-INFO +27 -9
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator.egg-info/SOURCES.txt +12 -1
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator.egg-info/requires.txt +11 -5
- neuro_simulator-0.1.3/pyproject.toml +58 -0
- neuro-simulator-0.0.3/neuro_simulator/__init__.py +0 -1
- neuro-simulator-0.0.3/neuro_simulator/config.py +0 -226
- neuro-simulator-0.0.3/neuro_simulator/log_handler.py +0 -29
- neuro-simulator-0.0.3/setup.py +0 -60
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator/audio_synthesis.py +0 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator/chatbot.py +0 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator/media/neuro_start.mp4 +0 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator/shared_state.py +0 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator/stream_chat.py +0 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator/websocket_manager.py +0 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator.egg-info/dependency_links.txt +0 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator.egg-info/entry_points.txt +0 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/neuro_simulator.egg-info/top_level.txt +0 -0
- {neuro-simulator-0.0.3 → neuro_simulator-0.1.3}/setup.cfg +0 -0
@@ -1,13 +1,14 @@
|
|
1
|
-
Metadata-Version: 2.
|
2
|
-
Name:
|
3
|
-
Version: 0.
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: neuro_simulator
|
3
|
+
Version: 0.1.3
|
4
4
|
Summary: Neuro Simulator Server
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
Author-email: Moha-Master <hongkongreporter@outlook.com>
|
6
|
+
License-Expression: MIT
|
7
|
+
Project-URL: Homepage, https://github.com/Moha-Master/neuro-simulator
|
8
|
+
Project-URL: Repository, https://github.com/Moha-Master/neuro-simulator
|
9
|
+
Project-URL: Issues, https://github.com/Moha-Master/neuro-simulator/issues
|
8
10
|
Classifier: Development Status :: 4 - Beta
|
9
11
|
Classifier: Intended Audience :: Developers
|
10
|
-
Classifier: License :: OSI Approved :: MIT License
|
11
12
|
Classifier: Operating System :: OS Independent
|
12
13
|
Classifier: Programming Language :: Python :: 3
|
13
14
|
Classifier: Programming Language :: Python :: 3.8
|
@@ -17,6 +18,22 @@ Classifier: Programming Language :: Python :: 3.11
|
|
17
18
|
Classifier: Programming Language :: Python :: 3.12
|
18
19
|
Requires-Python: >=3.8
|
19
20
|
Description-Content-Type: text/markdown
|
21
|
+
Requires-Dist: fastapi
|
22
|
+
Requires-Dist: uvicorn
|
23
|
+
Requires-Dist: google-genai
|
24
|
+
Requires-Dist: azure-cognitiveservices-speech
|
25
|
+
Requires-Dist: letta-client
|
26
|
+
Requires-Dist: openai
|
27
|
+
Requires-Dist: pyyaml
|
28
|
+
Requires-Dist: pydantic
|
29
|
+
Requires-Dist: jinja2
|
30
|
+
Requires-Dist: python-multipart
|
31
|
+
Requires-Dist: mutagen
|
32
|
+
Provides-Extra: dev
|
33
|
+
Requires-Dist: pytest>=6.0; extra == "dev"
|
34
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
35
|
+
Requires-Dist: black; extra == "dev"
|
36
|
+
Requires-Dist: flake8; extra == "dev"
|
20
37
|
|
21
38
|
# Neuro-Simulator 服务端
|
22
39
|
|
@@ -46,7 +63,7 @@ neuro_simulator/
|
|
46
63
|
├── shared_state.py # 全局状态管理
|
47
64
|
├── log_handler.py # 日志处理模块
|
48
65
|
├── requirements.txt # Python 依赖列表
|
49
|
-
├──
|
66
|
+
├── pyproject.toml # Python 包安装配置
|
50
67
|
├── cli.py # 命令行启动脚本
|
51
68
|
├── config.yaml.example # 自带的备用配置模板
|
52
69
|
└── media/ # 自带的备用媒体文件
|
@@ -64,7 +81,8 @@ working_dir_example/ # 工作目录结构,请将这个目录重命名和
|
|
64
81
|
## 安装与配置
|
65
82
|
|
66
83
|
0. **在运行server前,必须有已经配置完成的Letta Agent。**
|
67
|
-
1. 复制一份 `../docs/working_dir_example`
|
84
|
+
1. 复制一份 `../docs/working_dir_example` 到你想要的位置,作为配置文件目录.
|
85
|
+
- 程序会在未指定 `--dir` 的情况下自动生成一个工作目录,路径为 `~/.config/neuro-simulator/`
|
68
86
|
2. 然后进入配置文件目录,复制 `config.yaml.example` 到 `config.yaml`
|
69
87
|
3. 编辑 `config.yaml` 文件,填入必要的 API 密钥和配置项:
|
70
88
|
- Letta Token 和 Agent ID
|
@@ -26,7 +26,7 @@ neuro_simulator/
|
|
26
26
|
├── shared_state.py # 全局状态管理
|
27
27
|
├── log_handler.py # 日志处理模块
|
28
28
|
├── requirements.txt # Python 依赖列表
|
29
|
-
├──
|
29
|
+
├── pyproject.toml # Python 包安装配置
|
30
30
|
├── cli.py # 命令行启动脚本
|
31
31
|
├── config.yaml.example # 自带的备用配置模板
|
32
32
|
└── media/ # 自带的备用媒体文件
|
@@ -44,7 +44,8 @@ working_dir_example/ # 工作目录结构,请将这个目录重命名和
|
|
44
44
|
## 安装与配置
|
45
45
|
|
46
46
|
0. **在运行server前,必须有已经配置完成的Letta Agent。**
|
47
|
-
1. 复制一份 `../docs/working_dir_example`
|
47
|
+
1. 复制一份 `../docs/working_dir_example` 到你想要的位置,作为配置文件目录.
|
48
|
+
- 程序会在未指定 `--dir` 的情况下自动生成一个工作目录,路径为 `~/.config/neuro-simulator/`
|
48
49
|
2. 然后进入配置文件目录,复制 `config.yaml.example` 到 `config.yaml`
|
49
50
|
3. 编辑 `config.yaml` 文件,填入必要的 API 密钥和配置项:
|
50
51
|
- Letta Token 和 Agent ID
|