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
Method
createChatCompletion
(messages, options = {})
live-audio/backend/utils/providers/llmProviders.js:48
Method
createChatCompletion
(messages, options = {})
live-audio/backend/utils/providers/llmProviders.js:99
Method
createProvider
(providerName, config, globalConfig)
live-audio/backend/utils/providers/llmProviders.js:202
Function
create_game
()
interactive-story/backend/app.py:471
Function
debug_stream
()
interactive-story/backend/app.py:38
Function
decorator
(func)
paper-to-slides/error_handling.py:8
Method
estimate_timing
Estimate optimal slide duration
paper-to-slides/slide_generator.py:61
Method
forceEndSpeech
* Force end current speech session * @returns {Promise<Object|null>} Final speech data if available
live-audio/backend/utils/vad.js:224
Method
gather_sources
(self, plan)
deep-research/crawler.py:18
Method
generateAIResponse
()
werewolf-live-audio/backend/server.js:270
Method
generate_config
Generate slidev config with auto-play and drawings
paper-to-slides/slidev_config.py:2
Function
generate_image_background
(level, prompt, session, current_index)
interactive-story/backend/app.py:571
Method
getHeaders
* Prepare headers for API request * @returns {Object} Headers object
live-audio/backend/utils/providers/llmProviders.js:20
Method
getRequestPayload
* Prepare request payload * @param {Array} messages - Chat messages * @param {Object} options - Additional options * @returns {Object} Reques
live-audio/backend/utils/providers/llmProviders.js:33
Method
getState
* Get current VAD state * @returns {Object} Current state information
live-audio/backend/utils/vad.js:270
Method
get_char_for_value
(val)
attention-hallucination-detection/backend/verifier.py:257
Function
get_level
()
interactive-story/backend/app.py:523
Method
get_page_content
(self, url)
deep-research/crawler.py:108
Method
get_relevant_sources
Get sources relevant to a specific section
deep-research/utils/research_context.py:26
Function
handleChatScroll
()
multimodal-ai-assistant/frontend/pages/index.tsx:510
Function
handleChatScroll
()
live-audio/frontend/pages/index.tsx:512
Method
handleClose
()
multimodal-ai-assistant/backend/server.js:124
Method
handleClose
()
werewolf-live-audio/backend/server.js:122
Method
handleClose
()
live-audio/backend/server.js:164
Method
handleError
(error)
multimodal-ai-assistant/backend/server.js:129
Method
handleError
(error)
werewolf-live-audio/backend/server.js:127
Method
handleError
(error)
live-audio/backend/server.js:169
Function
handleImageCapture
(imageData: string)
multimodal-ai-assistant/frontend/pages/index.tsx:546
Function
handleLogsScroll
()
multimodal-ai-assistant/frontend/pages/index.tsx:517
Function
handleLogsScroll
()
live-audio/frontend/pages/index.tsx:519
Method
handleMessage
(message)
multimodal-ai-assistant/backend/server.js:70
Method
handleMessage
(message)
werewolf-live-audio/backend/server.js:72
Method
handleMessage
(message)
live-audio/backend/server.js:114
Function
handle_request_error
Handle general request errors with detailed logging
deep-research/utils/api_error_handler.py:37
Function
hook
(module, input, output)
attention-hallucination-detection/backend/verifier.py:553
Function
index
()
interactive-story/backend/app.py:466
Method
inject_theme
Prepend config to markdown output
paper-to-slides/slidev_config.py:25
Method
isPlayerAlive
(playerId)
werewolf-live-audio/backend/game/game_state.js:248
Function
list_stories
()
interactive-story/backend/app.py:701
Method
load_citation_template
Load citation format from template
paper-to-slides/style_enforcer.py:70
Function
load_config
()
deep-research/utils/config.py:52
Method
makePoliceNomination
(context)
werewolf-live-audio/backend/game/ai_character.js:96
Method
makeVoteDecision
(livingPlayers, context)
werewolf-live-audio/backend/game/ai_character.js:90
Function
needs_visual_analysis
Determine if content needs visual analysis
deep-research/utils/content_processing.py:16
Method
optimize_figure
Enhance figure quality and accessibility
paper-to-slides/pdf_processor.py:187
Method
optimize_transitions
Apply transition optimizations based on flow analysis
paper-to-slides/slide_generator.py:153
Method
process
(inputs, outputs, parameters)
multimodal-ai-assistant/frontend/public/audioWorklet.js:23
Method
process
(inputs, outputs, parameters)
multimodal-ai-assistant/frontend/public/audioWorklet.js:156
Method
process
(self, prompt, system="", model="claude")
paper-to-slides/llm_integration.py:17
Method
process
(inputs, outputs, parameters)
werewolf-live-audio/frontend/public/audioWorklet.js:33
Method
process
(inputs, outputs, parameters)
werewolf-live-audio/frontend/public/audioWorklet.js:166
Method
process
(inputs, outputs, parameters)
live-audio/frontend/public/audioWorklet.js:10
Method
process
(inputs, outputs, parameters)
live-audio/frontend/public/audioWorklet.js:103
Method
process_batch
Static method for processing a batch of sources in a separate process
deep-research/analyzer.py:27
Method
process_url
Process a single URL and return its content (process-safe version)
deep-research/crawler.py:25
Function
processor
(config)
paper-to-slides/tests/conftest.py:14
Function
random_story
()
interactive-story/backend/app.py:645
Method
recreate_svg
Convert bitmap figures to SVG using vectorization
paper-to-slides/pdf_processor.py:213
Method
removePlayer
(playerId)
werewolf-live-audio/backend/game/game_state.js:30
Function
retry
(max_retries=3, delay=1, backoff=2)
paper-to-slides/error_handling.py:7
Function
run
()
interactive-story/backend/app.py:727
Function
sample_content
()
paper-to-slides/tests/conftest.py:18
Function
sample_pdf
()
paper-to-slides/tests/conftest.py:6
Method
search_all
Get multiple pages of search results
deep-research/search.py:34
Function
select_character
()
interactive-story/backend/app.py:508
Function
startGame
()
werewolf-live-audio/frontend/pages/index.tsx:430
Method
startGame
(humanPlayerId)
werewolf-live-audio/backend/game/game_manager.js:58
Function
startRecording
()
multimodal-ai-assistant/frontend/pages/index.tsx:324
Function
startRecording
()
live-audio/frontend/pages/index.tsx:326
Function
stream_level_dialogue
流式返回当前关卡的 AI 对话,每个 token 以 SSE 格式发送。 调用文本生成 API,并实时提取对话 token。
interactive-story/backend/app.py:654
Function
submit_response
()
interactive-story/backend/app.py:600
Method
switchLLMProvider
* Switch LLM provider dynamically * @param {string} providerName - Provider name to switch to
live-audio/backend/server.js:98
Function
test_accessibility_check
()
paper-to-slides/tests/test_accessibility.py:3
Function
test_alt_text_generation
()
paper-to-slides/tests/test_accessibility.py:15
Function
test_config_loading
()
paper-to-slides/tests/test_config.py:1
Function
test_config_overrides
(tmp_path)
paper-to-slides/tests/test_config.py:9
Function
test_error_handling
()
paper-to-slides/tests/test_integration.py:14
Function
test_figure_extraction
(sample_pdf)
paper-to-slides/tests/test_pdf_processor.py:12
Function
test_full_workflow
(processor, sample_pdf)
paper-to-slides/tests/test_integration.py:1
Function
test_metadata_extraction
(sample_pdf)
paper-to-slides/tests/test_pdf_processor.py:20
Function
test_narrative_flow_creation
()
paper-to-slides/tests/test_content_analysis.py:13
Function
test_paper_structure_analysis
()
paper-to-slides/tests/test_content_analysis.py:4
Function
test_slide_generation
(sample_content)
paper-to-slides/tests/test_slide_generation.py:3
Function
test_speaker_notes
()
paper-to-slides/tests/test_slide_generation.py:11
Function
test_text_extraction
(sample_pdf)
paper-to-slides/tests/test_pdf_processor.py:4
Function
text_to_speech
(text, voice="fishaudio/fish-speech-1.5:alex")
interactive-story/backend/app.py:316
Method
transcribe
(audioBuffer, tempDir, options = {})
live-audio/backend/utils/providers/asrProviders.js:64
Method
transcribe
(audioBuffer, tempDir, options = {})
live-audio/backend/utils/providers/asrProviders.js:152
Function
transcribe_audio
(file_path)
interactive-story/backend/app.py:340
Function
try_provider_doubao
Non-stream version that returns the complete response
interactive-story/backend/app.py:284
Function
try_provider_http
Non-stream version that returns the complete response
interactive-story/backend/app.py:259
Function
update_chat_history
()
interactive-story/backend/app.py:743
Method
validate_extracted_content
Quality check before slide generation
paper-to-slides/workflow.py:82
Function
validate_input
(*required_fields)
paper-to-slides/error_handling.py:26
Method
validate_source
Validate source quality and type
deep-research/utils/source_validator.py:10
Method
vote
(voterId, targetId)
werewolf-live-audio/backend/game/game_state.js:154
Function
wrapper
(*args, **kwargs)
paper-to-slides/error_handling.py:10
← previous
401–497 of 497, ranked by callers