diff --git a/website/docs/api/large-language-models.mdx b/website/docs/api/large-language-models.mdx index 934ee0507..1fa6a27cb 100644 --- a/website/docs/api/large-language-models.mdx +++ b/website/docs/api/large-language-models.mdx @@ -322,7 +322,7 @@ this is not enforced to allow for maximum flexibility in the framework. #### task.parse_responses {id="task-sharding-parse-responses"} -Receives a collection of collection of LLM responses (i. e. each doc can have +Receives a collection of collections of LLM responses (i. e. each doc can have multiple shards, each of which have exactly one prompt / prompt response) and the original shards, parses the responses into structured information, sets the annotations on the shards, and merges back doc shards into single docs. The diff --git a/website/docs/usage/large-language-models.mdx b/website/docs/usage/large-language-models.mdx index 9507e556c..e185b726f 100644 --- a/website/docs/usage/large-language-models.mdx +++ b/website/docs/usage/large-language-models.mdx @@ -372,10 +372,10 @@ documents. | | | [`task.generate_prompts`](/api/large-language-models#task-sharding-generate-prompts) -| Takes a collection of documents, and returns a collection of collection of +| Takes a collection of documents, and returns a collection of collections of prompt shards, which can be of type `Any`. | | [`task.parse_responses`](/api/large-language-models#task-sharding-parse-responses) -| Takes a collection of collection of LLM responses (one per prompt shard) and +| Takes a collection of collections of LLM responses (one per prompt shard) and the original documents, parses the responses into structured information, sets the annotations on the doc shards, and merges those doc shards back into a single doc instance. |