Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,15 @@ def web_search(query: str, max_results: int = 5) -> str:
|
|
39 |
|
40 |
@tool
|
41 |
def analyze_content(text: str, analysis_type: str = "general") -> str:
|
42 |
-
"""Analyzes content for various aspects like key points, themes, or citations
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
points = []
|
44 |
|
45 |
if "academic" in analysis_type.lower():
|
|
|
39 |
|
40 |
@tool
|
41 |
def analyze_content(text: str, analysis_type: str = "general") -> str:
|
42 |
+
"""Analyzes content for various aspects like key points, themes, or citations
|
43 |
+
|
44 |
+
Args:
|
45 |
+
text: The content text to be analyzed for key points and themes
|
46 |
+
analysis_type: Type of analysis to perform ("general", "academic", "citations")
|
47 |
+
|
48 |
+
Returns:
|
49 |
+
str: Structured analysis results including key points and findings
|
50 |
+
"""
|
51 |
points = []
|
52 |
|
53 |
if "academic" in analysis_type.lower():
|