alisamak commited on
Commit
d4518ca
·
verified ·
1 Parent(s): fb6d37a

Update LG_agent.py

Browse files
Files changed (1) hide show
  1. LG_agent.py +1 -8
LG_agent.py CHANGED
@@ -10,16 +10,9 @@ import os
10
  # 1. Setup once
11
  chat = ChatOpenAI(
12
  model="gpt-3.5-turbo",
13
- openai_api_key=os.getenv("OPENAI_API_KEY"),
14
  temperature=0,
15
- model_kwargs={
16
- "system_message": (
17
- "You are a step-by-step reasoning assistant. "
18
- "Always think out loud, use available tools when appropriate, and aim for factual, complete answers."
19
- )
20
- }
21
  )
22
-
23
  chat_with_tools = chat.bind_tools(all_tools)
24
 
25
  # 2. Define the agent state
 
10
  # 1. Setup once
11
  chat = ChatOpenAI(
12
  model="gpt-3.5-turbo",
13
+ openai_api_key=OPENAI_API_KEY,
14
  temperature=0,
 
 
 
 
 
 
15
  )
 
16
  chat_with_tools = chat.bind_tools(all_tools)
17
 
18
  # 2. Define the agent state