Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs-website/reference/haystack-api/audio_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
```

Expand Down
4 changes: 2 additions & 2 deletions docs-website/reference/haystack-api/builders_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
```

Expand All @@ -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** (<code>dict\[str, Any\] | None</code>) – An optional dictionary of template variables to overwrite the pipeline variables.
- **kwargs** – Pipeline variables used for rendering the prompt.
- **kwargs** (<code>Any</code>) – Pipeline variables used for rendering the prompt.

**Returns:**

Expand Down
2 changes: 1 addition & 1 deletion docs-website/reference/haystack-api/connectors_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
8 changes: 4 additions & 4 deletions docs-website/reference/haystack-api/evaluators_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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** (<code>Any</code>) – The input values to evaluate. The keys are the input names and the values are lists of input values.

**Returns:**

Expand Down
2 changes: 1 addition & 1 deletion docs-website/reference/haystack-api/generators_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docs-website/reference/haystack-api/joiners_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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** (<code>Any</code>) – The input data. Must be of the type declared by `type_` during initialization.

**Returns:**

Expand Down