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
adls_blob_manager
(monkeypatch)
tests/test_blob_manager.py:32
Function
all_locales
()
tests/test_frontend_locales.py:25
Method
any_citation
(*, response, **kwargs)
evals/evaluate.py:44
Method
ask_question
(self)
locustfile.py:11
Function
assets
(path)
app/backend/app.py:133
Function
auth_client
( monkeypatch, mock_openai_chatcompletion, mock_openai_embedding, mock_confidential_client_suc
tests/conftest.py:743
Function
auth_handler
(path="")
app/backend/decorators.py:19
Function
auth_public_documents_client
( monkeypatch, mock_openai_chatcompletion, mock_openai_embedding, mock_confidential_client_suc
tests/conftest.py:782
Function
auth_setup
()
app/backend/app.py:270
Function
authenticated
Decorator for routes that might require access control. Unpacks Authorization header information into an auth_claims dictionary
app/backend/decorators.py:44
Function
authenticated_path
Decorator for routes that request a specific file that might require access control enforcement
app/backend/decorators.py:13
Function
bad_send_async
(request_info, return_type, error_mapping=None)
tests/test_auth_init.py:157
Method
before_retry_sleep
(retry_state)
app/backend/prepdocslib/mediadescriber.py:126
Method
before_retry_sleep
(self, retry_state)
app/backend/prepdocslib/embeddings.py:67
Method
before_retry_sleep
(self, retry_state)
app/backend/prepdocslib/embeddings.py:233
Function
blob_manager
()
tests/test_blob_manager.py:20
Method
by_page
(self)
tests/test_manageacl.py:33
Method
by_page
Return a paged iterator
tests/test_cosmosdb_migration.py:63
Method
by_page
(self, continuation_token=None)
tests/test_cosmosdb.py:92
Function
chat
(auth_claims: dict[str, Any])
app/backend/app.py:209
Function
chat_approach
()
tests/conftest.py:1129
Function
chat_stream
(auth_claims: dict[str, Any])
app/backend/app.py:238
Method
citations_matched
(*, response, ground_truth, **kwargs)
evals/evaluate.py:66
Method
clean_source
(s: str)
app/backend/approaches/approach.py:739
Function
clearChat
()
app/frontend/src/pages/chat/Chat.tsx:355
Function
client
( monkeypatch, mock_env, mock_openai_chatcompletion, mock_openai_embedding, mock_acs_searc
tests/conftest.py:640
Function
client_with_expiring_token
( monkeypatch, mock_env, mock_openai_chatcompletion, mock_openai_embedding, mock_acs_searc
tests/conftest.py:723
Method
close
(self)
tests/test_content_file.py:54
Function
close_clients
()
app/backend/app.py:742
Function
close_clients
()
app/backend/chat_history/cosmosdb.py:234
Method
close_clients
(self)
app/backend/prepdocslib/blobmanager.py:148
Function
config
()
app/backend/app.py:276
Method
constructor
(dbName: string, storeName: string)
app/frontend/src/components/HistoryProviders/IndexedDB.ts:13
Function
content_file
Serve content files from blob storage from within the app to keep the example self-contained. *** NOTE *** if you are using app services auth
app/backend/app.py:139
Method
create
(self, *args, **kwargs)
tests/test_mediadescriber.py:156
Method
create
(self, *args, **kwargs)
tests/test_prepdocs.py:25
Method
create
(self, *args, **kwargs)
tests/test_prepdocs.py:87
Method
create
(self, *args, **kwargs)
tests/test_prepdocs.py:134
Method
create
(self, *, model: str, input, **kwargs)
tests/test_prepdocs.py:199
Method
create_analyzer
(self)
tests/test_prepdocslib_filestrategy.py:119
Method
create_embeddings
(self, texts: list[str])
tests/test_function_apps.py:490
Function
create_rate_limit_client
(*args, **kwargs)
tests/test_prepdocs.py:93
Method
default
(self, o)
app/backend/app.py:185
Method
deleteItem
(id: string, idToken?: string)
app/frontend/src/components/HistoryProviders/CosmosDB.ts:47
Method
deleteItem
(id: string)
app/frontend/src/components/HistoryProviders/None.ts:17
Method
deleteItem
(id: string)
app/frontend/src/components/HistoryProviders/IndexedDB.ts:99
Function
delete_chat_history_session
(auth_claims: dict[str, Any], session_id: str)
app/backend/chat_history/cosmosdb.py:174
Function
delete_uploaded
(auth_claims: dict[str, Any])
app/backend/app.py:372
Method
download_blob
Downloads a blob from Azure Storage. If user_oid is provided, it checks if the blob belongs to the user. Args: b
app/backend/prepdocslib/blobmanager.py:103
Method
download_blob
Downloads a blob from Azure Data Lake Storage. Args: blob_path: The path to the blob in the format {user_oid}/{document_
app/backend/prepdocslib/blobmanager.py:258
Method
download_blob
(self)
tests/test_content_file.py:89
Method
download_blob
(self, blob_path: str)
tests/test_function_apps.py:87
Method
download_file
(self)
tests/test_content_file.py:117
Function
embeddings_client
()
tests/test_embeddings.py:9
Method
evaluator_fn
(cls, **kwargs)
evals/evaluate.py:43
Method
evaluator_fn
(cls, **kwargs)
evals/evaluate.py:65
Function
explode
(*_args, **_kwargs)
tests/test_chatapproach.py:109
Function
extractCitationDetails
(answer: ChatAppResponse, isStreaming = false)
app/frontend/src/components/Answer/AnswerParser.tsx:216
Function
extract_document
Azure Search Custom Skill: Extract document content Input format (single record): { "values": [ { "r
app/functions/document_extractor/function_app.py:112
Function
failing_process
(data: dict[str, Any])
tests/test_function_apps.py:232
Function
fake_download_blob
(blob_path: str, user_oid=None, container=None)
tests/test_chatapproach.py:384
Function
fake_download_blob
(_path, user_oid=None, container=None)
tests/test_app.py:168
Function
fake_get_application
(graph_client, client_id)
tests/test_auth_init.py:198
Function
fake_get_bearer_token_provider
(credential: Any, scope: str)
tests/test_function_apps.py:431
Function
fake_get_media_describer
(self)
tests/test_pdfparser.py:526
Function
fake_get_sources_content
(*args, **kwargs)
tests/test_chatapproach.py:662
Function
fake_process_page_image
(*, image, document_filename: str, **kwargs: Any)
tests/test_function_apps.py:331
Function
fake_response
(http_code)
tests/test_app.py:15
Function
fake_rewrite_query
(*args, **kwargs)
tests/test_chatapproach.py:641
Function
fake_rewrite_query
(**_kwargs)
tests/test_agentic_retrieval.py:152
Function
fake_run_until_final_call
(messages, overrides, auth_claims, should_stream)
tests/test_chatapproach.py:592
Function
fake_search
(*args, **kwargs)
tests/test_chatapproach.py:659
Function
fake_send_async
(request_info, return_type, error_mapping=None)
tests/test_auth_init.py:65
Function
fake_send_from_directory
(directory, requested_path)
tests/test_app.py:101
Function
fake_service_principals_with_app_id
(app_id)
tests/test_auth_init.py:58
Function
fake_setup_blob_manager
(**kwargs: Any)
tests/test_function_apps.py:408
Function
fake_setup_embeddings_service
(openai_host, openai_client, **kwargs)
tests/test_function_apps.py:933
Function
fake_setup_figure_processor
(**kwargs: Any)
tests/test_function_apps.py:412
Function
fake_setup_openai_client
( *, openai_host: Any, azure_credential: Any, azure_openai_service: str | None
tests/test_function_apps.py:416
Function
fake_update_env
(name, val)
tests/test_auth_init.py:190
Function
favicon
()
app/backend/app.py:128
Method
fits
(candidate: str)
app/backend/prepdocslib/textsplitter.py:495
Function
free_port
Returns a free port for the test server to bind.
tests/e2e.py:36
Method
get
(self)
tests/test_auth_init.py:109
Method
getItem
(id: string, idToken?: string)
app/frontend/src/components/HistoryProviders/CosmosDB.ts:42
Method
getItem
(id: string)
app/frontend/src/components/HistoryProviders/None.ts:14
Method
getItem
(id: string)
app/frontend/src/components/HistoryProviders/IndexedDB.ts:92
Method
getNextItems
(count: number, idToken?: string)
app/frontend/src/components/HistoryProviders/CosmosDB.ts:15
Method
getNextItems
(count: number)
app/frontend/src/components/HistoryProviders/None.ts:8
Method
getNextItems
(count: number)
app/frontend/src/components/HistoryProviders/IndexedDB.ts:40
Method
getProviderName
()
app/frontend/src/components/HistoryProviders/IProvider.ts:13
Method
get_access_control
(self, *args, **kwargs)
tests/test_upload.py:38
Method
get_access_control
(self)
tests/test_content_file.py:105
Method
get_access_control
(self, upn: bool = False)
tests/test_function_apps.py:156
Method
get_aggregate_stats
(cls, df)
evals/evaluate.py:53
Method
get_aggregate_stats
(cls, df)
evals/evaluate.py:81
Function
get_chat_history_session
(auth_claims: dict[str, Any], session_id: str)
app/backend/chat_history/cosmosdb.py:134
Function
get_chat_history_sessions
(auth_claims: dict[str, Any])
app/backend/chat_history/cosmosdb.py:81
Method
get_count
(self)
tests/test_upload.py:216
Method
get_count
(self)
tests/test_searchmanager.py:733
← previous
next →
501–600 of 1,218, ranked by callers