ofermend commited on
Commit
75c6666
·
1 Parent(s): 817058a

python 3.11 and updated companies

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. agent.py +5 -1
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.10
2
 
3
  WORKDIR /app
4
 
 
1
+ FROM python:3.11
2
 
3
  WORKDIR /app
4
 
agent.py CHANGED
@@ -24,6 +24,10 @@ tickers = {
24
  "AMD": "Advanced Micro Devices",
25
  "INTC": "Intel",
26
  "NFLX": "Netflix",
 
 
 
 
27
  }
28
  years = [2020, 2021, 2022, 2023, 2024]
29
  initial_prompt = "How can I help you today?"
@@ -141,7 +145,7 @@ def get_agent_config() -> OmegaConf:
141
  'api_key': str(os.environ['VECTARA_API_KEY']),
142
  'examples': os.environ.get('QUERY_EXAMPLES', None),
143
  'demo_name': "finance-chat",
144
- 'demo_welcome': "Welcome to the Financial Assistant demo.",
145
  'demo_description': f"This assistant can help you with any questions about the financials of several companies:\n\n **{companies}**.\n"
146
  })
147
  return cfg
 
24
  "AMD": "Advanced Micro Devices",
25
  "INTC": "Intel",
26
  "NFLX": "Netflix",
27
+ "JPM": "JPMorgan Chase",
28
+ "STT": "State Street",
29
+ "BK": "Bank of New York Mellon",
30
+ "C": "Citigroup",
31
  }
32
  years = [2020, 2021, 2022, 2023, 2024]
33
  initial_prompt = "How can I help you today?"
 
145
  'api_key': str(os.environ['VECTARA_API_KEY']),
146
  'examples': os.environ.get('QUERY_EXAMPLES', None),
147
  'demo_name': "finance-chat",
148
+ 'demo_welcome': "Financial Assistant demo.",
149
  'demo_description': f"This assistant can help you with any questions about the financials of several companies:\n\n **{companies}**.\n"
150
  })
151
  return cfg