MCPcopy Create free account

hub / github.com/AsyncFuncAI/deepwiki-open / functions

Functions326 in github.com/AsyncFuncAI/deepwiki-open

↓ 1 callersMethodinit_async_client
Initialize the asynchronous OpenRouter client.
api/openrouter_client.py:58
↓ 1 callersMethodinit_sync_client
Initialize the synchronous OpenRouter client.
api/openrouter_client.py:45
↓ 1 callersFunctioninitializePanZoom
()
src/components/Mermaid.tsx:322
↓ 1 callersFunctionisDeleteProjectCachePayload
Type guard to validate DeleteProjectCachePayload at runtime
src/app/api/wiki/projects/route.ts:22
↓ 1 callersFunctionloadData
()
src/app/[owner]/[repo]/page.tsx:1694
↓ 1 callersFunctionloadLanguage
()
src/contexts/LanguageContext.tsx:103
↓ 1 callersFunctionload_embedder_config
()
api/config.py:157
↓ 1 callersFunctionload_generator_config
()
api/config.py:129
↓ 1 callersFunctionload_lang_config
()
api/config.py:265
↓ 1 callersFunctionload_repo_config
()
api/config.py:261
↓ 1 callersFunctionmain
()
tests/run_tests.py:128
↓ 1 callersFunctionmain
Run all integration tests.
tests/integration/test_full_integration.py:116
↓ 1 callersFunctionmain
Main test function.
tests/unit/test_google_embedder.py:158
↓ 1 callersFunctionnavigateToNextStage
()
src/components/Ask.tsx:264
↓ 1 callersFunctionnavigateToPreviousStage
()
src/components/Ask.tsx:271
↓ 1 callersFunctionparse_stream_response
r"""Parse the response of the stream API.
api/azureai_client.py:85
↓ 1 callersFunctionparse_stream_response
r"""Parse the response of the stream API.
api/openai_client.py:87
↓ 1 callersMethodprepare_db_index
Prepare the indexed database for the repository. Args: embedder_type (str, optional): Embedder type to use ('openai', 'g
api/data_pipeline.py:839
↓ 1 callersFunctionprocessQueue
()
src/app/[owner]/[repo]/page.tsx:1104
↓ 1 callersFunctionread_all_documents
Recursively reads all documents in a directory and its subdirectories. Args: path (str): The root directory path. embedder_t
api/data_pipeline.py:161
↓ 1 callersFunctionread_wiki_cache
Reads wiki cache data from the file system.
api/api.py:413
↓ 1 callersFunctionrenderChart
()
src/components/Mermaid.tsx:361
↓ 1 callersFunctionrenderSection
(sectionId: string, level = 0)
src/components/WikiTreeView.tsx:67
↓ 1 callersFunctionreplace_env_placeholders
Recursively replace placeholders like "${ENV_VAR}" in string values within a nested configuration structure (dicts, lists, strings) with
api/config.py:74
↓ 1 callersMethodreset_database
Reset the database to its initial state.
api/data_pipeline.py:762
↓ 1 callersFunctionresponse_stream
()
api/simple_chat.py:464
↓ 1 callersFunctionrun_all_tests
Run all tests and return results.
tests/unit/test_all_embedders.py:417
↓ 1 callersMethodrun_test_class
Run all test methods in a test class.
tests/unit/test_all_embedders.py:51
↓ 1 callersFunctionrun_test_file
Run a single test file and return success status.
tests/run_tests.py:18
↓ 1 callersFunctionrun_tests
Run all tests in the specified directories.
tests/run_tests.py:41
↓ 1 callersFunctionsaveCache
()
src/app/[owner]/[repo]/page.tsx:1880
↓ 1 callersFunctionsave_wiki_cache
Saves wiki cache data to the file system.
api/api.py:426
↓ 1 callersFunctionsetLanguage
(lang: string)
src/contexts/LanguageContext.tsx:153
↓ 1 callersMethodsummary
Print test summary.
tests/unit/test_all_embedders.py:70
↓ 1 callersFunctiontest_adalflow_embedder
Test the AdalFlow embedder with Google client.
tests/unit/test_google_embedder.py:76
↓ 1 callersMethodtest_count_tokens
Test token counting with different embedder types.
tests/unit/test_all_embedders.py:254
↓ 1 callersFunctiontest_document_processing
Test document processing with Google embedder.
tests/unit/test_google_embedder.py:111
↓ 1 callersMethodtest_embedder_type_env_var
Test embedder selection via DEEPWIKI_EMBEDDER_TYPE environment variable.
tests/unit/test_all_embedders.py:327
↓ 1 callersMethodtest_get_embedder_config
Test getting embedder config for each type.
tests/unit/test_all_embedders.py:129
↓ 1 callersFunctiontest_google_embedder_client
Test the Google embedder client directly.
tests/unit/test_google_embedder.py:23
↓ 1 callersMethodtest_prepare_data_pipeline
Test data pipeline preparation with different embedder types.
tests/unit/test_all_embedders.py:272
↓ 1 callersFunctiontest_streaming_endpoint
Test the streaming endpoint with a given repository URL and query. Args: repo_url (str): The GitHub repository URL query
tests/api/test_api.py:5
↓ 1 callersFunctiontoggleSection
(sectionId: string, event: React.MouseEvent)
src/components/WikiTreeView.tsx:54
↓ 1 callersMethodtrack_completion_usage
( self, completion: Union[ChatCompletion, Generator[ChatCompletionChunk, None, None]], )
api/azureai_client.py:319
↓ 1 callersMethodtrack_completion_usage
( self, completion: Union[ChatCompletion, Generator[ChatCompletionChunk, None, None]], )
api/openai_client.py:239
↓ 1 callersFunctiontransform_documents_and_save_to_db
Transforms a list of documents and saves them to a local database. Args: documents (list): A list of `Document` objects. db_
api/data_pipeline.py:434
↓ 1 callersFunctionuseProcessedProjects
()
src/hooks/useProcessedProjects.ts:13
↓ 1 callersFunctionvalidateAuthCode
()
src/app/page.tsx:267
FunctionAsk
({ repoInfo, provider = '', model = '', isCustomModel = false, customModel = '', language = 'en',
src/components/Ask.tsx:46
FunctionConfigurationModal
({ isOpen, onClose, repositoryInput, selectedLanguage, setSelectedLanguage, supportedLanguages,
src/components/ConfigurationModal.tsx:63
FunctionDELETE
(request: Request)
src/app/api/wiki/projects/route.ts:75
FunctionFullScreenModal
({ isOpen, onClose, children })
src/components/Mermaid.tsx:183
FunctionGET
()
src/app/api/auth/status/route.ts:5
FunctionGET
()
src/app/api/wiki/projects/route.ts:38
FunctionGET
()
src/app/api/models/config/route.ts:6
FunctionHome
()
src/app/page.tsx:45
FunctionLanguageProvider
({ children }: { children: ReactNode })
src/contexts/LanguageContext.tsx:17
FunctionMarkdown
({ content })
src/components/Markdown.tsx:16
FunctionMermaid
({ chart, className = '', zoomingEnabled = false })
src/components/Mermaid.tsx:306
FunctionModelSelectionModal
({ isOpen, onClose, provider, setProvider, model, setModel, isCustomModel, setIsCustomModel,
src/components/ModelSelectionModal.tsx:48
FunctionOPTIONS
()
src/app/api/chat/stream/route.ts:104
FunctionOPTIONS
()
src/app/api/models/config/route.ts:39
FunctionPOST
(request: NextRequest)
src/app/api/auth/validate/route.ts:5
FunctionPOST
(req: NextRequest)
src/app/api/chat/stream/route.ts:9
FunctionProcessedProjects
({ showHeader = true, maxItems, className = "", messages }: ProcessedProjectsProps)
src/components/ProcessedProjects.tsx:25
FunctionRepoWikiPage
()
src/app/[owner]/[repo]/page.tsx:177
FunctionRootLayout
({ children }: Readonly<{ children: React.ReactNode; }>)
src/app/layout.tsx:11
FunctionSlidesPage
()
src/app/[owner]/[repo]/slides/page.tsx:45
FunctionThemeToggle
()
src/components/theme-toggle.tsx:5
FunctionTokenInput
({ selectedPlatform, setSelectedPlatform, accessToken, setAccessToken, showTokenSection = true, on
src/components/TokenInput.tsx:16
FunctionUserSelector
({ provider, setProvider, model, setModel, isCustomModel, setIsCustomModel, customModel, setCu
src/components/UserSelector.tsx:46
FunctionWikiProjectsPage
()
src/app/wiki/projects/page.tsx:7
FunctionWikiTreeView
({ wikiStructure, currentPageId, onPageSelect, })
src/components/WikiTreeView.tsx:45
FunctionWikiTypeSelector
({ isComprehensiveView, setIsComprehensiveView, })
src/components/WikiTypeSelector.tsx:12
FunctionWorkshopPage
()
src/app/[owner]/[repo]/workshop/page.tsx:39
Method__call__
(self, documents: Sequence[Document])
api/ollama_patch.py:71
Method__call__
Call operator interface, delegates to call method
api/dashscope_client.py:827
Method__call__
Process list of documents, generating embedding vectors for each document Args: input: List of input documents
api/dashscope_client.py:844
Method__getstate__
Customize serialization to exclude non-picklable client objects. This method is called by pickle when saving the object's state.
api/dashscope_client.py:627
Method__getstate__
Customize serialization to exclude non-picklable client objects. This method is called by pickle when saving the object's state.
api/bedrock_client.py:90
Method__init__
(self)
tests/unit/test_all_embedders.py:27
Method__init__
(self, embedder: adal.Embedder)
api/ollama_patch.py:67
Method__init__
(self)
api/data_pipeline.py:725
Method__init__
( self, *, model_client: ModelClient, model_kwargs: Dict[str, Any] = {},
api/dashscope_client.py:665
Method__init__
(self, embedder, batch_size: int = 100, embedding_cache_file_name: str = "default")
api/dashscope_client.py:739
Method__init__
(self, embedder, batch_size: int = 100, force_recreate_db: bool = False, embedding_cache_file_name: str = "def
api/dashscope_client.py:837
Method__init__
( self, api_key: Optional[str] = None, chat_completion_parser: Optional[Callable] = No
api/litellm_client.py:28
Method__init__
Initialize Google AI Embeddings client. Args: api_key: Google AI API key. If not provided, uses environment variable.
api/google_embedder_client.py:53
Method__init__
r"""It is recommended to set the API_KEY into the environment variable instead of passing it as an argument. Initializes the Azure OpenAI c
api/azureai_client.py:195
Method__init__
(self)
api/rag.py:31
Method__init__
(self)
api/rag.py:54
Method__init__
Initialize the AWS Bedrock client. Args: aws_access_key_id: AWS access key ID. If not provided, will use environment vari
api/bedrock_client.py:38
Method__init__
r"""It is recommended to set the OPENAI_API_KEY environment variable instead of passing it as an argument. Args: api_key (Optiona
api/openai_client.py:161
Method__init__
Initialize the OpenRouter client.
api/openrouter_client.py:39
Method__setstate__
Customize deserialization to re-create the client objects. This method is called by pickle when loading the object's state.
api/dashscope_client.py:640
Method__setstate__
Customize deserialization to re-create the client objects. This method is called by pickle when loading the object's state.
api/bedrock_client.py:103
Method_embedding_vector_length
(doc: Document)
api/data_pipeline.py:858
Method_extra_repr
(self)
api/dashscope_client.py:928
Method_extract_embedding_value
(obj)
api/google_embedder_client.py:92
Method_process_async_streaming_response
Process an asynchronous streaming response from OpenRouter.
api/openrouter_client.py:459
← previousnext →101–200 of 326, ranked by callers