forked from phito/darknet_diaries_llm
Use GPT4
This commit is contained in:
parent
a77d41c6ec
commit
b41d8288b7
2
main.py
2
main.py
@ -6,7 +6,7 @@ from llama_index.llms import OpenAI
|
|||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
||||||
llm = OpenAI(model="gpt-3.5-turbo", temperature=0, max_tokens=256)
|
llm = OpenAI(model="gpt-4", temperature=0, max_tokens=256)
|
||||||
service_context = ServiceContext.from_defaults(llm=llm)
|
service_context = ServiceContext.from_defaults(llm=llm)
|
||||||
set_global_service_context(service_context)
|
set_global_service_context(service_context)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user