Skip to content

We run Node.js with Ollama Hosting LLM locally and we use D-ID for Live Avatar

License

Notifications You must be signed in to change notification settings

jjmlovesgit/BetterLocalOllamaRag-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ollama RAG with a "Live" Avatar from D-ID

https://youtu.be/xb8vj5Wqy20

I plan to create a step-by-step video series on how to set this up and run it on YouTube https://www.youtube.com/@AI_by_AI_007/videos In the meantime, here are the steps:

Initial Setup (You should complete these first):

Software Setup

Troubleshooting steps above

Starting the Software:

  • From your project directory and session where you installed Node and ran npm install express in step 3
  • Start up the backend server by running node app.js
  • You should see this message - server started on port localhost:3001
  • Open index.html in the browser add http://localhost:3001/index.html
  • Press the connect button; you should see the connection ready feedback at the bottom of the screen
  • The looping Avatar video should play, waiting for your question
  • Clear all the checkboxes and test that you can chat with your Ollama Model only (No check for D-ID Avatar)
  • Now check the box for a voice replay (still without D-ID checkbox) to test voice playback
  • Once Ollama and your LLM are chatting via text, then test voice typing to see if your browser is set up correctly
  • Now you are ready to check the box to send to D-ID (press the connect button to set up streaming connections)
  • Input a chat and the D-ID service will animate the response.

Final Thoughts

For help See the Youtube:
https://github.com/jjmlovesgit/BetterLocalOllamaRag-/blob/main/thumb.png image

Helpfull Flowchart: image

About

We run Node.js with Ollama Hosting LLM locally and we use D-ID for Live Avatar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published