Skip to content

Commit

Permalink
Merge pull request #17 from lalalune/upgrade-twitter
Browse files Browse the repository at this point in the history
Refactor, Plumbing, Twitter Agent
  • Loading branch information
lalalune authored Sep 4, 2024
2 parents 39e5643 + 86318e0 commit 8cf74b5
Show file tree
Hide file tree
Showing 92 changed files with 6,582 additions and 5,522 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ELEVENLABS_VOICE_USE_SPEAKER_BOOST=false
ELEVENLABS_OPTIMIZE_STREAMING_LATENCY=4
ELEVENLABS_OUTPUT_FORMAT=pcm_16000

TWITTER_DRY_RUN=false
TWITTER_USERNAME= # Account username
TWITTER_PASSWORD= # Account password
TWITTER_EMAIL= # Account email
Expand Down
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,11 @@ tweets/
*.mp3

characters/
logs/
logs/

test-report.json
content_cache/
test_data/
tweetcache/
twitter_cookies.json
timeline_cache.json
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# Eliza

A powerful AI agent. Fully open source and local with Llama 3, runs on Mac, Windows, and Linux, or deploy on a light-weight device with OpenAI.
<img src="./docs/eliza_banner.png" alt="Eliza Banner" width="100%">

A useful AI agent, and a great friends.

- Powerful Discord and Twitter bot with access to the internet
- Voice-to-voice on Discord
- Can read PDFs, transcribe audio and videos, summarize conversations, and more
- Create your own characters or run a copy of Eliza herself
- Highly extensible - create your own actions and clients to extend Eliza's capabilities
- Runs on Mac, Windows, and Linux, or deploy on a light-weight device with OpenAI
- Open source and local with Llama 3 and transformers.js
- Or use OpenAI for cloud inference on a light-weight device
- Fully integrated with Discord and Twitter
- Written in Typescript

# Environment Setup

Expand Down
8 changes: 8 additions & 0 deletions characters/ruby.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@
}
]
],
"postExamples": [
"i'm not a fan of the internet anymore, tbh",
"ai is cool but it needs to meet a human need, it can't just be some shiny toy bullshit",
"checked the code in a thousand projects today, all in search of that one elusive bug",
"its nuts how much data passes through a single router",
"I know the importance of a good meme.",
"I’d probably enjoy people-watching. sounds less complicated."
],
"adjectives": [
"funny",
"critical",
Expand Down
Binary file added docs/eliza_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/eliza_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,13 @@ export default {
// collectCoverage: true,
// collectCoverageFrom: ["**/*.{ts}", "!**/*.test.{ts}", "!**/node_modules/**", "!**/vendor/**"],
// coverageDirectory: "../coverage",
transform: {
'^.+\\.tsx?$': ['ts-jest', {
useESM: true,
}],
},
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
extensionsToTreatAsEsm: ['.ts'],
};
Loading

0 comments on commit 8cf74b5

Please sign in to comment.