[docs][misc] IOProcessor plugins fixes (#24046)

Signed-off-by: Christian Pinto <christian.pinto@ibm.com>
This commit is contained in:
Christian Pinto
2025-09-01 09:17:41 -07:00
committed by GitHub
parent 39a22dcaac
commit cf91a89dd2
6 changed files with 14 additions and 23 deletions
+2 -1
View File
@@ -1424,9 +1424,10 @@ class IOProcessorRequest(OpenAIBaseModel, Generic[T]):
When using plugins IOProcessor plugins, the actual input is processed
by the plugin itself. Hence, we use a generic type for the request data
"""
softmax: bool = True
def to_pooling_params(self):
return PoolingParams(task="encode")
return PoolingParams(task="encode", softmax=self.softmax)
class IOProcessorResponse(OpenAIBaseModel, Generic[T]):