explosion / explosion/spacy-llm
GPT4 context_length is not working
Open
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
with the following entry in my config file
```
[components.llm.model]
@llm_models = "spacy.GPT-4.v3"
name = "gpt-4-turbo"
config = {"temperature": 0.0}
context_length = 110000
```
The context_length seems to be read correctly from the config, since it suppresses the sharding context_length error. However, I am still getting context length errors returned from openai, saying the corresponding text exceeds the token limit.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.