Skip to content

Issue with model for 01_08_rag.py #1

Description

@snehamysynaptica

Hello! I am getting this error when I run the code.

weaviate.exceptions.WeaviateQueryError: Query call with protocol GRPC search failed with message connection to: OpenAI API failed with status: 404 request-id: req_f65ea1bfd1c8490097f59f7d535d4ad2 error: The model gpt-4-1106-preview does not exist or you do not have access to it..

It looks like openai retired the model : To improve reliability and make it easier for developers to choose the right models, we are deprecating a set of older OpenAI models with declining usage over the next six to twelve months. Access to these models will be shut down on the dates below.

Shutdown date / Model / systemRecommended replacement: 2026‑03‑26 / gpt-4-1106-preview / gpt-5 or gpt-4.1*

Would you be able to fix this so I can run the code for the demo db for rag? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions