Skip to content

Commit 6542085

Browse files
authored
Merge pull request #1144 from ai16z/develop
chore: Merge monday, merging develop into main
2 parents 1424083 + 0a23d6d commit 6542085

File tree

552 files changed

+55032
-26261
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

552 files changed

+55032
-26261
lines changed

.env.example

+160-109
Large diffs are not rendered by default.

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
cache: "pnpm"
2121

2222
- name: Install dependencies
23-
run: pnpm install --no-frozen-lockfile
23+
run: pnpm install
2424

2525
- name: Run Prettier
2626
run: pnpm run prettier --check .

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ node_modules
33

44
.env
55
.env.production
6+
.env.local
7+
.env_main
68
concatenated-output.ts
79
embedding-cache.json
810
packages/plugin-buttplug/intiface-engine
@@ -48,4 +50,5 @@ tsup.config.bundled_*.mjs
4850

4951
.turbo
5052

51-
coverage
53+
coverage
54+
.eslintcache

.gitpod.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ tasks:
44
init: |
55
nvm install v23.3.0
66
git checkout $(git describe --tags --abbrev=0)
7-
command: pnpm install && pnpm run build
8-
7+
command: pnpm install && pnpm run build

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node-linker=hoisted
2+
frozen-lockfile=true

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444
"[shellscript]": {
4545
"editor.defaultFormatter": "foxundermoon.shell-format"
4646
}
47-
}
47+
}

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
- New knowledge not being ingested into agent memory after first run [\#614](https://github.com/ai16z/eliza/issues/614)
236236
- Tests failing - token.test.ts failing because it is commented out. Cache and goals tests are failing because jest is now switched with vitest [\#519](https://github.com/ai16z/eliza/issues/519)
237237
- Non node.js environments have issues building \(workers for instance\) [\#506](https://github.com/ai16z/eliza/issues/506)
238-
- Error when call `generateObjectV2` [\#469](https://github.com/ai16z/eliza/issues/469)
238+
- Error when call `generateObject` [\#469](https://github.com/ai16z/eliza/issues/469)
239239
- Current token.test.ts and videoGeneration.test.ts are throwing errors [\#464](https://github.com/ai16z/eliza/issues/464)
240240
- unable to run defaultcharacter with ModelProviderName.LLAMACLOUD local [\#271](https://github.com/ai16z/eliza/issues/271)
241241
- Incorrect steps in readme for starting eliza [\#270](https://github.com/ai16z/eliza/issues/270)

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ We believe in the power of the OODA Loop - a decision-making framework that emph
3838

3939
3. Fork the repo and create your branch from `main`.
4040
1. The name of the branch should start with the issue number and be descriptive of the changes you are making.
41-
1. eg. 40--add-test-for-bug-123
41+
2. Example: 9999--add-test-for-bug-123
4242
4. If you've added code that should be tested, add tests.
4343
5. Ensure the test suite passes.
4444
6. Make sure your code lints.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## 🌍 README Translations
1414

15-
[中文说明](./README_CN.md) | [日本語の説明](./README_JA.md) | [한국어 설명](./README_KOR.md) | [Français](./README_FR.md) | [Português](./README_PTBR.md) | [Türkçe](./README_TR.md) | [Русский](./README_RU.md) | [Español](./README_ES.md) | [Italiano](./README_IT.md) | [ไทย](./README_TH.md) | [Deutsch](./README_DE.md)
15+
[中文说明](./README_CN.md) | [日本語の説明](./README_JA.md) | [한국어 설명](./README_KOR.md) | [Français](./README_FR.md) | [Português](./README_PTBR.md) | [Türkçe](./README_TR.md) | [Русский](./README_RU.md) | [Español](./README_ES.md) | [Italiano](./README_IT.md) | [ไทย](./README_TH.md) | [Deutsch](./README_DE.md) | [Tiếng Việt](./README_VI.md) | [עִברִית](https://github.com/ai16z/Elisa/blob/main/README_HE.md)
1616

1717
## ✨ Features
1818

README_HE.md

+189
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
1+
<div align="rtl" dir="rtl">
2+
3+
# אלייזה 🤖
4+
5+
<div align="center">
6+
<img src="./docs/static/img/eliza_banner.jpg" alt="אלייזה באנר" width="100%" />
7+
</div>
8+
9+
<div align="center">
10+
11+
📖 [תיעוד](https://ai16z.github.io/eliza/) | 🎯 [דוגמאות](https://github.com/thejoven/awesome-eliza)
12+
</div>
13+
14+
15+
<div align="center">
16+
17+
[中文说明](https://github.com/ai16z/Elisa/blob/main/README_CN.md) | [日本語の説明](https://github.com/ai16z/Elisa/blob/main/README_JA.md) | [한국어 설명](https://github.com/ai16z/Elisa/blob/main/README_KOR.md) | [Français](https://github.com/ai16z/Elisa/blob/main/README_FR.md) | [Português](https://github.com/ai16z/Elisa/blob/main/README_PTBR.md) | [Türkçe](TR.md) | [Русский](https://github.com/ai16z/Elisa/blob/main/README_RU.md) | [Español](https://github.com/ai16z/Elisa/blob/main/README_ES.md) | [Italiano](https://github.com/ai16z/Elisa/blob/main/README_IT.md) | [ไทย](https://github.com/ai16z/Elisa/blob/main/README_TH.md) | [Deutsch](https://github.com/ai16z/Elisa/blob/main/README_DE.md) | [עִברִית](https://github.com/ai16z/Elisa/blob/main/README_HE.md)
18+
19+
</div>
20+
21+
<div dir="rtl" align="right">
22+
23+
## ✨ תכונות
24+
25+
- 🛠️ מחברים מלאים לדיסקורד, טוויטר וטלגרם
26+
- 🔗 תמיכה בכל מודל (Llama, Grok, OpenAI, Anthropic, וכו')
27+
- 👥 תמיכה בריבוי סוכנים וחדרים
28+
- 📚 קל לשלב ולהשתמש במסמכים שלך
29+
- 💾 זיכרון ומאגר מסמכים הניתנים לשליפה
30+
- 🚀 ניתן להרחבה רבה - יצירת פעולות ולקוחות משלך
31+
- ☁️ תומך בהרבה מודלים (local Llama, OpenAI, Anthropic, Groq ,
32+
וכו')
33+
- 📦 פשוט עובד!
34+
35+
</div>
36+
37+
## 🎯 מקרי שימוש
38+
39+
<div align="right">
40+
- 🤖 צ'טבוטים
41+
</div>
42+
<div align="right">
43+
- 🕵️ סוכנים אוטונומיים
44+
</div>
45+
<div align="right">
46+
- 📈 טיפול בתהליכים עסקיים
47+
</div>
48+
<div align="right">
49+
- 🎮 במשחקי וידאו (NPCs)
50+
</div>
51+
<div align="right">
52+
- 🧠 מסחר
53+
</div>
54+
55+
## 🚀 התחלה מהירה
56+
57+
<div align="right">
58+
59+
### דרישות מוקדמות
60+
61+
[Python 2.7+](https://www.python.org/downloads/) -
62+
63+
[Node.js 23+](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) -
64+
65+
[pnpm](https://pnpm.io/installation) -
66+
67+
> **הערה למשתמשי Windows:** נדרש [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install-manual)
68+
69+
</div>
70+
71+
### שימוש ב-Starter (מומלץ)
72+
73+
<div align="right" dir="ltr">
74+
75+
```
76+
git clone https://github.com/ai16z/eliza-starter.git
77+
78+
cp .env.example .env
79+
80+
pnpm i && pnpm start
81+
```
82+
83+
</div>
84+
85+
86+
לאחר מכן קרא את [התיעוד](https://ai16z.github.io/eliza/) כדי ללמוד כיצד להתאים את אלייזה.
87+
88+
### התחלה ידנית של אלייזה (מומלץ רק למי שיודע מה הוא עושה)
89+
<div align="right">
90+
91+
```
92+
# שכפול המאגר
93+
git clone https://github.com/ai16z/eliza.git
94+
95+
# מעבר לגרסה האחרונה
96+
git checkout $(git describe --tags --abbrev=0)
97+
```
98+
</div>
99+
100+
### התחלת אלייזה עם Gitpod
101+
102+
<div align="right">
103+
104+
[![פתח ב-Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ai16z/eliza/tree/main)
105+
106+
</div>
107+
108+
### עריכת קובץ .env
109+
110+
<div align="right">
111+
112+
העתק את .env.example ל-.env ומלא את הערכים המתאימים.
113+
114+
```
115+
cp .env.example .env
116+
```
117+
118+
</div>
119+
120+
הערה: .env הוא אופציונלי. אם אתם מתכננים להפעיל מספר סוכנים נפרדים, ניתן להעביר סודות דרך JSON הדמות.
121+
122+
### התחלה אוטומטית של אלייזה
123+
124+
פעולה זו תפעיל הכל כדי להגדיר את הפרויקט ולהתחיל את הבוט עם הדמות המובנית.
125+
126+
<div align="right">
127+
128+
```bash
129+
sh scripts/start.sh
130+
```
131+
132+
</div>
133+
134+
### עריכת קובץ הדמות
135+
136+
1. פתח את `agent/src/character.ts` כדי לשנות את דמות ברירת המחדל. בטל הערה וערוך.
137+
138+
2. לטעינת דמויות מותאמות אישית:
139+
- השתמש ב-`pnpm start --characters="path/to/your/character.json"`
140+
- ניתן לטעון מספר קבצי דמויות בו זמנית.
141+
142+
3. התחבר עם X (טוויטר):
143+
- שנה `"clients": []` ל-`"clients": ["twitter"]` בקובץ הדמות כדי להתחבר ל-X.
144+
145+
### התחלה ידנית של אלייזה
146+
<div align="right">
147+
148+
```bash
149+
pnpm i
150+
pnpm build
151+
pnpm start
152+
153+
# לעיתים צריך לנקות את הפרויקט אם חוזרים אליו לאחר זמן
154+
pnpm clean
155+
```
156+
</div>
157+
158+
#### דרישות נוספות
159+
160+
ייתכן שתצטרך להתקין את Sharp. אם אתה רואה שגיאה בעת ההפעלה, נסה להתקין עם הפקודה הבאה:
161+
162+
```
163+
pnpm install --include=optional sharp
164+
```
165+
166+
### קהילה ויצירת קשר
167+
168+
<div align="right">
169+
170+
[GitHub Issues](https://github.com/ai16z/eliza/issues) מתאים ביותר עבור: באגים ופרופוזיציות לתכונות -
171+
172+
[Discord](https://discord.gg/ai16z) מתאים ביותר עבור: שיתוף היישומים שלך והשתתפות בקהילה -
173+
</div>
174+
175+
## תורמים
176+
177+
<!-- <div align="right"> -->
178+
179+
<a href="https://github.com/ai16z/eliza/graphs/contributors">
180+
<img src="https://contrib.rocks/image?repo=ai16z/eliza" />
181+
</a>
182+
183+
<!-- </div> -->
184+
185+
## היסטוריית כוכבים
186+
187+
[![תרשים היסטוריית כוכבים](https://api.star-history.com/svg?repos=ai16z/eliza&type=Date)](https://star-history.com/#ai16z/eliza&Date)
188+
189+
</div>

README_VI.md

+129
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# Eliza 🤖
2+
3+
<div align="center">
4+
<img src="./docs/static/img/eliza_banner.jpg" alt="Eliza Banner" width="100%" />
5+
</div>
6+
7+
<div align="center">
8+
9+
📖 [Tài liệu](https://ai16z.github.io/eliza/) | 🎯 [Ví dụ](https://github.com/thejoven/awesome-eliza)
10+
11+
</div>
12+
13+
## ✨ Tính năng
14+
15+
- 🛠️ Phương thức kết nối đầy đủ tính năng với Discord, Twitter và Telegram
16+
- 🔗 Hỗ trợ mọi mô hình ngôn ngữ lớn (Llama, Grok, OpenAI, Anthropic, v.v.)
17+
- 👥 Hỗ trợ nhiều tác nhân và phòng trò chuyện
18+
- 📚 Dễ dàng tiếp nhận và tương tác với tài liệu của bạn
19+
- 💾 Bộ nhớ và kho lưu trữ tài liệu có thể truy xuất
20+
- 🚀 Có khả năng mở rộng cao - tạo hành động và ứng dụng của riêng bạn
21+
- ☁️ Hỗ trợ nhiều mô hình cùng lúc (Llama, OpenAI, Anthropic, Groq, v.v.)
22+
- 📦 Đơn giản là nó hoạt động!
23+
24+
## 🎯 Các trường hợp sử dụng
25+
26+
- 🤖 Chatbots
27+
- 🕵️ Các tác nhân tự động
28+
- 📈 Xử lý các mô hình kinh tế
29+
- 🎮 NPCs trong các trò chơi điện tử
30+
- 🧠 Giao dịch (Trading)
31+
32+
## 🚀 Bắt đầu
33+
34+
### Điều kiện tiên quyết
35+
36+
- [Python 2.7+](https://www.python.org/downloads/)
37+
- [Node.js 23+](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
38+
- [pnpm](https://pnpm.io/installation)
39+
40+
> **Chú ý cho người dùng Windows:** [WSL 2](https://learn.microsoft.com/de-de/windows/wsl/install-manual) là bắt buộc.
41+
42+
### Sử dụng phiên bản Starters (Khuyến nghị)
43+
44+
```bash
45+
git clone https://github.com/ai16z/eliza-starter.git
46+
47+
cp .env.example .env
48+
49+
pnpm i && pnpm start
50+
```
51+
52+
Sau đó hãy đọc [Tài liệu](https://ai16z.github.io/eliza/), để học cách để tùy chỉnh Eliza của bạn.
53+
54+
### Khởi động Eliza theo cách thủ công (Chỉ khuyến khích nếu bạn biết mình đang làm gì)
55+
56+
```bash
57+
# Sao chép repository
58+
git clone https://github.com/ai16z/eliza.git
59+
60+
# Kiểm tra bản phát hành mới nhất
61+
# Dự án này cải tiến rất nhanh, vì vậy chúng tôi khuyên bạn nên kiểm tra bản phát hành mới nhất
62+
git checkout $(git describe --tags --abbrev=0)
63+
```
64+
65+
### Bắt đầu Eliza với Gitpod
66+
67+
[![Mở Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ai16z/eliza/tree/main)
68+
69+
### Chỉnh sửa tệp .env
70+
71+
Sao chép .env.example vào .env và điền các giá trị thích hợp.
72+
73+
```
74+
cp .env.example .env
75+
```
76+
77+
Lưu ý: .env là tùy chọn. Nếu bạn đang có kế hoạch chạy nhiều tác nhân riêng biệt, bạn có thể truyền secret qua định dạng JSON.
78+
79+
### Tự động khởi động Eliza
80+
81+
Điều này sẽ chạy mọi thứ để thiết lập dự án và khởi động bot với tính cách (character) mặc định.
82+
83+
```bash
84+
sh scripts/start.sh
85+
```
86+
87+
### Chỉnh sửa tập tin tính cách
88+
89+
1. Mở `agent/src/character.ts`, để chỉnh sửa tính cách mặc định. Bỏ chú thích và chỉnh sửa.
90+
91+
2. Để chạy các tính cách tùy chỉnh:
92+
- Sử dụng `pnpm start --characters="path/to/your/character.json"`
93+
- Nhiều tính cách có thể được chạy cùng lúc với nhau
94+
3. Kết nối với X (Twitter)
95+
- Thay đổi `"clients": []` thành `"clients": ["twitter"]` ở trong tập tính cách (character) để kết nối với X.
96+
97+
### Bắt đầu Eliza theo cách thủ công
98+
99+
```bash
100+
pnpm i
101+
pnpm build
102+
pnpm start
103+
104+
# Dự án cải tiến rất nhanh, đôi khi bạn cần phải dọn dẹp dự án nếu bạn quay lại dự án
105+
pnpm clean
106+
```
107+
108+
#### Yêu cầu bổ sung
109+
110+
Bạn có thể cần cài đặt Sharp. Nếu bạn thấy lỗi khi khởi động, hãy thử cài đặt bằng lệnh sau:
111+
112+
```
113+
pnpm install --include=optional sharp
114+
```
115+
116+
### Cộng đồng & Liên hệ
117+
118+
- [GitHub Issues](https://github.com/ai16z/eliza/issues). Phù hợp nhất cho: các lỗi bạn gặp phải khi sử dụng Eliza và các đề xuất tính năng.
119+
- [Discord](https://discord.gg/ai16z). Phù hợp nhất cho: chia sẻ ứng dụng của bạn và giao lưu với cộng đồng.
120+
121+
## Người đóng góp
122+
123+
<a href="https://github.com/ai16z/eliza/graphs/contributors">
124+
<img src="https://contrib.rocks/image?repo=ai16z/eliza" />
125+
</a>
126+
127+
## Lịch sử Star cho repo
128+
129+
[![Star History Chart](https://api.star-history.com/svg?repos=ai16z/eliza&type=Date)](https://star-history.com/#ai16z/eliza&Date)

0 commit comments

Comments
 (0)