mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +03:00
Merge branch 'docs/llm-model-registry-refactor' of github.com:rmitsch/spaCy into docs/llm-model-registry-refactor
This commit is contained in:
commit
c9b4dd2672
|
@ -1382,7 +1382,7 @@ provider's API.
|
||||||
|
|
||||||
| Argument | Description |
|
| Argument | Description |
|
||||||
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||||
| `name` | Any supporte model name for this particular model provider. ~~str~~ |
|
| `name` | Any supported model name for this particular model provider. ~~str~~ |
|
||||||
| `config` | Further configuration passed on to the model. Default depends on the specific model (cf. below). ~~Dict[Any, Any]~~ |
|
| `config` | Further configuration passed on to the model. Default depends on the specific model (cf. below). ~~Dict[Any, Any]~~ |
|
||||||
| `strict` | If `True`, raises an error if the LLM API returns a malformed response. Otherwise, return the error responses as is. Defaults to `True`. ~~bool~~ |
|
| `strict` | If `True`, raises an error if the LLM API returns a malformed response. Otherwise, return the error responses as is. Defaults to `True`. ~~bool~~ |
|
||||||
| `max_tries` | Max. number of tries for API request. Defaults to `5`. ~~int~~ |
|
| `max_tries` | Max. number of tries for API request. Defaults to `5`. ~~int~~ |
|
||||||
|
@ -1400,7 +1400,7 @@ provider's API.
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
Currently, these model providers are supported as part of the core library (more
|
Currently, these model providers are supported as part of the core library (more
|
||||||
can be used by leverage the LangChain integration):
|
can be used by leveraging the LangChain integration):
|
||||||
|
|
||||||
| Model | Provider | Information on available models | Default config |
|
| Model | Provider | Information on available models | Default config |
|
||||||
| -------------------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
|
| -------------------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user