You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run ./target/release/askbend -c askbend.toml --rebuild cmd , I got the error as blow. how to fix this?
[2023-10-16T02:07:41Z INFO ] embedding 605/1936, time: 513.095121ms
Error: APIError: ResponseError with 1001: openai embedding request error:Internal. Code: 1001, Text = openai embedding request error: ApiError("{\"error\":{\"message\":\"This model's maximum context length is 8191 tokens, however you requested 8916 tokens (8916 in your prompt; 0 for the completion). Please reduce your prompt; or completion length.\",\"type\":\"invalid_request_error\",\"param\":null,\"code\":null}}").
The text was updated successfully, but these errors were encountered:
One of your file length is larger than 8191(prompts length + content length = 8916).
We should split this file into two parts, make sure not near 8191.
when I run
./target/release/askbend -c askbend.toml --rebuild
cmd , I got the error as blow. how to fix this?The text was updated successfully, but these errors were encountered: