Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Azure-Samples/azure-search-openai-demo
/ functions
Functions
1,218 in github.com/Azure-Samples/azure-search-openai-demo
⨍
Functions
1,218
◇
Types & classes
192
↳
Endpoints
21
Function
mock_init_file
(self, *args, **kwargs)
tests/conftest.py:1016
Function
mock_init_filesystem_aio
(self, *args, **kwargs)
tests/conftest.py:962
Function
mock_init_service_client_aio
(self, *args, **kwargs)
tests/conftest.py:939
Function
mock_knowledgebase_auth_env
(monkeypatch, request)
tests/conftest.py:578
Function
mock_knowledgebase_env
(monkeypatch, request)
tests/conftest.py:554
Function
mock_list_blob_names
(*args, **kwargs)
tests/test_blob_manager.py:61
Function
mock_list_index_names
(self)
tests/test_searchmanager.py:50
Function
mock_merge_documents
(self, *args, **kwargs)
tests/test_manageacl.py:106
Function
mock_open
(monkeypatch)
tests/test_adlsgen2setup.py:27
Function
mock_parse
(content)
tests/test_prepdocslib_filestrategy.py:33
Function
mock_poller_result
()
tests/test_pdfparser.py:190
Function
mock_post
(*args, **kwargs)
tests/test_mediadescriber.py:23
Function
mock_post
(*args, **kwargs)
tests/conftest.py:92
Function
mock_post
(*args, **kwargs)
tests/test_adlsgen2setup.py:86
Function
mock_process_text
(pages, file, splitter, category)
tests/test_prepdocslib_filestrategy.py:69
Function
mock_process_text
(pages, file, splitter, category)
tests/test_function_apps.py:987
Function
mock_put
(self, *args, **kwargs)
tests/test_mediadescriber.py:98
Function
mock_put_group
(monkeypatch)
tests/test_adlsgen2setup.py:85
Function
mock_query_items
(container_proxy, query, **kwargs)
tests/test_cosmosdb.py:200
Function
mock_read_item
(container_proxy, item, partition_key, **kwargs)
tests/test_cosmosdb.py:318
Function
mock_readinto
(self, stream: IO[bytes])
tests/conftest.py:1108
Function
mock_reasoning_env
(monkeypatch, request)
tests/conftest.py:527
Function
mock_retrieval
(*args, **kwargs)
tests/test_chatapproach.py:44
Function
mock_retrieval
(*args, **kwargs)
tests/test_agentic_retrieval.py:47
Function
mock_retrieve_parameterized
(self, *args, **kwargs)
tests/mocks.py:387
Function
mock_search
(self, *args, **kwargs)
tests/test_upload.py:223
Function
mock_search
(self, *args, **kwargs)
tests/test_manageacl.py:71
Function
mock_search
(self, *args, **kwargs)
tests/test_searchmanager.py:754
Function
mock_search
(self, *args, **kwargs)
tests/test_authenticationhelper.py:145
Function
mock_search
(self, *args, **kwargs)
tests/conftest.py:84
Function
mock_search_knowledgebase
(monkeypatch)
tests/conftest.py:298
Function
mock_speak_text_cancelled
(self, text)
tests/mocks.py:681
Function
mock_speak_text_failed
(self, text)
tests/mocks.py:685
Function
mock_speak_text_success
(self, text)
tests/mocks.py:677
Function
mock_speech_cancelled
(monkeypatch)
tests/conftest.py:109
Function
mock_speech_failed
(monkeypatch)
tests/conftest.py:114
Function
mock_speech_success
(monkeypatch)
tests/conftest.py:104
Function
mock_update_access_control_recursive_aio
(self, acl, *args, **kwargs)
tests/conftest.py:1075
Function
mock_upload
(*args, **kwargs)
tests/test_prepdocslib_filestrategy.py:55
Function
mock_upload_blob
(self, name, *args, **kwargs)
tests/test_blob_manager.py:49
Function
mock_upload_data
(data, overwrite=True, metadata=None)
tests/test_blob_manager.py:265
Function
mock_upload_data_aio
(self, *args, **kwargs)
tests/conftest.py:1039
Function
mock_upload_documents
(self, documents)
tests/test_upload.py:66
Function
mock_upload_documents
(self, documents)
tests/test_searchmanager.py:514
Function
mock_upload_file
(self, *args, **kwargs)
tests/test_upload.py:55
Function
mock_upsert_item
(container_proxy, item, **kwargs)
tests/test_cosmosdb.py:178
Function
mock_url
(self, *args, **kwargs)
tests/conftest.py:1020
Function
mock_user_directory_client
(monkeypatch)
tests/conftest.py:1120
Function
mock_validate_access_token
(self, token)
tests/conftest.py:883
Function
mock_validate_token_success
(monkeypatch)
tests/conftest.py:882
Function
mock_vision_auth_env
(monkeypatch, request)
tests/conftest.py:621
Function
mock_vision_env
(monkeypatch, request)
tests/conftest.py:602
Method
name
(self)
tests/test_pdfparser.py:283
Function
onEnterPress
(ev: React.KeyboardEvent<Element>)
app/frontend/src/components/QuestionInput/QuestionInput.tsx:69
Function
onExampleClicked
(example: string)
app/frontend/src/pages/chat/Chat.tsx:491
Function
onQuestionChange
(_ev: React.ChangeEvent<HTMLTextAreaElement>, data: { value: string })
app/frontend/src/components/QuestionInput/QuestionInput.tsx:85
Function
onRetrievalModeChange
(_ev: any, data: OptionOnSelectData)
app/frontend/src/components/VectorSettings/VectorSettings.tsx:33
Function
onSearchImageEmbeddingsChange
(_ev: any, data: CheckboxOnChangeData)
app/frontend/src/components/VectorSettings/VectorSettings.tsx:44
Function
onSearchTextEmbeddingsChange
(_ev: any, data: CheckboxOnChangeData)
app/frontend/src/components/VectorSettings/VectorSettings.tsx:39
Function
onStopClick
()
app/frontend/src/pages/chat/Chat.tsx:516
Method
open
(self)
tests/test_content_file.py:51
Method
parse
(self, content: Any)
tests/test_function_apps.py:64
Method
parse
(self, content)
tests/test_function_apps.py:276
Method
poll
()
app/backend/prepdocslib/mediadescriber.py:58
Function
pop_citation_activity_details
(result: dict[str, Any] | None)
tests/test_app.py:50
Function
post_chat_history
(auth_claims: dict[str, Any])
app/backend/chat_history/cosmosdb.py:24
Function
process_figure_request
Entrypoint for Azure Search custom skill calls.
app/functions/figure_processor/function_app.py:129
Function
process_text_entry
Azure Search custom skill entry point for chunking and embeddings.
app/functions/text_processor/function_app.py:119
Function
pytest_generate_tests
Parametrize the test_doc fixture with all the pdf files in the test-data directory.
tests/test_prepdocslib_textsplitter.py:101
Method
read
(self)
tests/mocks.py:632
Method
read
(self)
tests/mocks.py:641
Method
readall
(self)
tests/test_blob_manager.py:321
Method
readall
(self)
tests/test_blob_manager.py:385
Method
readinto
(self, buffer: BytesIO)
tests/mocks.py:81
Function
reasoning_client
( monkeypatch, mock_reasoning_env, mock_openai_chatcompletion, mock_openai_embedding, mock
tests/conftest.py:659
Function
redirect
()
app/backend/app.py:123
Function
relevance_pass_value
(row: dict[str, Any])
evals/eval_compare.py:21
Method
remove_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
Method
resetContinuationToken
()
app/frontend/src/components/HistoryProviders/CosmosDB.ts:10
Method
resetContinuationToken
()
app/frontend/src/components/HistoryProviders/None.ts:5
Method
resetContinuationToken
()
app/frontend/src/components/HistoryProviders/IndexedDB.ts:35
Method
return_answer
()
app/backend/approaches/chatreadretrieveread.py:245
Method
run
(self)
app/backend/prepdocslib/integratedvectorizerstrategy.py:168
Method
run
(self)
app/backend/prepdocslib/strategy.py:65
Method
run
(self)
app/backend/prepdocslib/cloudingestionstrategy.py:362
Method
run
(self)
app/backend/prepdocslib/filestrategy.py:119
Method
run
( self, messages: list[EasyInputMessageParam], session_state: Any = None, cont
app/backend/approaches/chatreadretrieveread.py:204
Function
run_server
(port: int)
tests/e2e.py:44
Method
run_stream
( self, messages: list[EasyInputMessageParam], session_state: Any = None, cont
app/backend/approaches/chatreadretrieveread.py:214
Function
sample_image
Fixture for a sample ImageOnPage object used across multiple tests.
tests/test_pdfparser.py:42
Function
search_info
()
tests/test_searchmanager.py:35
Method
send
(self, request: HttpRequest, **kwargs)
tests/test_content_file.py:28
Method
send
(self, request: HttpRequest, **kwargs)
tests/mocks.py:106
Method
serialize_for_results
(self)
app/backend/approaches/approach.py:118
Method
serialize_for_results
(self)
app/backend/approaches/approach.py:138
Method
setup
(self)
app/backend/prepdocslib/integratedvectorizerstrategy.py:136
Method
setup
(self)
app/backend/prepdocslib/cloudingestionstrategy.py:287
Function
setup_clients
()
app/backend/app.py:396
Function
setup_clients
()
app/backend/chat_history/cosmosdb.py:206
Function
sized_page
(page: Page, request)
tests/e2e.py:80
← previous
next →
701–800 of 1,218, ranked by callers