Spaces:
Sleeping
Sleeping
WilliamGazeley
commited on
Commit
·
3ab8ccf
1
Parent(s):
b401ec2
Disable all functions sans analysis
Browse files
src/functions.py
CHANGED
@@ -281,16 +281,16 @@ def get_company_profile(symbol: str) -> dict:
|
|
281 |
def get_openai_tools() -> List[dict]:
|
282 |
functions = [
|
283 |
get_analysis,
|
284 |
-
google_search_and_scrape,
|
285 |
-
get_current_stock_price,
|
286 |
-
get_company_news,
|
287 |
-
get_company_profile,
|
288 |
-
get_stock_fundamentals,
|
289 |
-
get_financial_statements,
|
290 |
-
get_key_financial_ratios,
|
291 |
# get_analyst_recommendations,
|
292 |
-
get_dividend_data,
|
293 |
-
get_technical_indicators
|
294 |
]
|
295 |
|
296 |
tools = [convert_to_openai_tool(f) for f in functions]
|
|
|
281 |
def get_openai_tools() -> List[dict]:
|
282 |
functions = [
|
283 |
get_analysis,
|
284 |
+
# google_search_and_scrape,
|
285 |
+
# get_current_stock_price,
|
286 |
+
# get_company_news,
|
287 |
+
# get_company_profile,
|
288 |
+
# get_stock_fundamentals,
|
289 |
+
# get_financial_statements,
|
290 |
+
# get_key_financial_ratios,
|
291 |
# get_analyst_recommendations,
|
292 |
+
# get_dividend_data,
|
293 |
+
# get_technical_indicators
|
294 |
]
|
295 |
|
296 |
tools = [convert_to_openai_tool(f) for f in functions]
|
src/prompt_assets/output_sys_prompt.yml
CHANGED
@@ -12,3 +12,4 @@ Instructions: |
|
|
12 |
Give a direct answer to question, concise yet insightful.
|
13 |
Do not tell the user to do work, e.g. do not ask them to keep up with news or watch the market
|
14 |
Do not tell the user to consult a financial advisor, because you already are the best financial advisor
|
|
|
|
12 |
Give a direct answer to question, concise yet insightful.
|
13 |
Do not tell the user to do work, e.g. do not ask them to keep up with news or watch the market
|
14 |
Do not tell the user to consult a financial advisor, because you already are the best financial advisor
|
15 |
+
|