QAway-to commited on
Commit
3a2cb28
·
unverified ·
2 Parent(s): 5d3d9da 4e75484

Merge branch 'main' into codex/analyze-project-repository-rhgm87

Browse files
app.py CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks(css=base_css) as demo:
39
 
40
  with gr.Tabs(elem_id="main_tabs"):
41
  # --- Analysis ---
42
- with gr.TabItem("Analysis"):
43
  portfolio_input = gr.Textbox(
44
  label="Portfolio ID or Link",
45
  placeholder="Enter portfolio ID (uuid)",
 
39
 
40
  with gr.Tabs(elem_id="main_tabs"):
41
  # --- Analysis ---
42
+ with gr.TabItem("Portfolio Insights"):
43
  portfolio_input = gr.Textbox(
44
  label="Portfolio ID or Link",
45
  placeholder="Enter portfolio ID (uuid)",
config.py CHANGED
@@ -1,6 +1,6 @@
1
  """
2
  🇬🇧 Module: config.py
3
- Purpose: Central configuration for environment variables and constants.
4
 
5
  🇷🇺 Модуль: config.py
6
  Назначение: централизованная конфигурация переменных окружения и констант проекта.
 
1
  """
2
  🇬🇧 Module: config.py
3
+ Purpose: Central configuration for environment variables and constants222
4
 
5
  🇷🇺 Модуль: config.py
6
  Назначение: централизованная конфигурация переменных окружения и констант проекта.
prompts/reference_templates.py CHANGED
@@ -3,7 +3,7 @@
3
  Purpose: Defines reusable prompt templates for portfolio analysis and comparison.
4
 
5
  🇷🇺 Модуль: reference_templates.py
6
- Назначение: содержит шаблоны промптов для анализа и сравнения портфелей.
7
  """
8
 
9
  REFERENCE_PROMPT = (
 
3
  Purpose: Defines reusable prompt templates for portfolio analysis and comparison.
4
 
5
  🇷🇺 Модуль: reference_templates.py
6
+ Назначение: содержит шаблоны промптов для анализа и сравнения портфелей1.
7
  """
8
 
9
  REFERENCE_PROMPT = (
prompts/system_prompts.py CHANGED
@@ -8,6 +8,11 @@ Purpose: Stores system-level instructions for LLM.
8
 
9
  ANALYSIS_SYSTEM_PROMPT = """
10
  You are a quantitative portfolio analyst.
 
 
 
 
 
11
 
12
  Produce a fully formatted HTML fragment that always renders the four sections, in order:
13
  Objective Evaluation
 
8
 
9
  ANALYSIS_SYSTEM_PROMPT = """
10
  You are a quantitative portfolio analyst.
11
+ Produce a fully formatted HTML fragment that always renders the four sections, in order:
12
+ Objective Evaluation
13
+ Risk Assessment
14
+ Interpretation
15
+ Recommendation
16
 
17
  Produce a fully formatted HTML fragment that always renders the four sections, in order:
18
  Objective Evaluation