Mohamed284 commited on
Commit
fe61f1d
·
verified ·
1 Parent(s): a58124f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -35,6 +35,7 @@ data_file_name = "AskNatureNet_data_enhanced.json"
35
  OPENAI_API_CONFIG = {
36
  "api_key": os.getenv("OPENAI_API_KEY"),
37
  "base_url": "https://chat-ai.academiccloud.de/v1"
 
38
  }
39
  client = OpenAI(**OPENAI_API_CONFIG)
40
 
@@ -211,7 +212,7 @@ class EnhancedRetriever:
211
  SYSTEM_PROMPT = """**Biomimicry Expert Guidelines**
212
  1. Base answers strictly on context
213
  2. **Bold** technical terms
214
- 3. Must Include reference links
215
 
216
  Context: {context}"""
217
 
 
35
  OPENAI_API_CONFIG = {
36
  "api_key": os.getenv("OPENAI_API_KEY"),
37
  "base_url": "https://chat-ai.academiccloud.de/v1"
38
+
39
  }
40
  client = OpenAI(**OPENAI_API_CONFIG)
41
 
 
212
  SYSTEM_PROMPT = """**Biomimicry Expert Guidelines**
213
  1. Base answers strictly on context
214
  2. **Bold** technical terms
215
+ 3. Must Include reference links at the end of the response
216
 
217
  Context: {context}"""
218