Coder Social home page Coder Social logo

etherealengine / digital-beings Goto Github PK

View Code? Open in Web Editor NEW
99.0 16.0 42.0 32.9 MB

A platform for letting researchers connect an intelligent AI directly to real time communication networks and 3D worlds. Your AI, Anywhere.

License: Other

Python 33.59% Shell 0.03% TypeScript 63.13% Dockerfile 0.40% Jinja 2.85%
machine-learning digital-beings digital-humans computer-vision artificial-intelligence cv ml ai nlp bot

digital-beings's People

Contributors

6r1d avatar aditya-mitra avatar alextitonis avatar amine-ouertani avatar davincidreams avatar griffisaurus avatar hexafield avatar lalalune avatar mrhegemon avatar ogeagla avatar renovate-bot avatar renovate[bot] avatar sifanduronto avatar taimoorkhokhar avatar thomasdavis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

digital-beings's Issues

Adapt Digital Being to Harmony Browser

  • Get the Digital Being code etc you need from alextoti
  • Make the bot functions work nice in a group setting by:
  • Let the bot answer to being mentioned or answer to its first name or answer to its 2nd name if it has a 2nd name
  • Make sure it doesn't embed so it looks natural.
  • If you mention someone other than the bot, the bot won't respond.
  • If you continue to talk without mentioning the bot won't respond.
  • If you use the name of the bot or mention the bot the bot will respond
  • After this you don't have to name the bot or mention the bot for future conversation
  • If the bot is having multiple conversations it will mention the users so you know who it's talking to..
  • Make the bot answer recently edited questions and delete the answer to the pre edited question... Disregard if you don't have delete or edit feature.. If it just has edit than edit the answer to reflect the newly edited question.
  • For all the messages that the bot is asked not to respond to, let it passively put them to memory.
    set it up so it doesn't ever crash and log what would have caused the crash and set it up so the ai will send a direct message stating which line the error is on and the stacktrace. Alextoti set this up for discord so any questions about this should go to him
  • For Kyle. Get them to add branding that indicates the AI is from the Metaintelligence Project to Harmony. Remind Shane to give the logo.
  • Once it's ready for testing.. let me know so I can help check to see it's working good

Bot-accessible events when users join, leave, come close, go far away, etc

We want to pipe all of these into chat but hide them from most users, or make them something that can be subscribed to.

A good way to do this may be something like /getAllEvents or something in chat, so that we can use our chat handler API.

The commands are:

User Joins

User Leaves

User comes close or moves further away

User comes to intimate distance or moves further away

User is looking at me

User stops looking at me

Docker-Compose config idea

Hello. I was installing DigitalBeing and had some issues. I'd make PR, but want to know what others think first, because I barely understand the project's internals.

DockerHub shows a bit more config options for Postgres than currently are used.
My approach here would be not to expect the user to configure things manually as it's told in the readme step 7, but to have a preconfigured Postgres instance instead.

This is what we have for Docker now:

  db:
    image: postgres 

Instead, we can configure docker-compose.yml with some defaults:

  db:
    restart: always
    image: postgres
    hostname: digitalbeing_db
    environment:
      POSTGRES_DB: digitalbeing
      POSTGRES_USER: digitalbeing
      POSTGRES_PASSWORD: digitalbeing_default_pw
    volumes:
      - ./init.sql:/docker-entrypoint-initdb.d/init.sql

and have a "starter" SQL file as well, instead of making the user manually do the parts of the installation process.

-- init.sql
GRANT ALL PRIVILEGES ON DATABASE digitalbeing TO digitalbeing;
CREATE TABLE chat_history(client_name text, chat_id text, message_id text, global_message_id text, sender text, content text);

Bot responses need to be saved

& said the bot responses need to be saved on xr database so they can retrieve it when they want to . So I am now planning to work on that discussing with alex . The responses can be multiple according to & like if I say 'hi' to the agent it can reply like
'line 1 .......'
'line 2 ......'
'line 3 .....'
and also we have to map users and many things yet to come from & to work on this API .
but the basic requirement starts from this

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency nodemon to v2.0.21
  • Update dependency puppeteer-extra to v3.3.6
  • Update dependency puppeteer-extra-plugin-stealth to v2.11.2
  • Update dependency discord.js to v14.7.1
  • Update dependency eslint to v8.35.0
  • Update dependency eslint-plugin-react to v7.32.2
  • Update dependency node-telegram-bot-api to v0.61.0 (node-telegram-bot-api, @types/node-telegram-bot-api)
  • Update dependency openai to v0.27.0
  • Update dependency pg to v8.9.0
  • Update dependency redis to v4.6.5
  • Update dependency twilio to v3.84.1
  • Update dependency twilio to v7.16.4
  • Update dependency twitter-api-v2 to v1.14.2
  • Update dependency typescript to v4.9.5
  • Update node orb to v5.1.0
  • Update dependency @types/node to v18
  • Update dependency axios to v1
  • Update dependency puppeteer to v19
  • Update dependency semantic-release to v20
  • Update dependency twilio to v4
  • πŸ” Create all rate-limited PRs at once πŸ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

circleci
.circleci/config.yml
  • node 5.0.2
docker-compose
docker-compose.yml
dockerfile
Dockerfile
  • ubuntu 22.04
npm
package.json
  • @green-api/whatsapp-bot 0.2.5
  • @types/express 4.17.14
  • @types/express-serve-static-core 4.17.33
  • @types/node-telegram-bot-api 0.57.1
  • @types/recordrtc 5.6.8
  • axios 0.27.2
  • bluebird 3.7.2
  • discord-inline-reply 1.0.3
  • discord-reply 0.1.2
  • discord.js 14.5.0
  • dotenv 16.0.3
  • dotenv-flow 3.2.0
  • emoji-dictionary 1.0.11
  • emoji-regex 10.2.1
  • express 4.18.1
  • express-session 1.17.3
  • instagram-private-api 1.45.3
  • node-telegram-bot-api 0.59.0
  • nodemon 2.0.20
  • openai-api 1.3.1
  • pg 8.8.0
  • puppeteer 17.1.0
  • puppeteer-extra 3.3.4
  • puppeteer-extra-plugin-stealth 2.11.1
  • puppeteer-stream 2.1.4
  • reddit 1.2.1
  • redis 4.5.1
  • session 0.1.0
  • snoostream 1.0.1
  • snoowrap 1.23.0
  • tedis 0.1.12
  • ts-node 10.9.1
  • twilio 3.83.3
  • twit 2.2.11
  • twitter-api-v2 1.12.7
  • twitter-autohook 1.7.2
  • wav-file-encoder 1.0.4
  • xvfb 0.4.0
  • @types/node 16.11.56
  • @types/react 18.0.21
  • @types/react-dom 18.0.6
  • @types/three 0.144.0
  • config 3.3.8
  • cross-env 7.0.3
  • eslint 8.23.0
  • eslint-plugin-react 7.31.11
  • semantic-release 19.0.5
  • semantic-release-monorepo 7.0.5
  • typescript 4.8.4
  • uuid 8.3.2
  • node >= 16.3.0
pip_requirements
requirements.txt
  • flask ==2.2.2
  • flask-cors ==3.0.10
  • openai ==0.23.1
  • transformers ==4.21.2
  • twilio ==7.15.3
  • jinja2 ==3.1.2

  • Check this box to trigger a request for Renovate to run again on this repository

Idea: aliases for mentions in gRPC message handler

When any NLP agent is processing messages, converting something like Discord mentions (<@!\d+> format) in both messages and history to nicknames or names may help a lot compared to Discord IDs represented as strings.

The example.py version I have receives Discord messages in a format like <@!000000000000000000> test". I am not sure about the other interfaces, but they probably have similar mechanisms.

Instagram DM support, including group DMs

Reasoning: Instagram DM is the platform almost all teenagers use in the West– much more popular than Discord, in fact.
Support replies, likes and other reactions

Bot can get complete chat history

We should already have a chat history route on the API server. If we can recall that and wire it to the Digital Being to test, maybe through chat window, that could be best.

i.e. /getChatHistory or something in the chat?

Per-user, per channel memory

Store conversations on the bot side. Keep logs for each user for each channel, to be able to recall and continue from last conversation.

Liam says we already have a SQLite database in the Digital Being repo that should do this.

Bot responses need to be saved

& said the bot responses need to be saved on xr database so they can retrieve it when they want to . So I am now planning to work on that discussing with alex . The responses can be multiple according to & like if I say 'hi' to the agent it can reply like
'line 1 .......'
'line 2 ......'
'line 3 .....'
and also we have to map users and many things yet to come from & to work on this API .
but the basic requirement starts from this

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.