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

Methodget_count
(self)
tests/test_cosmosdb.py:89
Methodget_directory_properties
(self, *args, **kwargs)
tests/test_upload.py:24
Methodget_directory_properties
(self)
tests/test_content_file.py:101
Methodget_file_client
(self, *args, **kwargs)
tests/test_upload.py:41
Methodget_file_client
(self, filename)
tests/test_content_file.py:109
Methodget_file_client
(self, path)
tests/test_function_apps.py:160
Methodget_token
(self, *scopes, **kwargs)
tests/mocks.py:59
Functiongraph_client
GraphServiceClient whose network layer is intercepted to avoid real HTTP calls. We exercise real request builders while intercepting the adapter'
tests/test_auth_init.py:35
Functiongroundedness_pass_value
(row: dict[str, Any])
evals/eval_compare.py:16
Functionhandle
(route: Route)
tests/e2e.py:95
FunctionhandleButtonClick
()
app/frontend/src/components/UploadFile/UploadFile.tsx:34
FunctionhandleCompositionEnd
()
app/frontend/src/components/QuestionInput/QuestionInput.tsx:81
FunctionhandleCompositionStart
()
app/frontend/src/components/QuestionInput/QuestionInput.tsx:78
FunctionhandleCopy
()
app/frontend/src/components/Answer/Answer.tsx:52
FunctionhandleDelete
(id: string)
app/frontend/src/components/HistoryPanel/HistoryPanel.tsx:62
FunctionhandleLanguageChange
(_ev: SelectionEvents, data: OptionOnSelectData)
app/frontend/src/i18n/LanguagePicker.tsx:16
FunctionhandleLoginPopup
()
app/frontend/src/components/LoginButton/LoginButton.tsx:25
FunctionhandleLogoutPopup
()
app/frontend/src/components/LoginButton/LoginButton.tsx:42
FunctionhandleSelect
(id: string)
app/frontend/src/components/HistoryPanel/HistoryPanel.tsx:54
FunctionhandleSettingsChange
(field: string, value: any)
app/frontend/src/pages/chat/Chat.tsx:379
FunctionhandleUploadFile
(e: ChangeEvent<HTMLInputElement>)
app/frontend/src/components/UploadFile/UploadFile.tsx:77
Functionhandle_auth_setup
(route: Route)
tests/e2e.py:529
Functionhandle_chat
(route: Route)
tests/e2e.py:317
Functionhandle_config
(route: Route)
tests/e2e.py:341
Functionindex
()
app/backend/app.py:116
Functionknowledgebase_auth_client
( monkeypatch, mock_knowledgebase_auth_env, mock_openai_chatcompletion, mock_openai_embedding,
tests/conftest.py:698
Functionknowledgebase_client
( monkeypatch, mock_knowledgebase_env, mock_openai_chatcompletion, mock_openai_embedding,
tests/conftest.py:678
Functionlist_uploaded
Lists the uploaded documents for the current user. Only returns files directly in the user's directory, not in subdirectories. Excludes image
app/backend/app.py:385
Functionlive_server_url
(mock_env, mock_acs_search, free_port: int)
tests/e2e.py:70
FunctionloadMoreHistory
()
app/frontend/src/components/HistoryPanel/HistoryPanel.tsx:43
Functionminimal_env
(monkeypatch)
tests/test_app_config.py:11
Functionmock_acquire_token_on_behalf_of
(self, *args, **kwargs)
tests/conftest.py:891
Functionmock_acreate
(*args, **kwargs)
tests/conftest.py:120
Functionmock_acs_search
(monkeypatch)
tests/conftest.py:288
Functionmock_acs_search_filter
(monkeypatch)
tests/conftest.py:308
Functionmock_adlsgen2setup
(monkeypatch)
tests/test_adlsgen2setup.py:42
Functionmock_adlsgen2setup_create_service_client
(self, *args, **kwargs)
tests/test_adlsgen2setup.py:43
Functionmock_aenter
(self, *args, **kwargs)
tests/conftest.py:930
Functionmock_aexit
(self, *args, **kwargs)
tests/conftest.py:933
Functionmock_azurehttp_calls
(monkeypatch)
tests/conftest.py:91
Functionmock_begin_analyze_document
(self, model_id, **kwargs)
tests/test_pdfparser.py:185
Functionmock_blob_container_client
(monkeypatch)
tests/conftest.py:318
Functionmock_blob_container_client_does_not_exist
(monkeypatch)
tests/conftest.py:331
Functionmock_blob_container_client_exists
(monkeypatch)
tests/conftest.py:323
Functionmock_close_aio
(self, *args, **kwargs)
tests/conftest.py:1084
Functionmock_confidential_client_success
(monkeypatch)
tests/conftest.py:890
Functionmock_confidential_client_unauthorized
(monkeypatch)
tests/conftest.py:908
Functionmock_create_container
(*args, **kwargs)
tests/test_blob_manager.py:152
Functionmock_create_directory_aio
(self, directory, *args, **kwargs)
tests/conftest.py:976
Functionmock_create_embedding_for_text
(self, q: str)
tests/test_chatapproach.py:273
Functionmock_create_embeddings
(self, texts)
tests/test_upload.py:61
Functionmock_create_embeddings
(texts)
tests/test_function_apps.py:1182
Functionmock_create_filesystem_aio
(self, *args, **kwargs)
tests/conftest.py:973
Functionmock_create_index
(self, index)
tests/test_searchmanager.py:47
Functionmock_create_index
(self)
tests/test_prepdocslib_filestrategy.py:134
Functionmock_create_or_update_index
(self, index, *args, **kwargs)
tests/test_manageacl.py:304
Functionmock_create_or_update_index
(self, index, *args, **kwargs)
tests/test_searchmanager.py:112
Functionmock_create_or_update_knowledge_base
(self, knowledge_base, *args, **kwargs)
tests/test_searchmanager.py:1093
Functionmock_create_or_update_knowledge_source
(self, knowledge_source, *args, **kwargs)
tests/test_searchmanager.py:1089
Functionmock_create_pem_format
(*args, **kwargs)
tests/test_authenticationhelper.py:435
Functionmock_crop_image_from_pdf_page
(doc, page_number, bounding_box)
tests/test_pdfparser.py:159
Functionmock_data_lake_service_client
(monkeypatch)
tests/conftest.py:926
Functionmock_decode
(*args, **kwargs)
tests/test_authenticationhelper.py:430
Functionmock_delete_blob
(self, name, *args, **kwargs)
tests/test_blob_manager.py:80
Functionmock_delete_directory
(self)
tests/test_upload.py:239
Functionmock_delete_documents
(self, documents)
tests/test_upload.py:233
Functionmock_delete_documents
(self, documents)
tests/test_searchmanager.py:763
Functionmock_delete_file
(self)
tests/test_upload.py:158
Functionmock_delete_item
(container_proxy, item, partition_key, **kwargs)
tests/test_cosmosdb.py:390
Functionmock_describe
(bytes)
tests/test_prepdocslib_filestrategy.py:63
Functionmock_directory_get_file_client
(self, *args, **kwargs)
tests/test_upload.py:163
Functionmock_directory_get_file_client
(self, *args, **kwargs)
tests/conftest.py:1068
Functionmock_download_blob
(*args, **kwargs)
tests/test_blob_manager.py:324
Functionmock_download_file
(self, *args, **kwargs)
tests/conftest.py:1023
Functionmock_download_file_aio
(self, *args, **kwargs)
tests/conftest.py:1026
Functionmock_ensure_directory
(self, directory_path, user_oid)
tests/test_blob_manager.py:258
Functionmock_env
(monkeypatch, request)
tests/conftest.py:500
Functionmock_execute_item_batch
(container_proxy, **kwargs)
tests/test_cosmosdb.py:103
Functionmock_exists
(*args, **kwargs)
tests/conftest.py:324
Functionmock_exists
(*args, **kwargs)
tests/test_blob_manager.py:147
Functionmock_exists_aio
(self, *args, **kwargs)
tests/conftest.py:970
Functionmock_get
(self, url, **kwargs)
tests/test_mediadescriber.py:45
Functionmock_get
(*args, **kwargs)
tests/test_authenticationhelper.py:397
Functionmock_get
(self, url, *args, **kwargs)
tests/test_adlsgen2setup.py:55
Functionmock_get_access_control
(self, *args, **kwargs)
tests/conftest.py:1029
Functionmock_get_directory_properties
(self, *args, **kwargs)
tests/conftest.py:1062
Functionmock_get_file_client
(self, path, *args, **kwargs)
tests/conftest.py:965
Functionmock_get_file_system_client
(self, *args, **kwargs)
tests/conftest.py:936
Functionmock_get_file_system_client_aio
(self, name, *args, **kwargs)
tests/conftest.py:942
Functionmock_get_group_missing
(monkeypatch)
tests/test_adlsgen2setup.py:74
Functionmock_get_group_success
(monkeypatch)
tests/test_adlsgen2setup.py:54
Functionmock_get_index
(self, *args, **kwargs)
tests/test_manageacl.py:299
Functionmock_get_index
(self, *args, **kwargs)
tests/test_searchmanager.py:100
Functionmock_get_index
(*args, **kwargs)
tests/conftest.py:291
Functionmock_get_knowledge_base
(*args, **kwargs)
tests/conftest.py:301
Functionmock_get_paths
(self, *args, **kwargs)
tests/test_upload.py:145
Functionmock_get_paths
(self, *args, **kwargs)
tests/conftest.py:989
Functionmock_get_root_directory_client_aio
(self, *args, **kwargs)
tests/conftest.py:982
Functionmock_init
(self, *args, **kwargs)
tests/conftest.py:901
Functionmock_init_directory
(self, path, *args, **kwargs)
tests/conftest.py:1058
← previousnext →601–700 of 1,218, ranked by callers