From 1144fcd343bc56f8c27ff73d3e76904010dbb832 Mon Sep 17 00:00:00 2001 From: Anuj Solanki Date: Sun, 16 Jun 2024 18:49:45 +0530 Subject: Integrate Whisper AI into agl-service-voiceagent V1: - Integrated Whisper AI for speech-to-text functionality into agl-service-voiceagent. - Add support for both online and offline mode. - Implemented a gRPC-based connection for online mode between Whisper ASR service and voice-agent service. V2: - Update kuksa-interface - Add whisper-cpp for speech-to-text functionality - Add support to control media using mpd - Fix audio recorder Bug-AGL: SPEC-5200 Change-Id: I2661ae61ba2c3283bcfde26d6e4f498270240b19 Signed-off-by: Anuj Solanki --- .../generated/audio_processing_pb2.py | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 agl_service_voiceagent/generated/audio_processing_pb2.py (limited to 'agl_service_voiceagent/generated/audio_processing_pb2.py') diff --git a/agl_service_voiceagent/generated/audio_processing_pb2.py b/agl_service_voiceagent/generated/audio_processing_pb2.py new file mode 100644 index 0000000..fdbeedb --- /dev/null +++ b/agl_service_voiceagent/generated/audio_processing_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: audio_processing.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x61udio_processing.proto\x12\taudioproc\"\"\n\x0c\x41udioRequest\x12\x12\n\naudio_data\x18\x01 \x01(\x0c\"\x1c\n\x0cTextResponse\x12\x0c\n\x04text\x18\x01 \x01(\t2S\n\x0f\x41udioProcessing\x12@\n\x0cProcessAudio\x12\x17.audioproc.AudioRequest\x1a\x17.audioproc.TextResponseb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'audio_processing_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_AUDIOREQUEST']._serialized_start=37 + _globals['_AUDIOREQUEST']._serialized_end=71 + _globals['_TEXTRESPONSE']._serialized_start=73 + _globals['_TEXTRESPONSE']._serialized_end=101 + _globals['_AUDIOPROCESSING']._serialized_start=103 + _globals['_AUDIOPROCESSING']._serialized_end=186 +# @@protoc_insertion_point(module_scope) -- cgit 1.2.3-korg