Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bojieli/ai-agent-projects
/ functions
Functions
497 in github.com/bojieli/ai-agent-projects
⨍
Functions
497
◇
Types & classes
104
↳
Endpoints
11
↓ 1 callers
Method
getDefaultPersonality
()
werewolf-live-audio/backend/game/ai_character.js:14
↓ 1 callers
Method
getHeaders
()
live-audio/backend/utils/providers/llmProviders.js:90
↓ 1 callers
Method
getRandomPersonality
()
werewolf-live-audio/backend/game/game_manager.js:47
↓ 1 callers
Function
getVerdictColor
(verdict: string)
attention-hallucination-detection/frontend/components/VerificationSummary.tsx:25
↓ 1 callers
Function
getVerdictEmoji
(verdict: string)
attention-hallucination-detection/frontend/components/VerificationSummary.tsx:38
↓ 1 callers
Function
getVerdictStyle
(verdict: string)
attention-hallucination-detection/frontend/components/VerdictDashboard.tsx:32
↓ 1 callers
Method
get_analyzed_content
Get cached analysis results
deep-research/utils/cache_manager.py:88
↓ 1 callers
Method
get_crawled_content
Get cached webpage content
deep-research/utils/cache_manager.py:80
↓ 1 callers
Method
handleASRMessage
(asrMessage)
multimodal-ai-assistant/backend/server.js:173
↓ 1 callers
Method
handleASRMessage
(asrMessage)
werewolf-live-audio/backend/server.js:171
↓ 1 callers
Function
handleAudioStart
(format: any)
werewolf-live-audio/frontend/pages/index.tsx:289
↓ 1 callers
Method
handleDayStarted
(day)
werewolf-live-audio/backend/game/game_manager.js:181
↓ 1 callers
Method
handleGameEnded
(winner)
werewolf-live-audio/backend/game/game_manager.js:343
↓ 1 callers
Method
handleGameStarted
()
werewolf-live-audio/backend/game/game_manager.js:73
↓ 1 callers
Function
handleInterrupt
()
multimodal-ai-assistant/frontend/pages/index.tsx:493
↓ 1 callers
Function
handleInterrupt
()
live-audio/frontend/pages/index.tsx:495
↓ 1 callers
Method
handleNextSpeaker
(playerId)
werewolf-live-audio/backend/game/game_manager.js:296
↓ 1 callers
Method
handleNightStarted
(day)
werewolf-live-audio/backend/game/game_manager.js:176
↓ 1 callers
Method
handlePlayerDied
(playerId)
werewolf-live-audio/backend/game/game_manager.js:315
↓ 1 callers
Method
handlePlayerEliminated
(playerId)
werewolf-live-audio/backend/game/game_manager.js:336
↓ 1 callers
Method
handlePoliceElectionStarted
()
werewolf-live-audio/backend/game/game_manager.js:93
↓ 1 callers
Method
handleSeerPhase
(seerId)
werewolf-live-audio/backend/game/game_manager.js:234
↓ 1 callers
Method
handleWerewolvesPhase
(werewolves)
werewolf-live-audio/backend/game/game_manager.js:194
↓ 1 callers
Method
handleWitchPhase
(witchId)
werewolf-live-audio/backend/game/game_manager.js:259
↓ 1 callers
Function
handle_openai_error
Handle OpenAI API errors with detailed logging
deep-research/utils/api_error_handler.py:16
↓ 1 callers
Method
hasSufficientAudio
* Check if audio buffer has sufficient content for transcription * @param {Buffer} audioBuffer - Audio buffer to check * @returns {boolean} True
live-audio/backend/utils/speechToText.js:110
↓ 1 callers
Function
html_to_markdown
Convert HTML to markdown with custom options
deep-research/utils/content_processing.py:7
↓ 1 callers
Method
initializeLLMProvider
* Initialize LLM provider based on configuration
live-audio/backend/server.js:83
↓ 1 callers
Method
initializeProvider
* Initialize ASR provider based on configuration
live-audio/backend/utils/speechToText.js:18
↓ 1 callers
Method
initializeSileroVAD
* Initialize the Silero VAD ONNX model
live-audio/backend/utils/vad.js:41
↓ 1 callers
Method
isCompleteSentence
(sentence, isFirstSentence)
multimodal-ai-assistant/backend/server.js:487
↓ 1 callers
Method
isCompleteSentence
(sentence, isFirstSentence)
werewolf-live-audio/backend/server.js:428
↓ 1 callers
Method
isCompleteSentence
(sentence, isFirstSentence)
live-audio/backend/server.js:526
↓ 1 callers
Function
loadBuiltInDemo
()
attention-hallucination-detection/frontend/pages/index.tsx:76
↓ 1 callers
Function
loadData
()
attention-hallucination-detection/frontend/pages/index.tsx:53
↓ 1 callers
Method
load_checkpoint
Load last saved checkpoint if exists
deep-research/utils/recovery_manager.py:20
↓ 1 callers
Function
load_test_cases
从JSON文件加载测试用例
attention-hallucination-detection/backend/verifier.py:614
↓ 1 callers
Function
main
()
interactive-story/backend/benchmark_providers.py:108
↓ 1 callers
Function
main
()
interactive-story/backend/app.py:728
↓ 1 callers
Function
main
()
deep-research/research_agent.py:322
↓ 1 callers
Method
makeHunterKillDecision
(livingPlayers, context)
werewolf-live-audio/backend/game/ai_character.js:147
↓ 1 callers
Method
makeSeerCheckDecision
(livingPlayers, context)
werewolf-live-audio/backend/game/ai_character.js:118
↓ 1 callers
Method
makeWerewolfKillDecision
(livingPlayers, context)
werewolf-live-audio/backend/game/ai_character.js:110
↓ 1 callers
Method
makeWitchDecision
(killedPlayer, hasAntidote, hasPoison, livingPlayers, context)
werewolf-live-audio/backend/game/ai_character.js:126
↓ 1 callers
Function
markdownToText
(markdown)
multimodal-ai-assistant/backend/utils/textProcessor.js:10
↓ 1 callers
Function
markdownToText
(markdown)
werewolf-live-audio/backend/utils/textProcessor.js:10
↓ 1 callers
Function
markdownToText
(markdown)
live-audio/backend/utils/textProcessor.js:10
↓ 1 callers
Function
preprocessSentence
(sentence, language = 'en')
multimodal-ai-assistant/backend/utils/textProcessor.js:174
↓ 1 callers
Function
preprocessSentence
(sentence, language = 'en')
werewolf-live-audio/backend/utils/textProcessor.js:174
↓ 1 callers
Function
preprocessSentence
(sentence, language = 'en')
live-audio/backend/utils/textProcessor.js:174
↓ 1 callers
Method
processAudioChunk
* Process audio chunk and detect voice activity using Silero VAD * @param {Buffer} audioChunk - Raw audio data * @returns {Promise<Array>} VAD r
live-audio/backend/utils/vad.js:138
↓ 1 callers
Method
processAudioWithVAD
* Process audio chunk through VAD * @param {Buffer} audioChunk - Raw audio data
live-audio/backend/server.js:225
↓ 1 callers
Method
processPoliceNominations
()
werewolf-live-audio/backend/game/game_manager.js:98
↓ 1 callers
Method
processSeer
()
werewolf-live-audio/backend/game/game_state.js:120
↓ 1 callers
Method
processSpeechSegment
* Process speech segment with STT * @param {Buffer} audioData - Speech audio data * @param {number} duration - Duration of speech in ms
live-audio/backend/server.js:246
↓ 1 callers
Method
processTTSQueue
()
multimodal-ai-assistant/backend/server.js:692
↓ 1 callers
Method
processTTSQueue
()
werewolf-live-audio/backend/server.js:633
↓ 1 callers
Method
processTTSQueue
()
live-audio/backend/server.js:706
↓ 1 callers
Method
processVotes
()
werewolf-live-audio/backend/game/game_state.js:172
↓ 1 callers
Method
processWerewolves
()
werewolf-live-audio/backend/game/game_state.js:110
↓ 1 callers
Method
processWitch
()
werewolf-live-audio/backend/game/game_state.js:132
↓ 1 callers
Method
process_content
Process a batch of sources
deep-research/analyzer.py:115
↓ 1 callers
Function
pronounceCodeBlock
(text)
multimodal-ai-assistant/backend/utils/textProcessor.js:164
↓ 1 callers
Function
pronounceCodeBlock
(text)
werewolf-live-audio/backend/utils/textProcessor.js:164
↓ 1 callers
Function
pronounceCodeBlock
(text)
live-audio/backend/utils/textProcessor.js:164
↓ 1 callers
Function
pronounceNumbers
(text, language)
multimodal-ai-assistant/backend/utils/textProcessor.js:143
↓ 1 callers
Function
pronounceNumbers
(text, language)
werewolf-live-audio/backend/utils/textProcessor.js:143
↓ 1 callers
Function
pronounceNumbers
(text, language)
live-audio/backend/utils/textProcessor.js:143
↓ 1 callers
Function
removeEmoji
(sentence)
multimodal-ai-assistant/backend/utils/textProcessor.js:4
↓ 1 callers
Function
removeEmoji
(sentence)
werewolf-live-audio/backend/utils/textProcessor.js:4
↓ 1 callers
Function
removeEmoji
(sentence)
live-audio/backend/utils/textProcessor.js:4
↓ 1 callers
Function
removeEmotions
(text)
multimodal-ai-assistant/backend/utils/textProcessor.js:159
↓ 1 callers
Function
removeEmotions
(text)
werewolf-live-audio/backend/utils/textProcessor.js:159
↓ 1 callers
Function
removeEmotions
(text)
live-audio/backend/utils/textProcessor.js:159
↓ 1 callers
Method
reset_buffers
重置内部缓冲区
attention-hallucination-detection/backend/verifier.py:92
↓ 1 callers
Method
review_slide
Review a single slide for quality and accuracy
paper-to-slides/slide_generator.py:77
↓ 1 callers
Method
runSileroVAD
* Run Silero VAD inference on audio chunk * @param {Float32Array} audioSamples - Normalized audio samples * @returns {Promise<number>} Speech pr
live-audio/backend/utils/vad.js:101
↓ 1 callers
Function
run_verification
运行验证测试
attention-hallucination-detection/backend/verifier.py:625
↓ 1 callers
Method
saveRecording
()
live-audio/backend/server.js:637
↓ 1 callers
Method
save_checkpoint
Save current execution state
deep-research/utils/recovery_manager.py:11
↓ 1 callers
Function
scrollChatToBottom
()
multimodal-ai-assistant/frontend/pages/index.tsx:525
↓ 1 callers
Function
scrollChatToBottom
()
live-audio/frontend/pages/index.tsx:527
↓ 1 callers
Function
scrollLogsToBottom
()
multimodal-ai-assistant/frontend/pages/index.tsx:531
↓ 1 callers
Function
scrollLogsToBottom
()
live-audio/frontend/pages/index.tsx:533
↓ 1 callers
Function
setupAudio
()
werewolf-live-audio/frontend/pages/index.tsx:448
↓ 1 callers
Function
setupAudioWithRetry
(retries = 3)
werewolf-live-audio/frontend/pages/index.tsx:517
↓ 1 callers
Method
setupEventHandlers
()
werewolf-live-audio/backend/game/game_manager.js:16
↓ 1 callers
Function
setupWebSocket
()
multimodal-ai-assistant/frontend/pages/index.tsx:106
↓ 1 callers
Function
setupWebSocket
()
live-audio/frontend/pages/index.tsx:104
↓ 1 callers
Method
setupWebSocketHandlers
()
multimodal-ai-assistant/backend/server.js:64
↓ 1 callers
Method
setupWebSocketHandlers
()
werewolf-live-audio/backend/server.js:66
↓ 1 callers
Method
setupWebSocketHandlers
()
live-audio/backend/server.js:108
↓ 1 callers
Method
show_error
Show detailed error message with traceback
deep-research/utils/progress_display.py:52
↓ 1 callers
Method
startDay
()
werewolf-live-audio/backend/game/game_state.js:100
↓ 1 callers
Method
startGame
()
werewolf-live-audio/backend/game/game_state.js:67
↓ 1 callers
Method
startNight
()
werewolf-live-audio/backend/game/game_state.js:91
↓ 1 callers
Method
startPoliceElection
()
werewolf-live-audio/backend/game/game_state.js:83
↓ 1 callers
Function
startRecording
()
werewolf-live-audio/frontend/pages/index.tsx:304
↓ 1 callers
Method
startRecording
()
multimodal-ai-assistant/backend/server.js:591
↓ 1 callers
Method
startRecording
()
werewolf-live-audio/backend/server.js:532
← previous
next →
201–300 of 497, ranked by callers