diff --git a/docs-website/reference/haystack-api/audio_api.md b/docs-website/reference/haystack-api/audio_api.md index c761b3edf5..ccf3361a9c 100644 --- a/docs-website/reference/haystack-api/audio_api.md +++ b/docs-website/reference/haystack-api/audio_api.md @@ -111,8 +111,7 @@ Transcribes a list of audio files into a list of documents. ```python transcribe( - sources: list[str | Path | ByteStream], - **kwargs: list[str | Path | ByteStream] + sources: list[str | Path | ByteStream], **kwargs: Any ) -> list[Document] ``` diff --git a/docs-website/reference/haystack-api/builders_api.md b/docs-website/reference/haystack-api/builders_api.md index a5db1449d7..8589ac835d 100644 --- a/docs-website/reference/haystack-api/builders_api.md +++ b/docs-website/reference/haystack-api/builders_api.md @@ -282,7 +282,7 @@ Constructs a ChatPromptBuilder component. run( template: list[ChatMessage] | str | None = None, template_variables: dict[str, Any] | None = None, - **kwargs: dict[str, Any] | None + **kwargs: Any ) -> dict[str, list[ChatMessage]] ``` @@ -298,7 +298,7 @@ To overwrite pipeline kwargs, you can set the `template_variables` parameter. template. If `None`, the default template provided at initialization is used. - **template_variables** (dict\[str, Any\] | None) – An optional dictionary of template variables to overwrite the pipeline variables. -- **kwargs** – Pipeline variables used for rendering the prompt. +- **kwargs** (Any) – Pipeline variables used for rendering the prompt. **Returns:** diff --git a/docs-website/reference/haystack-api/connectors_api.md b/docs-website/reference/haystack-api/connectors_api.md index d56fbbae9d..1353949654 100644 --- a/docs-website/reference/haystack-api/connectors_api.md +++ b/docs-website/reference/haystack-api/connectors_api.md @@ -100,7 +100,7 @@ Invokes a REST endpoint specified in the OpenAPI specification. ```python patch_request( - self, + self: Operation, base_url: str, *, data: Any | None = None, diff --git a/docs-website/reference/haystack-api/evaluators_api.md b/docs-website/reference/haystack-api/evaluators_api.md index 541148142d..b7f42f77d7 100644 --- a/docs-website/reference/haystack-api/evaluators_api.md +++ b/docs-website/reference/haystack-api/evaluators_api.md @@ -166,7 +166,7 @@ If no LLM is specified using the `chat_generator` parameter, the component will #### run ```python -run(**inputs) -> dict[str, Any] +run(**inputs: Any) -> dict[str, Any] ``` Run the LLM evaluator. @@ -685,7 +685,7 @@ If no LLM is specified using the `chat_generator` parameter, the component will #### run ```python -run(**inputs) -> dict[str, Any] +run(**inputs: Any) -> dict[str, Any] ``` Run the LLM evaluator. @@ -837,14 +837,14 @@ Validate the init parameters. #### run ```python -run(**inputs) -> dict[str, Any] +run(**inputs: Any) -> dict[str, Any] ``` Run the LLM evaluator. **Parameters:** -- **inputs** – The input values to evaluate. The keys are the input names and the values are lists of input values. +- **inputs** (Any) – The input values to evaluate. The keys are the input names and the values are lists of input values. **Returns:** diff --git a/docs-website/reference/haystack-api/generators_api.md b/docs-website/reference/haystack-api/generators_api.md index 4564ee2cb4..bfc2fc3a92 100644 --- a/docs-website/reference/haystack-api/generators_api.md +++ b/docs-website/reference/haystack-api/generators_api.md @@ -220,7 +220,7 @@ __init__( AzureADTokenProvider | AsyncAzureADTokenProvider | None ) = None, http_client_kwargs: dict[str, Any] | None = None -) +) -> None ``` Initialize the Azure OpenAI Chat Generator component. diff --git a/docs-website/reference/haystack-api/joiners_api.md b/docs-website/reference/haystack-api/joiners_api.md index 04f624cde0..ac57500b13 100644 --- a/docs-website/reference/haystack-api/joiners_api.md +++ b/docs-website/reference/haystack-api/joiners_api.md @@ -255,14 +255,14 @@ Deserializes a `BranchJoiner` instance from a dictionary. #### run ```python -run(**kwargs) -> dict[str, Any] +run(**kwargs: Any) -> dict[str, Any] ``` Executes the `BranchJoiner`, selecting the first available input value and passing it downstream. **Parameters:** -- \*\***kwargs** – The input data. Must be of the type declared by `type_` during initialization. +- \*\***kwargs** (Any) – The input data. Must be of the type declared by `type_` during initialization. **Returns:**