Skip to content

APITimeoutError #5

@yigit353

Description

@yigit353

While indexing files, I get the error below. What do you think could be done to fix this?

/.cache/pypoetry/virtualenvs/llamaindex-fastapi-streaming-2J97Ot5s-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 887, in _request
    raise APITimeoutError(request=request) from err
openai.APITimeoutError: Request timed out.

When I restart it, it's back to normal. But after a while (like after 20 steps) request time out can happen.

Maybe cache the intermediate results and restart from the cache when time out happens. Don't you come across this?

Or is this related to something else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions