MCPcopy Create free account

hub / github.com/bojieli/ai-agent-projects / functions

Functions497 in github.com/bojieli/ai-agent-projects

MethodcreateChatCompletion
(messages, options = {})
live-audio/backend/utils/providers/llmProviders.js:48
MethodcreateChatCompletion
(messages, options = {})
live-audio/backend/utils/providers/llmProviders.js:99
MethodcreateProvider
(providerName, config, globalConfig)
live-audio/backend/utils/providers/llmProviders.js:202
Functioncreate_game
()
interactive-story/backend/app.py:471
Functiondebug_stream
()
interactive-story/backend/app.py:38
Functiondecorator
(func)
paper-to-slides/error_handling.py:8
Methodestimate_timing
Estimate optimal slide duration
paper-to-slides/slide_generator.py:61
MethodforceEndSpeech
* Force end current speech session * @returns {Promise<Object|null>} Final speech data if available
live-audio/backend/utils/vad.js:224
Methodgather_sources
(self, plan)
deep-research/crawler.py:18
MethodgenerateAIResponse
()
werewolf-live-audio/backend/server.js:270
Methodgenerate_config
Generate slidev config with auto-play and drawings
paper-to-slides/slidev_config.py:2
Functiongenerate_image_background
(level, prompt, session, current_index)
interactive-story/backend/app.py:571
MethodgetHeaders
* Prepare headers for API request * @returns {Object} Headers object
live-audio/backend/utils/providers/llmProviders.js:20
MethodgetRequestPayload
* Prepare request payload * @param {Array} messages - Chat messages * @param {Object} options - Additional options * @returns {Object} Reques
live-audio/backend/utils/providers/llmProviders.js:33
MethodgetState
* Get current VAD state * @returns {Object} Current state information
live-audio/backend/utils/vad.js:270
Methodget_char_for_value
(val)
attention-hallucination-detection/backend/verifier.py:257
Functionget_level
()
interactive-story/backend/app.py:523
Methodget_page_content
(self, url)
deep-research/crawler.py:108
Methodget_relevant_sources
Get sources relevant to a specific section
deep-research/utils/research_context.py:26
FunctionhandleChatScroll
()
multimodal-ai-assistant/frontend/pages/index.tsx:510
FunctionhandleChatScroll
()
live-audio/frontend/pages/index.tsx:512
MethodhandleClose
()
multimodal-ai-assistant/backend/server.js:124
MethodhandleClose
()
werewolf-live-audio/backend/server.js:122
MethodhandleClose
()
live-audio/backend/server.js:164
MethodhandleError
(error)
multimodal-ai-assistant/backend/server.js:129
MethodhandleError
(error)
werewolf-live-audio/backend/server.js:127
MethodhandleError
(error)
live-audio/backend/server.js:169
FunctionhandleImageCapture
(imageData: string)
multimodal-ai-assistant/frontend/pages/index.tsx:546
FunctionhandleLogsScroll
()
multimodal-ai-assistant/frontend/pages/index.tsx:517
FunctionhandleLogsScroll
()
live-audio/frontend/pages/index.tsx:519
MethodhandleMessage
(message)
multimodal-ai-assistant/backend/server.js:70
MethodhandleMessage
(message)
werewolf-live-audio/backend/server.js:72
MethodhandleMessage
(message)
live-audio/backend/server.js:114
Functionhandle_request_error
Handle general request errors with detailed logging
deep-research/utils/api_error_handler.py:37
Functionhook
(module, input, output)
attention-hallucination-detection/backend/verifier.py:553
Functionindex
()
interactive-story/backend/app.py:466
Methodinject_theme
Prepend config to markdown output
paper-to-slides/slidev_config.py:25
MethodisPlayerAlive
(playerId)
werewolf-live-audio/backend/game/game_state.js:248
Functionlist_stories
()
interactive-story/backend/app.py:701
Methodload_citation_template
Load citation format from template
paper-to-slides/style_enforcer.py:70
Functionload_config
()
deep-research/utils/config.py:52
MethodmakePoliceNomination
(context)
werewolf-live-audio/backend/game/ai_character.js:96
MethodmakeVoteDecision
(livingPlayers, context)
werewolf-live-audio/backend/game/ai_character.js:90
Functionneeds_visual_analysis
Determine if content needs visual analysis
deep-research/utils/content_processing.py:16
Methodoptimize_figure
Enhance figure quality and accessibility
paper-to-slides/pdf_processor.py:187
Methodoptimize_transitions
Apply transition optimizations based on flow analysis
paper-to-slides/slide_generator.py:153
Methodprocess
(inputs, outputs, parameters)
multimodal-ai-assistant/frontend/public/audioWorklet.js:23
Methodprocess
(inputs, outputs, parameters)
multimodal-ai-assistant/frontend/public/audioWorklet.js:156
Methodprocess
(self, prompt, system="", model="claude")
paper-to-slides/llm_integration.py:17
Methodprocess
(inputs, outputs, parameters)
werewolf-live-audio/frontend/public/audioWorklet.js:33
Methodprocess
(inputs, outputs, parameters)
werewolf-live-audio/frontend/public/audioWorklet.js:166
Methodprocess
(inputs, outputs, parameters)
live-audio/frontend/public/audioWorklet.js:10
Methodprocess
(inputs, outputs, parameters)
live-audio/frontend/public/audioWorklet.js:103
Methodprocess_batch
Static method for processing a batch of sources in a separate process
deep-research/analyzer.py:27
Methodprocess_url
Process a single URL and return its content (process-safe version)
deep-research/crawler.py:25
Functionprocessor
(config)
paper-to-slides/tests/conftest.py:14
Functionrandom_story
()
interactive-story/backend/app.py:645
Methodrecreate_svg
Convert bitmap figures to SVG using vectorization
paper-to-slides/pdf_processor.py:213
MethodremovePlayer
(playerId)
werewolf-live-audio/backend/game/game_state.js:30
Functionretry
(max_retries=3, delay=1, backoff=2)
paper-to-slides/error_handling.py:7
Functionrun
()
interactive-story/backend/app.py:727
Functionsample_content
()
paper-to-slides/tests/conftest.py:18
Functionsample_pdf
()
paper-to-slides/tests/conftest.py:6
Methodsearch_all
Get multiple pages of search results
deep-research/search.py:34
Functionselect_character
()
interactive-story/backend/app.py:508
FunctionstartGame
()
werewolf-live-audio/frontend/pages/index.tsx:430
MethodstartGame
(humanPlayerId)
werewolf-live-audio/backend/game/game_manager.js:58
FunctionstartRecording
()
multimodal-ai-assistant/frontend/pages/index.tsx:324
FunctionstartRecording
()
live-audio/frontend/pages/index.tsx:326
Functionstream_level_dialogue
流式返回当前关卡的 AI 对话,每个 token 以 SSE 格式发送。 调用文本生成 API,并实时提取对话 token。
interactive-story/backend/app.py:654
Functionsubmit_response
()
interactive-story/backend/app.py:600
MethodswitchLLMProvider
* Switch LLM provider dynamically * @param {string} providerName - Provider name to switch to
live-audio/backend/server.js:98
Functiontest_accessibility_check
()
paper-to-slides/tests/test_accessibility.py:3
Functiontest_alt_text_generation
()
paper-to-slides/tests/test_accessibility.py:15
Functiontest_config_loading
()
paper-to-slides/tests/test_config.py:1
Functiontest_config_overrides
(tmp_path)
paper-to-slides/tests/test_config.py:9
Functiontest_error_handling
()
paper-to-slides/tests/test_integration.py:14
Functiontest_figure_extraction
(sample_pdf)
paper-to-slides/tests/test_pdf_processor.py:12
Functiontest_full_workflow
(processor, sample_pdf)
paper-to-slides/tests/test_integration.py:1
Functiontest_metadata_extraction
(sample_pdf)
paper-to-slides/tests/test_pdf_processor.py:20
Functiontest_narrative_flow_creation
()
paper-to-slides/tests/test_content_analysis.py:13
Functiontest_paper_structure_analysis
()
paper-to-slides/tests/test_content_analysis.py:4
Functiontest_slide_generation
(sample_content)
paper-to-slides/tests/test_slide_generation.py:3
Functiontest_speaker_notes
()
paper-to-slides/tests/test_slide_generation.py:11
Functiontest_text_extraction
(sample_pdf)
paper-to-slides/tests/test_pdf_processor.py:4
Functiontext_to_speech
(text, voice="fishaudio/fish-speech-1.5:alex")
interactive-story/backend/app.py:316
Methodtranscribe
(audioBuffer, tempDir, options = {})
live-audio/backend/utils/providers/asrProviders.js:64
Methodtranscribe
(audioBuffer, tempDir, options = {})
live-audio/backend/utils/providers/asrProviders.js:152
Functiontranscribe_audio
(file_path)
interactive-story/backend/app.py:340
Functiontry_provider_doubao
Non-stream version that returns the complete response
interactive-story/backend/app.py:284
Functiontry_provider_http
Non-stream version that returns the complete response
interactive-story/backend/app.py:259
Functionupdate_chat_history
()
interactive-story/backend/app.py:743
Methodvalidate_extracted_content
Quality check before slide generation
paper-to-slides/workflow.py:82
Functionvalidate_input
(*required_fields)
paper-to-slides/error_handling.py:26
Methodvalidate_source
Validate source quality and type
deep-research/utils/source_validator.py:10
Methodvote
(voterId, targetId)
werewolf-live-audio/backend/game/game_state.js:154
Functionwrapper
(*args, **kwargs)
paper-to-slides/error_handling.py:10
← previous401–497 of 497, ranked by callers