leon-ai / leon

🧠 Leon is your open-source personal assistant.
https://getleon.ai
MIT License
15.5k stars 1.28k forks source link

I cannot do that because the "" does not exist. #524

Open kallisti5 opened 6 months ago

kallisti5 commented 6 months ago

Specs

.: CHECKING :.
ℹ️  Leon version
✅ 1.0.0-beta.8

ℹ️  Environment
✅ Total RAM: 62.69 GB
✅ {"type":"Linux","platform":"linux","arch":"x64","cpus":32,"release":"6.8.9-arch1-1","osName":"Linux 6.8","distro":{"os":"linux","dist":"Arch Linux","release":"\"rolling\""}}

ℹ️  node --version
✅ v21.7.3

ℹ️  npm --version
✅ 10.7.0

✅ Python bridge version: 1.0.1
ℹ️  Executing a skill...
ℹ️  bridges/python/dist/linux-x86_64/leon-python-bridge "/home/kallisti5/.leon/scripts/assets/intent-object.json"
✅ {"domain": "leon", "skill": "random_number", "action": "run", "lang": "en", "utterance": "Give me a random number", "entities": [], "slots": {}, "output": {"type": "end", "codes": ["72"], "speech": "72", "core": {}, "options": {}}}
ℹ️  Skill execution time: 180ms

✅ TCP server version: 1.0.0
ℹ️  Starting the TCP server...
ℹ️  tcp_server/dist/linux-x86_64/leon-tcp-server en
✅ The TCP server can successfully start
ℹ️  TCP server startup time: 2842ms

ℹ️  Global resolvers NLP model state
✅ Found and valid

ℹ️  Skills resolvers NLP model state
✅ Found and valid

ℹ️  Main NLP model state
✅ Found and valid

ℹ️  Amazon Polly TTS
⚠️  Amazon Polly TTS is not yet configured

ℹ️  Google Cloud TTS/STT
⚠️  Google Cloud TTS/STT is not yet configured

ℹ️  Watson TTS
⚠️  Watson TTS is not yet configured

ℹ️  Offline TTS
⚠️  Cannot find bin/flite/flite. You can set up the offline TTS by running: "npm run setup:offline-tts"

ℹ️  Watson STT
⚠️  Watson STT is not yet configured

ℹ️  Offline STT
✅ Found Coqui language model at bin/coqui/huge-vocabulary.scorer

.: REPORT :.
ℹ️  Here is the diagnosis about your current setup
✅ Run
✅ Run skills
✅ Reply you by texting
✅ Start the TCP server
⚠️  Amazon Polly text-to-speech
⚠️  Google Cloud text-to-speech
⚠️  Watson text-to-speech
⚠️  Offline text-to-speech
⚠️  Google Cloud speech-to-text
⚠️  Watson speech-to-text
✅ Offline speech-to-text

✅ Hooray! Leon can run correctly
ℹ️  If you have some yellow warnings, it is all good. It means some entities are not yet configured

.: REPORT URL :.
ℹ️  Sending report...
✅ Report URL: https://report.getleon.ai/raw/ibihiruxoy

Expected Behavior

Anything useful.

Actual Behavior

.: TODO LIST SKILL :.
{"domain": "productivity", "skill": "todo_list", "action": "view_list", "lang": "en", "utterance": "Leon, what time is it?", "entities": [{"start": 0, "end": 3, "len": 4, "levenshtein": 0, "accuracy": 1, "entity": "person", "type": "enum", "option": "Leon", "sourceText": "Leon", "utteranceText": "Leon", "resolution": {"value": "Leon"}}], "slots": {}, "output": {"type": "end", "codes": ["list_does_not_exist"], "speech": "I cannot do that because the \"\" does not exist.", "core": {}, "options": {}}}

How Do We Reproduce?

Ask anything.

Extra (like a sample repo to reproduce the issue, etc.)

Installation steps, ArchLinux

  502  sudo npm install --global @leon-ai/cli
  503  leon create birth
  504  leon start
  505  leon check
  509  leon run setup:offline-stt
  510  leon start