MCPcopy Create free account

hub / github.com/GoBig87/chat-gpt-rasperry-pi-assistant / functions

Functions236 in github.com/GoBig87/chat-gpt-rasperry-pi-assistant

↓ 12 callersMethodSend
(*WakeWordResponse)
pkg/api/v1/wake-word_grpc.pb.go:112
↓ 8 callersMethodResetAll
ResetAll resets all motor positions.
pkg/api/v1/gpio-motor_grpc.pb.go:43
↓ 7 callersFunctionPhysicalPinToBCM
PhysicalPinToBCM converts a physical pin number to the corresponding BCM pin for Raspberry Pi 2, 3 and 4.
pkg/utils/gpio.go:6
↓ 6 callersMethodLowerTail
LowerTail lowers the tail.
pkg/api/v1/gpio-motor_grpc.pb.go:31
↓ 6 callersMethodRaiseHead
RaiseHead raises the head.
pkg/api/v1/gpio-motor_grpc.pb.go:39
↓ 5 callersMethodRaiseTail
RaiseTail raises the tail.
pkg/api/v1/gpio-motor_grpc.pb.go:41
↓ 5 callersMethodRecv
()
pkg/api/v1/wake-word_grpc.pb.go:56
↓ 4 callersMethodCloseMouth
CloseMouth closes the mouth.
pkg/api/v1/gpio-motor_grpc.pb.go:27
↓ 4 callersMethodLowerHead
LowerHead lowers the head.
pkg/api/v1/gpio-motor_grpc.pb.go:29
↓ 4 callersMethodMoveMouthToSpeech
MoveMouthToSpeed moves the mouth to detected speech. This is a streaming RPC that streams from the client on how long to detect speech.
pkg/api/v1/gpio-motor_grpc.pb.go:37
↓ 4 callersMethodOpenMouth
OpenMouth opens the mouth.
pkg/api/v1/gpio-motor_grpc.pb.go:33
↓ 3 callersMethodDetectWakeWord
WakeWord listens for the wake word This is a streaming RPC that streams from the client waiting for the wake word to be detected.
pkg/api/v1/wake-word_grpc.pb.go:29
↓ 3 callersMethodProcessPrompt
Process Prompt Sends a prompt to chatGPT and returns the response.
pkg/api/v1/chat-gpt_grpc.pb.go:28
↓ 3 callersMethodSendAndClose
(*emptypb.Empty)
pkg/api/v1/gpio-motor_grpc.pb.go:294
↓ 2 callersFunctionCollectKeywords
()
pkg/wake-word/wake-word.go:14
↓ 2 callersMethodIsAudioDetected
()
pkg/gpio-motor/gpio-motor.go:86
↓ 2 callersMethodProcessSpeech
Start Processing Audio This is kicked off when the wake word is registered. When speech is no longer detected, the response will return false and the
pkg/api/v1/speech-to-text_grpc.pb.go:30
↓ 2 callersMethodProcessText
Start Processing Text to Audio This takes in an input of text and produces an audio out put of it.
pkg/api/v1/text-to-speech_grpc.pb.go:29
↓ 2 callersMethodPromptChatGPT
(messages []RequestMessage)
pkg/chat-gpt/chat-gpt.go:65
↓ 2 callersFunctionfile_api_v1_chat_gpt_proto_rawDescGZIP
()
pkg/api/v1/chat-gpt.pb.go:156
↓ 2 callersFunctionfile_api_v1_common_proto_init
()
pkg/api/v1/common.pb.go:127
↓ 2 callersFunctionfile_api_v1_speech_to_text_proto_rawDescGZIP
()
pkg/api/v1/speech-to-text.pb.go:174
↓ 2 callersFunctionfile_api_v1_text_to_speech_proto_rawDescGZIP
()
pkg/api/v1/text-to-speech.pb.go:159
↓ 1 callersFunctionApiConn
(port string, dailOpts ...grpc.DialOption)
pkg/api/client/client.go:36
↓ 1 callersMethodCloseAndRecv
()
pkg/api/v1/gpio-motor_grpc.pb.go:101
↓ 1 callersMethodCloseMouth
()
pkg/gpio-motor/gpio-motor.go:62
↓ 1 callersMethodDescriptor
()
pkg/api/v1/common.pb.go:58
↓ 1 callersFunctionMakeChatGptServer
(apiKey, orgId, endpoint, systemPrompt string)
internal/server/chat-gpt.go:15
↓ 1 callersFunctionMakeGpioMotorServer
(gpioMotor *gpio_motor.GpioMotor)
internal/server/gpio-motor.go:14
↓ 1 callersFunctionMakeSpeechToTextServer
()
internal/server/speech-to-text.go:10
↓ 1 callersFunctionMakeTextToSpeechServer
()
internal/server/text-to-speech.go:11
↓ 1 callersFunctionMakeWakeWordServer
(accessKey string)
internal/server/wake-word.go:14
↓ 1 callersMethodOpenMouth
()
pkg/gpio-motor/gpio-motor.go:173
↓ 1 callersFunctiondetectWakeWord
(ctx context.Context)
cmd/gpt-app/main.go:80
↓ 1 callersFunctionfile_api_v1_chat_gpt_proto_init
()
pkg/api/v1/chat-gpt.pb.go:179
↓ 1 callersFunctionfile_api_v1_common_proto_rawDescGZIP
()
pkg/api/v1/common.pb.go:107
↓ 1 callersFunctionfile_api_v1_gpio_motor_proto_init
()
pkg/api/v1/gpio-motor.pb.go:174
↓ 1 callersFunctionfile_api_v1_gpio_motor_proto_rawDescGZIP
()
pkg/api/v1/gpio-motor.pb.go:137
↓ 1 callersFunctionfile_api_v1_speech_to_text_proto_init
()
pkg/api/v1/speech-to-text.pb.go:199
↓ 1 callersFunctionfile_api_v1_text_to_speech_proto_init
()
pkg/api/v1/text-to-speech.pb.go:182
↓ 1 callersFunctionfile_api_v1_wake_word_proto_init
()
pkg/api/v1/wake-word.pb.go:153
↓ 1 callersFunctionfile_api_v1_wake_word_proto_rawDescGZIP
()
pkg/api/v1/wake-word.pb.go:130
↓ 1 callersFunctionint16SliceToBytes
Function to convert int16 array to []byte
pkg/speech-to-text/s2t.go:173
↓ 1 callersFunctionmoveMouth
(ctx context.Context, done chan struct{})
cmd/gpt-app/main.go:259
↓ 1 callersFunctionprocess
(ctx context.Context)
cmd/gpt-app/main.go:100
↓ 1 callersFunctionprocessChatGptPrompt
(ctx context.Context, prompt string)
cmd/gpt-app/main.go:175
↓ 1 callersFunctionprocessChatGptResponse
(ctx context.Context, response string)
cmd/gpt-app/main.go:195
↓ 1 callersFunctionprocessSpeechToText
(ctx context.Context)
cmd/gpt-app/main.go:139
↓ 1 callersFunctionrun
(ctx context.Context)
cmd/gpt-app/main.go:64
↓ 1 callersFunctionrunGrpcServer
()
cmd/gpt-api/main.go:163
↓ 1 callersFunctionwagTail
(ctx context.Context, done chan struct{})
cmd/gpt-app/main.go:221
↓ 1 callersFunctionwalk
(c *cobra.Command, f func(*cobra.Command))
cmd/gpt-ctl/main.go:171
MethodCloseAndRecv
()
pkg/api/v1/gpio-motor_grpc.pb.go:113
MethodCloseMouth
(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)
pkg/api/v1/gpio-motor_grpc.pb.go:54
MethodCloseMouth
CloseMouth closes the mouth.
pkg/api/v1/gpio-motor_grpc.pb.go:156
MethodCloseMouth
(context.Context, *emptypb.Empty)
pkg/api/v1/gpio-motor_grpc.pb.go:180
MethodCloseMouth
CloseMouth implements the CloseMouth RPC.
internal/server/gpio-motor.go:26
MethodDescriptor
Deprecated: Use ProcessPromptRequest.ProtoReflect.Descriptor instead.
pkg/api/v1/chat-gpt.pb.go:59
MethodDescriptor
Deprecated: Use ProcessPromptResponse.ProtoReflect.Descriptor instead.
pkg/api/v1/chat-gpt.pb.go:106
MethodDescriptor
Deprecated: Use ProcessTextRequest.ProtoReflect.Descriptor instead.
pkg/api/v1/text-to-speech.pb.go:59
MethodDescriptor
Deprecated: Use ProcessTextResponse.ProtoReflect.Descriptor instead.
pkg/api/v1/text-to-speech.pb.go:106
MethodDescriptor
Deprecated: Use ProcessSpeechRequest.ProtoReflect.Descriptor instead.
pkg/api/v1/speech-to-text.pb.go:59
MethodDescriptor
Deprecated: Use ProcessSpeechResponse.ProtoReflect.Descriptor instead.
pkg/api/v1/speech-to-text.pb.go:107
MethodDescriptor
Deprecated: Use MoveMouthToSpeechRequest.ProtoReflect.Descriptor instead.
pkg/api/v1/gpio-motor.pb.go:61
MethodDescriptor
Deprecated: Use WakeWordResponse.ProtoReflect.Descriptor instead.
pkg/api/v1/wake-word.pb.go:63
FunctionDetectWakeWord
(accessKey string)
pkg/wake-word/wake-word.go:37
MethodDetectWakeWord
(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)
pkg/api/v1/wake-word_grpc.pb.go:40
MethodDetectWakeWord
WakeWord listens for the wake word This is a streaming RPC that streams from the client waiting for the wake word to be detected.
pkg/api/v1/wake-word_grpc.pb.go:79
MethodDetectWakeWord
(*emptypb.Empty, WakeWordService_DetectWakeWordServer)
pkg/api/v1/wake-word_grpc.pb.go:87
MethodDetectWakeWord
(req *emptypb.Empty, stream api.WakeWordService_DetectWakeWordServer)
internal/server/wake-word.go:25
FunctionDetectWakeWordRoutine
DetectWakeWordRoutine this is the same as DetectWakeWord, but it takes a stop channel so that it can be stopped by an external signal
pkg/wake-word/wake-word.go:126
MethodEnum
()
pkg/api/v1/common.pb.go:48
MethodEnumDescriptor
Deprecated: Use WakeWord.Descriptor instead.
pkg/api/v1/common.pb.go:71
MethodGetBuiltInKeyword
()
pkg/api/v1/wake-word.pb.go:67
MethodGetCustomKeyword
()
pkg/api/v1/wake-word.pb.go:74
MethodGetDetected
()
pkg/api/v1/wake-word.pb.go:81
MethodGetProcessed
()
pkg/api/v1/text-to-speech.pb.go:110
MethodGetProcessing
()
pkg/api/v1/speech-to-text.pb.go:111
MethodGetPrompt
()
pkg/api/v1/chat-gpt.pb.go:63
MethodGetResponse
()
pkg/api/v1/chat-gpt.pb.go:110
MethodGetStop
()
pkg/api/v1/gpio-motor.pb.go:65
MethodGetText
()
pkg/api/v1/text-to-speech.pb.go:63
MethodGetTranscribedText
()
pkg/api/v1/speech-to-text.pb.go:118
MethodGetWakeWord
()
pkg/api/v1/speech-to-text.pb.go:63
MethodLowerHead
(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)
pkg/api/v1/gpio-motor_grpc.pb.go:63
MethodLowerHead
LowerHead lowers the head.
pkg/api/v1/gpio-motor_grpc.pb.go:158
MethodLowerHead
(context.Context, *emptypb.Empty)
pkg/api/v1/gpio-motor_grpc.pb.go:183
MethodLowerHead
()
pkg/gpio-motor/gpio-motor.go:99
MethodLowerHead
LowerHead implements the LowerHead RPC.
internal/server/gpio-motor.go:36
MethodLowerTail
(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)
pkg/api/v1/gpio-motor_grpc.pb.go:72
MethodLowerTail
LowerTail lowers the tail.
pkg/api/v1/gpio-motor_grpc.pb.go:160
MethodLowerTail
(context.Context, *emptypb.Empty)
pkg/api/v1/gpio-motor_grpc.pb.go:186
MethodLowerTail
()
pkg/gpio-motor/gpio-motor.go:124
MethodLowerTail
LowerTail implements the LowerTail RPC.
internal/server/gpio-motor.go:46
FunctionMakeNewGpioMotor
(headEnable, headIn1, headIn2, bodyEnable, bodyIn1, bodyIn2, audio int)
pkg/gpio-motor/gpio-motor.go:21
MethodMoveMouthToSpeech
(ctx context.Context, opts ...grpc.CallOption)
pkg/api/v1/gpio-motor_grpc.pb.go:90
MethodMoveMouthToSpeech
MoveMouthToSpeed moves the mouth to detected speech. This is a streaming RPC that streams from the client on how long to detect speech.
pkg/api/v1/gpio-motor_grpc.pb.go:166
MethodMoveMouthToSpeech
(GpioMotorService_MoveMouthToSpeechServer)
pkg/api/v1/gpio-motor_grpc.pb.go:192
MethodMoveMouthToSpeech
()
pkg/gpio-motor/gpio-motor.go:150
MethodMoveMouthToSpeech
(stream api.GpioMotorService_MoveMouthToSpeechServer)
internal/server/gpio-motor.go:55
next →1–100 of 236, ranked by callers