Find answers from the community

Updated last year

yo how do i use gpt4 turbo

At a glance

The community members are discussing how to use GPT-4 Turbo. One community member suggests using the "gpt-4-1106-preview" model and provides a link to documentation on configuring the OpenAI language model. Other community members express appreciation and ask follow-up questions, but there is no explicitly marked answer in the comments.

Useful resources
yo how do i use gpt4 turbo
b
e
6 comments
query_engine = index.as_query_engine(response_mode="tree_summarize")
something like:
Plain Text
llm = OpenAI(
            temperature=0,
            model='gpt-4-1106-preview',
               )

sc = ServiceContext.from_defaults(
            llm=llm,
            
        )
index = SummaryIndex(

            service_context=sc,
        )
index.as....
gotcha, appreciate it
Add a reply
Sign up and join the conversation on Discord