zypchn commited on
Commit
9de2bf4
·
verified ·
1 Parent(s): 1b2d77c

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -18,7 +18,7 @@ st.set_page_config(page_title="cAsh Robo-Advisor", page_icon="🤖")
18
  def initialize_agent():
19
  """Initialize the agent and tools once and cache them."""
20
  # Instantiate the class to load data
21
- advisor = PokemonAdvisorTools("/app/src")
22
 
23
  # Create the list of tool methods to wrap
24
  tool_methods = [
@@ -36,7 +36,7 @@ def initialize_agent():
36
  tools = [FunctionTool.from_defaults(fn=func) for func in tool_methods]
37
 
38
  # Initialize the LLM (Ensure OPENAI_API_KEY is set in your env)
39
- llm = OpenAI(model="gpt-4o-mini", temperature=0.7)
40
 
41
  # System Prompt
42
  system_prompt = """
 
18
  def initialize_agent():
19
  """Initialize the agent and tools once and cache them."""
20
  # Instantiate the class to load data
21
+ advisor = PokemonAdvisorTools("/app/data")
22
 
23
  # Create the list of tool methods to wrap
24
  tool_methods = [
 
36
  tools = [FunctionTool.from_defaults(fn=func) for func in tool_methods]
37
 
38
  # Initialize the LLM (Ensure OPENAI_API_KEY is set in your env)
39
+ llm = OpenAI(model="gpt-4o-mini", temperature=0.5)
40
 
41
  # System Prompt
42
  system_prompt = """