diazcalvi commited on
Commit
a0ee7ee
·
1 Parent(s): 95ba358

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ documents_folder = "./documents"
10
  #@st.cache_resource
11
  def initialize_index(index_name, documents_folder):
12
  #llm_predictor = ChatGPTLLMPredictor()
13
- llm_predictor = LLMPredictor(llm=ChatOpenAI(temperature=0, model_name="gpt-3.5-turbo")) # text-davinci-003"))
14
 
15
  service_context = ServiceContext.from_defaults(llm_predictor=llm_predictor)
16
  if os.path.exists(index_name):
 
10
  #@st.cache_resource
11
  def initialize_index(index_name, documents_folder):
12
  #llm_predictor = ChatGPTLLMPredictor()
13
+ llm_predictor = LLMPredictor(llm=ChatOpenAI(temperature=0, model_name="text-davinci-003")) # text-davinci-003"))"gpt-3.5-turbo"
14
 
15
  service_context = ServiceContext.from_defaults(llm_predictor=llm_predictor)
16
  if os.path.exists(index_name):