shukdevdatta123 commited on
Commit
9d7c879
Β·
verified Β·
1 Parent(s): f907277

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +40 -2
app.py CHANGED
@@ -318,8 +318,46 @@ def create_gradio_app():
318
  """)
319
  with gr.Group():
320
  with gr.Accordion("πŸ“š IMPORTANT !!!", open=False, elem_id="neuroscope-accordion"):
321
- gr.Markdown("""
322
- When **no domains are specified**, NeuroScope AI operates with unrestricted web search capabilities, allowing the compound models to autonomously search across the entire internet to find the most relevant and up-to-date information to answer your questions - essentially giving the AI complete freedom to use its agentic tools and search any website it deems helpful. When **domains are specified** (either include or exclude lists), you're essentially putting the AI on a leash - if you specify "include domains" like "arxiv.org, *.edu", the AI can ONLY search those academic sources, making it laser-focused on scholarly content, while "exclude domains" like "wikipedia.org, reddit.com" tells the AI to search everywhere EXCEPT those sites, filtering out potentially unreliable sources. The **🎭 Custom System Prompt** feature allows you to completely override the AI's default personality and behavior - instead of the default creative assistant, you could make it act like a professional business consultant, a coding mentor, a creative writer, or even a specific character, essentially giving you the power to reshape the AI's entire conversational style and expertise focus with a single prompt change.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
  """)
324
 
325
  # API Key Section
 
318
  """)
319
  with gr.Group():
320
  with gr.Accordion("πŸ“š IMPORTANT !!!", open=False, elem_id="neuroscope-accordion"):
321
+ gr.Markdown("""
322
+ ### πŸ” **Web Search Behavior in NeuroScope AI**
323
+
324
+ **No Domains Specified:**
325
+
326
+ - AI operates with **unrestricted web search capabilities**.
327
+ - Compound models autonomously search the **entire internet** for the most relevant and up-to-date information.
328
+ - AI has complete freedom to use its **agentic tools** and browse **any website** it finds useful.
329
+
330
+ **Include Domains Specified (e.g., `arxiv.org`, `*.edu`):**
331
+
332
+ - AI is restricted to search **only the specified domains**.
333
+ - Acts as a **strict whitelist**, making the AI **laser-focused** on your chosen sources.
334
+ - Ensures information is sourced from **preferred or authoritative domains** (e.g., academic or research-focused).
335
+
336
+ **Exclude Domains Specified (e.g., `wikipedia.org`, `reddit.com`):**
337
+
338
+ - AI searches the entire web **except the listed domains**.
339
+ - Useful for **filtering out unreliable or unwanted sources**.
340
+ - Allows broad search with **targeted exclusions**.
341
+
342
+ **Both Include and Exclude Domains Specified:**
343
+
344
+ - **Only the include domains** are used for searching.
345
+ - **Exclude list is ignored** because the include list already restricts search scope.
346
+ - Guarantees AI pulls content **exclusively from whitelisted domains**, regardless of the excluded ones.
347
+
348
+ ---
349
+
350
+ ### 🎭 **Custom System Prompt Feature**
351
+
352
+ Allows complete override of the AI’s **default personality and behavior**.
353
+ You can redefine the AI to act as:
354
+
355
+ - A **professional business consultant**
356
+ - A **coding mentor**
357
+ - A **creative writer**
358
+ - A **specific character or persona**
359
+ - Provides full control to **reshape the AI’s tone, expertise, and conversational style** with a single prompt.
360
+
361
  """)
362
 
363
  # API Key Section