Rohan Kataria commited on
Commit
36e073f
·
1 Parent(s): 0d07961

adding logic

Browse files
Files changed (1) hide show
  1. src/main.py +2 -6
src/main.py CHANGED
@@ -64,13 +64,9 @@ def create_conversational_response(vector_store, chain_type, k):
64
  return_messages=True)
65
 
66
  #Creating LLM
67
- current_date = datetime.datetime.now().date()
68
- if current_date < datetime.date(2023, 9, 2):
69
- llm_name = "gpt-3.5-turbo-0301"
70
- else:
71
- llm_name = "gpt-3.5-turbo"
72
 
73
- llm = ChatOpenAI(model=llm_name, temperature=0)
74
 
75
  # Creating Prompt template
76
  template = """
 
64
  return_messages=True)
65
 
66
  #Creating LLM
67
+ llm_name = "gpt-3.5-turbo"
 
 
 
 
68
 
69
+ llm = ChatOpenAI(model=llm_name, temperature=0.5)
70
 
71
  # Creating Prompt template
72
  template = """