MCPcopy Create free account

hub / github.com/Azure-Samples/azure-search-openai-demo / functions

Functions1,218 in github.com/Azure-Samples/azure-search-openai-demo

Functionmock_init_file
(self, *args, **kwargs)
tests/conftest.py:1016
Functionmock_init_filesystem_aio
(self, *args, **kwargs)
tests/conftest.py:962
Functionmock_init_service_client_aio
(self, *args, **kwargs)
tests/conftest.py:939
Functionmock_knowledgebase_auth_env
(monkeypatch, request)
tests/conftest.py:578
Functionmock_knowledgebase_env
(monkeypatch, request)
tests/conftest.py:554
Functionmock_list_blob_names
(*args, **kwargs)
tests/test_blob_manager.py:61
Functionmock_list_index_names
(self)
tests/test_searchmanager.py:50
Functionmock_merge_documents
(self, *args, **kwargs)
tests/test_manageacl.py:106
Functionmock_open
(monkeypatch)
tests/test_adlsgen2setup.py:27
Functionmock_parse
(content)
tests/test_prepdocslib_filestrategy.py:33
Functionmock_poller_result
()
tests/test_pdfparser.py:190
Functionmock_post
(*args, **kwargs)
tests/test_mediadescriber.py:23
Functionmock_post
(*args, **kwargs)
tests/conftest.py:92
Functionmock_post
(*args, **kwargs)
tests/test_adlsgen2setup.py:86
Functionmock_process_text
(pages, file, splitter, category)
tests/test_prepdocslib_filestrategy.py:69
Functionmock_process_text
(pages, file, splitter, category)
tests/test_function_apps.py:987
Functionmock_put
(self, *args, **kwargs)
tests/test_mediadescriber.py:98
Functionmock_put_group
(monkeypatch)
tests/test_adlsgen2setup.py:85
Functionmock_query_items
(container_proxy, query, **kwargs)
tests/test_cosmosdb.py:200
Functionmock_read_item
(container_proxy, item, partition_key, **kwargs)
tests/test_cosmosdb.py:318
Functionmock_readinto
(self, stream: IO[bytes])
tests/conftest.py:1108
Functionmock_reasoning_env
(monkeypatch, request)
tests/conftest.py:527
Functionmock_retrieval
(*args, **kwargs)
tests/test_chatapproach.py:44
Functionmock_retrieval
(*args, **kwargs)
tests/test_agentic_retrieval.py:47
Functionmock_retrieve_parameterized
(self, *args, **kwargs)
tests/mocks.py:387
Functionmock_search
(self, *args, **kwargs)
tests/test_upload.py:223
Functionmock_search
(self, *args, **kwargs)
tests/test_manageacl.py:71
Functionmock_search
(self, *args, **kwargs)
tests/test_searchmanager.py:754
Functionmock_search
(self, *args, **kwargs)
tests/test_authenticationhelper.py:145
Functionmock_search
(self, *args, **kwargs)
tests/conftest.py:84
Functionmock_search_knowledgebase
(monkeypatch)
tests/conftest.py:298
Functionmock_speak_text_cancelled
(self, text)
tests/mocks.py:681
Functionmock_speak_text_failed
(self, text)
tests/mocks.py:685
Functionmock_speak_text_success
(self, text)
tests/mocks.py:677
Functionmock_speech_cancelled
(monkeypatch)
tests/conftest.py:109
Functionmock_speech_failed
(monkeypatch)
tests/conftest.py:114
Functionmock_speech_success
(monkeypatch)
tests/conftest.py:104
Functionmock_update_access_control_recursive_aio
(self, acl, *args, **kwargs)
tests/conftest.py:1075
Functionmock_upload
(*args, **kwargs)
tests/test_prepdocslib_filestrategy.py:55
Functionmock_upload_blob
(self, name, *args, **kwargs)
tests/test_blob_manager.py:49
Functionmock_upload_data
(data, overwrite=True, metadata=None)
tests/test_blob_manager.py:265
Functionmock_upload_data_aio
(self, *args, **kwargs)
tests/conftest.py:1039
Functionmock_upload_documents
(self, documents)
tests/test_upload.py:66
Functionmock_upload_documents
(self, documents)
tests/test_searchmanager.py:514
Functionmock_upload_file
(self, *args, **kwargs)
tests/test_upload.py:55
Functionmock_upsert_item
(container_proxy, item, **kwargs)
tests/test_cosmosdb.py:178
Functionmock_url
(self, *args, **kwargs)
tests/conftest.py:1020
Functionmock_user_directory_client
(monkeypatch)
tests/conftest.py:1120
Functionmock_validate_access_token
(self, token)
tests/conftest.py:883
Functionmock_validate_token_success
(monkeypatch)
tests/conftest.py:882
Functionmock_vision_auth_env
(monkeypatch, request)
tests/conftest.py:621
Functionmock_vision_env
(monkeypatch, request)
tests/conftest.py:602
Methodname
(self)
tests/test_pdfparser.py:283
FunctiononEnterPress
(ev: React.KeyboardEvent<Element>)
app/frontend/src/components/QuestionInput/QuestionInput.tsx:69
FunctiononExampleClicked
(example: string)
app/frontend/src/pages/chat/Chat.tsx:491
FunctiononQuestionChange
(_ev: React.ChangeEvent<HTMLTextAreaElement>, data: { value: string })
app/frontend/src/components/QuestionInput/QuestionInput.tsx:85
FunctiononRetrievalModeChange
(_ev: any, data: OptionOnSelectData)
app/frontend/src/components/VectorSettings/VectorSettings.tsx:33
FunctiononSearchImageEmbeddingsChange
(_ev: any, data: CheckboxOnChangeData)
app/frontend/src/components/VectorSettings/VectorSettings.tsx:44
FunctiononSearchTextEmbeddingsChange
(_ev: any, data: CheckboxOnChangeData)
app/frontend/src/components/VectorSettings/VectorSettings.tsx:39
FunctiononStopClick
()
app/frontend/src/pages/chat/Chat.tsx:516
Methodopen
(self)
tests/test_content_file.py:51
Methodparse
(self, content: Any)
tests/test_function_apps.py:64
Methodparse
(self, content)
tests/test_function_apps.py:276
Methodpoll
()
app/backend/prepdocslib/mediadescriber.py:58
Functionpop_citation_activity_details
(result: dict[str, Any] | None)
tests/test_app.py:50
Functionpost_chat_history
(auth_claims: dict[str, Any])
app/backend/chat_history/cosmosdb.py:24
Functionprocess_figure_request
Entrypoint for Azure Search custom skill calls.
app/functions/figure_processor/function_app.py:129
Functionprocess_text_entry
Azure Search custom skill entry point for chunking and embeddings.
app/functions/text_processor/function_app.py:119
Functionpytest_generate_tests
Parametrize the test_doc fixture with all the pdf files in the test-data directory.
tests/test_prepdocslib_textsplitter.py:101
Methodread
(self)
tests/mocks.py:632
Methodread
(self)
tests/mocks.py:641
Methodreadall
(self)
tests/test_blob_manager.py:321
Methodreadall
(self)
tests/test_blob_manager.py:385
Methodreadinto
(self, buffer: BytesIO)
tests/mocks.py:81
Functionreasoning_client
( monkeypatch, mock_reasoning_env, mock_openai_chatcompletion, mock_openai_embedding, mock
tests/conftest.py:659
Functionredirect
()
app/backend/app.py:123
Functionrelevance_pass_value
(row: dict[str, Any])
evals/eval_compare.py:21
Methodremove_blob
Deletes a file from the user's directory in ADLS and any associated image directories. The following will be deleted: - {user
app/backend/prepdocslib/blobmanager.py:316
MethodresetContinuationToken
()
app/frontend/src/components/HistoryProviders/CosmosDB.ts:10
MethodresetContinuationToken
()
app/frontend/src/components/HistoryProviders/None.ts:5
MethodresetContinuationToken
()
app/frontend/src/components/HistoryProviders/IndexedDB.ts:35
Methodreturn_answer
()
app/backend/approaches/chatreadretrieveread.py:245
Methodrun
(self)
app/backend/prepdocslib/integratedvectorizerstrategy.py:168
Methodrun
(self)
app/backend/prepdocslib/strategy.py:65
Methodrun
(self)
app/backend/prepdocslib/cloudingestionstrategy.py:362
Methodrun
(self)
app/backend/prepdocslib/filestrategy.py:119
Methodrun
( self, messages: list[EasyInputMessageParam], session_state: Any = None, cont
app/backend/approaches/chatreadretrieveread.py:204
Functionrun_server
(port: int)
tests/e2e.py:44
Methodrun_stream
( self, messages: list[EasyInputMessageParam], session_state: Any = None, cont
app/backend/approaches/chatreadretrieveread.py:214
Functionsample_image
Fixture for a sample ImageOnPage object used across multiple tests.
tests/test_pdfparser.py:42
Functionsearch_info
()
tests/test_searchmanager.py:35
Methodsend
(self, request: HttpRequest, **kwargs)
tests/test_content_file.py:28
Methodsend
(self, request: HttpRequest, **kwargs)
tests/mocks.py:106
Methodserialize_for_results
(self)
app/backend/approaches/approach.py:118
Methodserialize_for_results
(self)
app/backend/approaches/approach.py:138
Methodsetup
(self)
app/backend/prepdocslib/integratedvectorizerstrategy.py:136
Methodsetup
(self)
app/backend/prepdocslib/cloudingestionstrategy.py:287
Functionsetup_clients
()
app/backend/app.py:396
Functionsetup_clients
()
app/backend/chat_history/cosmosdb.py:206
Functionsized_page
(page: Page, request)
tests/e2e.py:80
← previousnext →701–800 of 1,218, ranked by callers