abdoh-alkhateeb commited on
Commit
3ae37e3
1 Parent(s): 0da52b8

Update GPT-4-Turbo usage to GPT-4o

Browse files
agents/accountability_agent.py CHANGED
@@ -6,7 +6,7 @@ from prompts.accountability_agent import template
6
 
7
 
8
  class AccountabilityAgent:
9
- def __init__(self, model: str = "gpt-4-turbo", temperature: float = 0.7) -> None:
10
  self._prompt = PromptTemplate(input_variables=["query", "synthesis"], template=template)
11
 
12
  self._llm = ChatOpenAI(model=model, temperature=temperature)
 
6
 
7
 
8
  class AccountabilityAgent:
9
+ def __init__(self, model: str = "gpt-4o", temperature: float = 0.7) -> None:
10
  self._prompt = PromptTemplate(input_variables=["query", "synthesis"], template=template)
11
 
12
  self._llm = ChatOpenAI(model=model, temperature=temperature)
agents/outline_agent.py CHANGED
@@ -6,7 +6,7 @@ from prompts.outline_agent import template
6
 
7
 
8
  class OutlineAgent:
9
- def __init__(self, model: str = "gpt-4-turbo", temperature: float = 0.3) -> None:
10
  self._prompt = PromptTemplate(input_variables=["query"], template=template)
11
 
12
  self._llm = ChatOpenAI(model=model, temperature=temperature)
 
6
 
7
 
8
  class OutlineAgent:
9
+ def __init__(self, model: str = "gpt-4o", temperature: float = 0.3) -> None:
10
  self._prompt = PromptTemplate(input_variables=["query"], template=template)
11
 
12
  self._llm = ChatOpenAI(model=model, temperature=temperature)
agents/synthesis_agent.py CHANGED
@@ -9,7 +9,7 @@ from prompts.synthesis_agent import full_synthesis_template, sub_synthesis_templ
9
 
10
 
11
  class SynthesisAgent:
12
- def __init__(self, model: str = "gpt-4-turbo", temperature: float = 0.7) -> None:
13
  self._full_synthesis_prompt = PromptTemplate(input_variables=["query", "syntheses"], template=full_synthesis_template)
14
  self._sub_synthesis_prompt = PromptTemplate(input_variables=["query", "theme_info", "articles"], template=sub_synthesis_template)
15
  self._sub_themes_prompts = PromptTemplate(input_variables=["theme_info", "articles"], template=sub_themes_template)
 
9
 
10
 
11
  class SynthesisAgent:
12
+ def __init__(self, model: str = "gpt-4o", temperature: float = 0.7) -> None:
13
  self._full_synthesis_prompt = PromptTemplate(input_variables=["query", "syntheses"], template=full_synthesis_template)
14
  self._sub_synthesis_prompt = PromptTemplate(input_variables=["query", "theme_info", "articles"], template=sub_synthesis_template)
15
  self._sub_themes_prompts = PromptTemplate(input_variables=["theme_info", "articles"], template=sub_themes_template)