PostProcessor Configuration
PostProcessor Configuration documentation for Python SDK
Post-processor configuration for transforming retrieval results. Custom processors are discovered from installed extensions and must be referenced by their fully qualified factory class name. See https://docs.goodmem.ai/docs/reference/post-processors/chat-post-processor/ for the built-in ChatPostProcessor configuration.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | Fully qualified factory class name of the post-processor to apply. | |
| config | Dict[str, object] | Configuration parameters for the post-processor. Fields depend on the selected processor; see the linked documentation for the built-in ChatPostProcessor schema. | [optional] |
Example
from goodmem_client.models.post_processor import PostProcessor
# TODO update the JSON string below
json = "{}"
# create an instance of PostProcessor from a JSON string
post_processor_instance = PostProcessor.from_json(json)
# print the JSON string representation of the object
print(PostProcessor.to_json())
# convert the object into a dict
post_processor_dict = post_processor_instance.to_dict()
# create an instance of PostProcessor from a dict
post_processor_from_dict = PostProcessor.from_dict(post_processor_dict)↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK