mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-14 18:22:27 +03:00
Update formatting.
This commit is contained in:
parent
4c04db57bb
commit
4e0001ad1e
|
@ -351,14 +351,14 @@ Tasks may support prompt sharding (for more info see the API docs on
|
||||||
signatures for `generate_prompts` and `parse_responses` depend on whether they
|
signatures for `generate_prompts` and `parse_responses` depend on whether they
|
||||||
do.
|
do.
|
||||||
|
|
||||||
_For tasks *not supporting* sharding:_
|
For tasks **not supporting** sharding:
|
||||||
|
|
||||||
| Task | Description | |
|
| Task | Description | |
|
||||||
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | --- |
|
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | --- |
|
||||||
| [`task.generate_prompts`](/api/large-language-models#task-nonsharding-generate-prompts) | Takes a collection of documents, and returns a collection of prompts, which can be of type `Any`. |
|
| [`task.generate_prompts`](/api/large-language-models#task-nonsharding-generate-prompts) | Takes a collection of documents, and returns a collection of prompts, which can be of type `Any`. |
|
||||||
| [`task.parse_responses`](/api/large-language-models#task-nonsharding-parse-responses) | Takes a collection of LLM responses and the original documents, parses the responses into structured information, and sets the annotations on the documents. |
|
| [`task.parse_responses`](/api/large-language-models#task-nonsharding-parse-responses) | Takes a collection of LLM responses and the original documents, parses the responses into structured information, and sets the annotations on the documents. |
|
||||||
|
|
||||||
_For tasks *supporting* sharding:_
|
For tasks **supporting** sharding:
|
||||||
|
|
||||||
| Task | Description | |
|
| Task | Description | |
|
||||||
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --- |
|
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --- |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user