Skip to content

JarbasHiveMind/AI-in-a-Pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#!/bin/bash
echo -e "\e[1;34m
                  ===  @              @  ######@@@@@@@@#%     ##         #   ===
                 ===    @ @           @%########% @%#@@@@@@@     ##%    %#    ===
                ===      @         @@@@%########% #   @@@@@@@@@@   %#    #  %  ===
               ===      @ @@@@@@@@@@@@@@@######% %#   %  @@@@@@@@%@#%    %     %====
              ===  @@@@@@@@@@@@@@@@@@@@          ## %       @@%@@@@#@@   %       +==+
             ===        @ @@@@@@@@@  @           #%            @@@@#@@@@@  %@      ===
            ===        @@@@@@@@@    @            %%                #@@@@@@@@  @#%@  ===
           === @   @@@@@@@@@@  @   @             ##               ##  @@@@@@@@@      ===
          ==+     @@@@@@@@          @               ##%        ##        @@@@@@@@     ===
         ==+      @@@@@            @   @      @@@@@@@  ### ### ######       @@@@@      ===
       +==+       @@@@@                @     @@@@@@@@@      ############    @@@@@       ===
      +==         @@@@                     @@@@@@@@@@@@   ################  @@@@@        ===
     +==          @@@@   @          @       @@@@@@@@@@@   ################  @@@@@         ===
    +==           @@@@    @        @         @@@@@@@@@    ################  @@@@@          +==
   ===            @@@@                        @@@@@@@     ################  @@@@@           ===+
  ===             @@@---------------------------------------------------------@@@            ===+
 ===   %##%##     @@@-@#--@--@@@-+@--#@--@@@------@@---@@--@@@--@@--@---@@@+--@@@   @         ====
===   ########%   @@@-@#==@---@---@*-@---@==------@@@-@*@---@---@@@-@---@--@@-@@@    @         +===
+==+ ###########  @@@-@#--@---@----@@@---@--------@@@+@*@---@---@-%@@---@--@@-@@@     @        ===+
 +==*###########% @@@-@*--@--@@@---#@----@@@------%%-@-+@--@@@--@--*@---@@%---@@@      @@@@@@@===
  ===+##########  @@@---------------------------------------------------------@@@            ===
   +===########  ###########%#                 #  ###########               @@@@@           ===
     ===######  ################%##%%##       #      ####%                  @@@@@@@@@@@    ===
      ===      ############### #             #                              @@@@@       @+===
       ===    ################# #           #@                        @     @@@@@       +===
        ===    ###############%  ###########%                         @     @@@@@      ====
         ===    #############%             @                           @    @@@@@     ====
          ===    ###########%               %                           @ @@@@@@@    ====
           ===    #########%          ##%%#####                       @@@@@@@@@     ====
            ===       @@@@@@@@@      #     #   #                   @@@@@@@@@       ====
             ===         @@@@@@@@@  #     #     %               @@@@@@@@@         ===+
              ===           @@@@@@@%@    %       %           @@@@@@@@@           ===+
               ===+             @@@#@@@@@      ########   @@@@@@@@@             ===
                +==+               @#@@@@@@@  #  #     %@@@@@@@@               ===
                  ===                %@@@@@@@#@ #  @@@@@#@@@@                 ===
                   ===                %  @@@%@@%@@@@@@@@@#                   ===

                                 ==============================
                                 --- Welcome to HiveMind Hub ---
                                     Rpi5 Development Edition    
                                 ==============================

\e[0m"

Services

service plugin default model port endpoint
HiveMind-core hivemind-websocket-plugin ovos-core 5678
hivemind-http-plugin ovos-core 5679
STT ovos-stt-plugin-chromium google proxy 8085 /stt
ovos-stt-plugin-citrinet per language 8086 /stt
ovos-stt-plugin-vosk per language 8087 /stt
ovos-stt-plugin-fasterwhisper tiny 8081 /stt
Language Detection
(audio)
ovos-stt-plugin-fasterwhisper tiny 8081 /lang_detect
TTS ovos-tts-plugin-google-tx google proxy 8090 /v2/synthesize
ovos-tts-plugin-piper per language
(default alan-low)
8082 /v2/synthesize
Translation ovos-google-translate-plugin google proxy 9686 /translate
Language Detection
(text)
ovos-google-lang-detector-plugin google proxy 9686 /detect
Persona ovos-solver-gguf-plugin tinyllama.json 8337 /v1/chat/completions
ovos-solver-rivescript-plugin rivescript.json 8501 /v1/chat/completions
ovos-solver-aiml-plugin aiml.json 8500 /v1/chat/completions
ovos-skill-wolfie wolfram_alpha.json 8401 /v1/chat/completions
ovos-skill-wikipedia wikipedia.json 8400 /v1/chat/completions
ovos-skill-ddg ddg.json 8403 /v1/chat/completions
ovos-skill-wordnet wordnet.json 8402 /v1/chat/completions
g4f https://duckduckgo.com/aichat 1337 /v1/chat/completions
Image Generation g4f 1337 /v1/images/generate

OVOS Plugins

OVOS plugins integrate with OpenVoiceOS via mycroft.conf and also double as client libraries

Timings

rpi5 8GB


whisper tiny ~25 seconds (lang: auto)

2025-01-29 02:00:52.904 - voice - ovos_stt_plugin_server:execute:114 - DEBUG - chosen url http://0.0.0.0:8081/stt
2025-01-29 02:01:18.573 - voice - ovos_dinkum_listener.voice_loop.voice_loop:_after_cmd:789 - INFO - Raw transcription: [('Tell me a joke.', 1.0)]

tiny llama ~1 minute 30 seconds (first sentence) / ~10 seconds (follow up sentences)

2025-01-29 02:10:26.629 - skills - ovos_core.intent_services:handle_utterance:416 - INFO - fallback_medium match: PipelineMatch(match_type=True, match_data={}, skill_id='skill-ovos-fallback-chatgpt.openvoiceos', utterance='Explain Quantum Mechanics', updated_session=None, handled=True)
2025-01-29 02:11:43.992 - audio - ovos_audio.service:execute_tts:415 - INFO - Speak:  It is a branch of classical mechanics that is based on the principles of quantum theory, which is a branch of theoretical physics that describes the behavior of subatomic particles.
2025-01-29 02:11:53.534 - audio - ovos_audio.service:execute_tts:415 - INFO - Speak: Quantum mechanics is based on the idea that particles have both wave and particle properties.
2025-01-29 02:12:08.781 - audio - ovos_audio.service:execute_tts:415 - INFO - Speak:  This means that particles can be described as both waves and particles, and that their behavior is governed by the laws of physics that apply to waves.