dolphinium commited on
Commit
691efbb
Β·
1 Parent(s): 05e7c06

delete unused available_fields

Browse files
Files changed (1) hide show
  1. app.py +0 -59
app.py CHANGED
@@ -65,65 +65,6 @@ try:
65
  llm_model = genai.GenerativeModel('gemini-2.0-flash', generation_config=genai.types.GenerationConfig(temperature=0))
66
  print(f"βœ… LLM Model '{llm_model.model_name}' initialized.")
67
 
68
- # 4. Define available Solr fields for the LLM
69
- # In a real app, this could be fetched dynamically from Solr's Schema API
70
- available_fields = [
71
- "id",
72
- "abstract",
73
- "date",
74
- "date_year",
75
- "business_model",
76
- "news_type",
77
- "content",
78
- "event_type",
79
- "source",
80
- "source_link",
81
- "company_name",
82
- "company_name_s",
83
- "territory_hq_s",
84
- "therapeutic_category_row",
85
- "therapeutic_category",
86
- "therapeutic_category_hierarchy",
87
- "therapeutic_category_s",
88
- "compound_name",
89
- "compound_name_s",
90
- "generic_or_innovator",
91
- "vaccine_or_adjuvant",
92
- "drug_delivery_branch_row",
93
- "drug_delivery_branch",
94
- "drug_delivery_branch_hierarchy",
95
- "drug_delivery_branch_s",
96
- "route_branch_injection",
97
- "highest_phase",
98
- "molecule_api_group",
99
- "conjugate_molecule_types",
100
- "molecule_name",
101
- "molecule_name_s",
102
- "companies_invested_row",
103
- "companies_invested_id_row",
104
- "companies_invested_other_id_row",
105
- "companies_row",
106
- "companies_id_row",
107
- "companies_other_id_row",
108
- "compound_id_row",
109
- "dd_device",
110
- "_version_",
111
- "discovery_technology_name",
112
- "companies_investor_row",
113
- "companies_investor_id_row",
114
- "companies_investor_other_id_row",
115
- "discovery_technology_id_row",
116
- "route_branch",
117
- "route_branch_s",
118
- "route_branch_hierarchy",
119
- "explanation",
120
- "us_state",
121
- "total_deal_value_in_million",
122
- "venture_type",
123
- "form_name_s",
124
- "technology_name",
125
- "technology_id_row"
126
- ]
127
  print("βœ… System Initialized Successfully.")
128
  is_initialized = True
129
 
 
65
  llm_model = genai.GenerativeModel('gemini-2.0-flash', generation_config=genai.types.GenerationConfig(temperature=0))
66
  print(f"βœ… LLM Model '{llm_model.model_name}' initialized.")
67
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  print("βœ… System Initialized Successfully.")
69
  is_initialized = True
70