AzureBlobKnowledgeSourceParams Class
Specifies runtime parameters for a azure blob knowledge source.
Constructor
AzureBlobKnowledgeSourceParams()
Variables
| Name | Description |
|---|---|
|
knowledgeSourceName
|
The name of the index the params apply to. Required. |
|
includeReferences
|
Indicates whether references should be included for data retrieved from this source. |
|
includeReferenceSourceData
|
Indicates whether references should include the structured data obtained during retrieval in their payload. |
|
alwaysQuerySource
|
Indicates that this knowledge source should bypass source selection and always be queried at retrieval time. |
|
failOnError
|
Indicates that the entire retrieval request should fail if retrieval from this knowledge source encounters an error. Defaults to false. |
|
rerankerThreshold
|
The reranker threshold all retrieved documents must meet to be included in the response. |
|
maxOutputDocuments
|
Limits the maximum number of documents returned from this knowledge source. |
|
kind
|
Literal[KnowledgeSourceKind.AZURE_BLOB]
The discriminator value. Required. A knowledge source that read and ingest data from Azure Blob Storage to a Search Index. |
Methods
| clear | |
| copy | |
| fromkeys |
Create a new dictionary with keys from iterable and values set to value. |
| get |
Return the value for key if key is in the dictionary, else default. |
| items | |
| keys | |
| pop |
If the key is not found, return the default if given; otherwise, raise a KeyError. |
| popitem |
Remove and return a (key, value) pair as a 2-tuple. Pairs are returned in LIFO (last-in, first-out) order. Raises KeyError if the dict is empty. |
| setdefault |
Insert key with a value of default if key is not in the dictionary. Return the value for key if key is in the dictionary, else default. |
| update |
If E is present and has a .keys() method, then does: for k in E.keys(): D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k] |
| values |
clear
clear() -> None. Remove all items from D.
copy
copy() -> a shallow copy of D
fromkeys
Create a new dictionary with keys from iterable and values set to value.
fromkeys(value=None, /)
Positional-Only Parameters
| Name | Description |
|---|---|
|
iterable
Required
|
|
|
value
|
Default value: None
|
get
Return the value for key if key is in the dictionary, else default.
get(key, default=None, /)
Positional-Only Parameters
| Name | Description |
|---|---|
|
key
Required
|
|
|
default
|
Default value: None
|
items
items() -> a set-like object providing a view on D's items
keys
keys() -> a set-like object providing a view on D's keys
pop
If the key is not found, return the default if given; otherwise, raise a KeyError.
pop(k, [d]) -> v, remove specified key and return the corresponding value.
popitem
Remove and return a (key, value) pair as a 2-tuple.
Pairs are returned in LIFO (last-in, first-out) order. Raises KeyError if the dict is empty.
popitem()
setdefault
Insert key with a value of default if key is not in the dictionary.
Return the value for key if key is in the dictionary, else default.
setdefault(key, default=None, /)
Positional-Only Parameters
| Name | Description |
|---|---|
|
key
Required
|
|
|
default
|
Default value: None
|
update
If E is present and has a .keys() method, then does: for k in E.keys(): D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
update([E], **F) -> None. Update D from mapping/iterable E and F.
values
values() -> an object providing a view on D's values
Attributes
alwaysQuerySource
Indicates that this knowledge source should bypass source selection and always be queried at retrieval time.
alwaysQuerySource: bool
failOnError
Indicates that the entire retrieval request should fail if retrieval from this knowledge source encounters an error. Defaults to false.
failOnError: bool
includeReferenceSourceData
Indicates whether references should include the structured data obtained during retrieval in their payload.
includeReferenceSourceData: bool
includeReferences
Indicates whether references should be included for data retrieved from this source.
includeReferences: bool
kind
The discriminator value. Required. A knowledge source that read and ingest data from Azure Blob Storage to a Search Index.
kind: AZURE_BLOB: 'azureBlob'>]
knowledgeSourceName
The name of the index the params apply to. Required.
knowledgeSourceName: str
maxOutputDocuments
Limits the maximum number of documents returned from this knowledge source.
maxOutputDocuments: int
rerankerThreshold
The reranker threshold all retrieved documents must meet to be included in the response.
rerankerThreshold: float