MCPcopy Create free account

hub / github.com/Shaunwei/RealChar / functions

Functions276 in github.com/Shaunwei/RealChar

↓ 13 callersFunctiongetHostName
()
client/web/src/utils/urlUtils.js:9
↓ 13 callersFunctionget_logger
(logger_name)
realtime_ai_character/logger.py:6
↓ 11 callersMethodget_instance
Static access method.
realtime_ai_character/utils.py:55
↓ 10 callersMethodsend_message
(self, message: str, websocket: WebSocket)
realtime_ai_character/utils.py:82
↓ 9 callersMethodinitialize
Static access method.
realtime_ai_character/utils.py:63
↓ 7 callersFunctionshowRecordingStatus
()
realtime_ai_character/static/script.js:351
↓ 6 callersFunctionstopAudioPlayback
()
client/web/src/App.jsx:77
↓ 5 callersFunctionget_chroma
()
realtime_ai_character/database/chroma.py:16
↓ 5 callersMethodsearch
(self, query: str)
realtime_ai_character/llm/base.py:96
↓ 5 callersFunctionstopAudioPlayback
()
realtime_ai_character/static/script.js:633
↓ 4 callersFunctionget_llm
(model='gpt-3.5-turbo-16k')
realtime_ai_character/llm/__init__.py:9
↓ 4 callersFunctionsignInWithGoogle
(isLoggedIn, setToken)
client/web/src/components/Auth/SignIn.js:37
↓ 4 callersFunctionstopRecording
()
client/web/src/hooks/useMediaRecorder.js:77
↓ 4 callersMethodstream
(self, text, websocket, tts_event: asyncio.Event, voice_id="", first_sentence=False, lang
realtime_ai_character/audio/text_to_speech/edge_tts.py:17
↓ 3 callersFunctionbuild_history
(conversation_history: ConversationHistory)
realtime_ai_character/utils.py:39
↓ 3 callersMethodconnect
(self, websocket: WebSocket)
realtime_ai_character/utils.py:73
↓ 3 callersFunctionget_text_to_speech
(tts: str = None)
realtime_ai_character/audio/text_to_speech/__init__.py:6
↓ 3 callersFunctionhandleDisconnect
()
client/web/src/App.jsx:222
↓ 3 callersFunctionimage_exists
(name)
cli.py:66
↓ 3 callersFunctionstartRecording
()
client/web/src/hooks/useMediaRecorder.js:70
↓ 3 callersFunctionstopListening
()
client/web/src/hooks/useSpeechRecognition.js:101
↓ 3 callersFunctiontogglePulseAnimation
()
realtime_ai_character/static/script.js:553
↓ 3 callersFunctionuploadfile
(file, accessToken)
client/web/src/utils/apiUtils.js:6
↓ 2 callersMethod__init__
(self)
realtime_ai_character/llm/base.py:118
↓ 2 callersMethodachat
(self, *args, **kwargs)
realtime_ai_character/llm/base.py:164
↓ 2 callersFunctioncloseMediaRecorder
()
client/web/src/hooks/useMediaRecorder.js:84
↓ 2 callersFunctionconnect
()
client/web/src/App.jsx:187
↓ 2 callersFunctionconnectMicrophone
(deviceId)
realtime_ai_character/static/script.js:166
↓ 2 callersFunctionconnectSocket
()
realtime_ai_character/static/script.js:10
↓ 2 callersMethoddisconnect
(self, websocket: WebSocket)
realtime_ai_character/utils.py:77
↓ 2 callersFunctionfetchQuivrApiKey
()
client/web/src/components/AdvancedOptions/index.js:124
↓ 2 callersMethodget_character
(self, name)
realtime_ai_character/character_catalog/catalog_manager.py:53
↓ 2 callersMethodget_config
(self)
realtime_ai_character/llm/base.py:168
↓ 2 callersFunctionhideOtherCharacters
()
realtime_ai_character/static/script.js:406
↓ 2 callersMethodload_character_from_sql_database
(self)
realtime_ai_character/character_catalog/catalog_manager.py:155
↓ 2 callersMethodload_data
(self, character_name: str, data_path: str)
realtime_ai_character/character_catalog/catalog_manager.py:139
↓ 2 callersMethodquestion
(self, query: str, apiKey: str, brainId: str)
realtime_ai_character/llm/base.py:121
↓ 2 callersMethodsave
(self, db)
realtime_ai_character/models/user.py:12
↓ 2 callersFunctionstartListening
()
client/web/src/hooks/useSpeechRecognition.js:95
↓ 2 callersFunctionstop_audio
()
realtime_ai_character/websocket_routes.py:192
↓ 2 callersFunctionuseAvatarView
(avatarId, emotion)
client/web/src/components/AvatarView/index.jsx:25
↓ 1 callersMethod_convert_bytes_to_wav
(self, audio_bytes, local=True)
realtime_ai_character/audio/speech_to_text/whisper.py:95
↓ 1 callersMethod_convert_webm_to_wav
(self, webm_data, local=True)
realtime_ai_character/audio/speech_to_text/whisper.py:85
↓ 1 callersMethod_generate_context
(self, query, character: Character)
realtime_ai_character/llm/anthropic_llm.py:68
↓ 1 callersMethod_generate_context
(self, query, character: Character)
realtime_ai_character/llm/anyscale_llm.py:64
↓ 1 callersMethod_generate_context
(self, query, character: Character)
realtime_ai_character/llm/openai_llm.py:81
↓ 1 callersMethod_transcribe
(self, audio, prompt="", language="en-US")
realtime_ai_character/audio/speech_to_text/whisper.py:70
↓ 1 callersMethod_transcribe_api
(self, audio, prompt="")
realtime_ai_character/audio/speech_to_text/whisper.py:78
↓ 1 callersMethodbroadcast_message
(self, message: str)
realtime_ai_character/utils.py:86
↓ 1 callersFunctionclean_string
This function takes in a string and performs a series of text cleaning operations. Args: text (str): The text to be cleaned. This is
scripts/contrib/create_char.py:18
↓ 1 callersFunctioncli
()
cli.py:10
↓ 1 callersFunctioncloneVoice
(files, accessToken)
client/web/src/utils/apiUtils.js:93
↓ 1 callersFunctioncloseRecognition
()
client/web/src/hooks/useSpeechRecognition.js:107
↓ 1 callersFunctioncloseSocketWithState
()
client/web/src/App.jsx:182
↓ 1 callersFunctionconnectMicrophone
client/web/src/hooks/useMediaRecorder.js:22
↓ 1 callersFunctioncreateCharacter
(characterRequest, accessToken)
client/web/src/utils/apiUtils.js:31
↓ 1 callersFunctioncreateCharacterGroups
(message)
realtime_ai_character/static/script.js:474
↓ 1 callersFunctiondeleteCharacter
(character_id, accessToken)
client/web/src/utils/apiUtils.js:50
↓ 1 callersFunctiondestroyRadioGroups
()
realtime_ai_character/static/script.js:543
↓ 1 callersFunctionfetchData
()
client/web/src/pages/SharedConversation.jsx:40
↓ 1 callersFunctiongenerateSystemPrompt
(name, background, accessToken)
client/web/src/utils/apiUtils.js:71
↓ 1 callersMethodgenerate_audio
(self, text, voice_id = "", language='en-US')
realtime_ai_character/audio/text_to_speech/edge_tts.py:33
↓ 1 callersFunctiongenerate_data_file
(name)
scripts/contrib/create_char.py:119
↓ 1 callersFunctiongenerate_prompt_file
(name)
scripts/contrib/create_char.py:130
↓ 1 callersFunctiongenerate_system_prompt
(name, background)
realtime_ai_character/llm/system_prompt_generator.py:32
↓ 1 callersFunctionget_chatmodel_from_env
GPT-4 has the best performance while generating system prompt.
realtime_ai_character/llm/__init__.py:24
↓ 1 callersFunctionget_connection_manager
()
realtime_ai_character/utils.py:92
↓ 1 callersFunctionget_current_user
Heler function for auth with Firebase.
realtime_ai_character/websocket_routes.py:47
↓ 1 callersFunctionget_db
()
realtime_ai_character/database/connection.py:21
↓ 1 callersFunctionget_image_url
(character)
realtime_ai_character/restful_routes.py:80
↓ 1 callersFunctionget_input_device_id
()
client/cli.py:75
↓ 1 callersFunctionget_speech_to_text
()
realtime_ai_character/audio/speech_to_text/__init__.py:6
↓ 1 callersFunctionhandleDeleteFile
client/web/src/pages/CharCreate.jsx:90
↓ 1 callersFunctionhandleSendClick
()
client/web/src/components/TextView/index.js:94
↓ 1 callersFunctionhandleSignout
()
client/web/src/components/Auth/SignOut.js:31
↓ 1 callersFunctionhandle_audio
(websocket, device_id)
client/cli.py:88
↓ 1 callersFunctionhandle_receive
(websocket: WebSocket, session_id: str, user_id: str, db: Session, llm: LLM, catalog_
realtime_ai_character/websocket_routes.py:105
↓ 1 callersFunctionhandle_text
(websocket)
client/cli.py:113
↓ 1 callersFunctioninitializeSpeechRecognition
()
client/web/src/hooks/useSpeechRecognition.js:29
↓ 1 callersMethodload_character
(self, directory)
realtime_ai_character/character_catalog/catalog_manager.py:57
↓ 1 callersMethodload_characters
Load characters from the character_catalog directory. Use /data to create documents and add them to the chroma. :overwrite:
realtime_ai_character/character_catalog/catalog_manager.py:86
↓ 1 callersMethodload_characters_from_community
(self, overwrite)
realtime_ai_character/character_catalog/catalog_manager.py:107
↓ 1 callersFunctionload_data_from_url
Load data from a web page.
scripts/contrib/create_char.py:52
↓ 1 callersMethodload_sql_db_lopp
(self)
realtime_ai_character/character_catalog/catalog_manager.py:47
↓ 1 callersFunctionmain
(url)
client/cli.py:207
↓ 1 callersFunctionplayAudio
( audioContextRef, audioPlayer, url, handleFirstInteractionAudio )
client/web/src/utils/audioUtils.js:24
↓ 1 callersFunctionplayAudio
(url)
realtime_ai_character/static/script.js:611
↓ 1 callersFunctionplayAudios
( audioContextRef, audioPlayer, audioQueue, setIsPlaying, handleFirstInteractionAudio )
client/web/src/utils/audioUtils.js:60
↓ 1 callersFunctionplayAudios
()
realtime_ai_character/static/script.js:597
↓ 1 callersFunctionreceive_message
(websocket)
client/cli.py:120
↓ 1 callersFunctionreportWebVitals
client/web/src/reportWebVitals.js:1
↓ 1 callersFunctionrun_migrations_offline
Run migrations in 'offline' mode. This configures the context with just a URL and not an Engine, though an Engine is acceptable here as w
alembic/env.py:43
↓ 1 callersFunctionrun_migrations_online
Run migrations in 'online' mode. In this scenario we need to create an Engine and associate a connection with the context.
alembic/env.py:67
↓ 1 callersMethodsave
(self, db)
realtime_ai_character/models/quivr_info.py:15
↓ 1 callersMethodsave
(self, db)
realtime_ai_character/models/character.py:35
↓ 1 callersMethodsave
(self, db)
realtime_ai_character/models/feedback.py:30
↓ 1 callersFunctionsearch_from_google
(keyword)
scripts/contrib/create_char.py:99
↓ 1 callersFunctionselect_model
()
client/cli.py:159
↓ 1 callersFunctionsendMessage
()
client/web/src/components/TextView/index.js:85
↓ 1 callersFunctionsendMessage
()
realtime_ai_character/static/script.js:445
next →1–100 of 276, ranked by callers