Closed jma7889 closed 1 year ago
In your sample code at the end, you are using the gpt35_predictor instead of gpt4
Also if you are loading an index from disk, make sure you pass the service context back in
Thanks, The key is service context need to be assigned again when loading an index from disk. It resolved the issue. The issue can be closed.
Does the llama_index support gpt-4 's 8k input or gpt-4-32k ' s 32 k input? I tried to used them but give me error such as
my code to select the model: