RetrievalConfig
RetrievalConfigDict
get_retrieval_config_dict
Name | Type | Description |
---|---|---|
config | Union[RetrievalConfig, RetrievalConfigDict] | The config to get the dict from. |
Retrieval
__init__
Name | Description |
---|---|
config | The config to initialize the retrieval with. |
writer | The writer to use. |
input
Name | Description |
---|---|
query | The query to set for the retrieval. |
input_
Name | Description |
---|---|
writer | The writer to use. |
id | The id of the retrieval. |
query | The query to set for the retrieval. |
output
Name | Description |
---|---|
docs | The docs to set for the retrieval. |
add_attachment
Name | Description |
---|---|
attachment | The attachment to add to the retrieval. |
add_attachment_
Name | Description |
---|---|
writer | The writer to use. |
id | The id of the retrieval. |
attachment | The attachment to add to the retrieval. |
output_
Name | Description |
---|---|
writer | The writer to use. |
id | The id of the retrieval. |
docs | The docs to set for the retrieval. |
end_
Name | Description |
---|---|
writer | The writer to use. |
id | The id of the retrieval. |
data | The data to set for the retrieval. |
add_tag_
Name | Description |
---|---|
writer | The writer to use. |
id | The id of the retrieval. |
key | The key of the tag. |
value | The value of the tag. |