Update paperflux/src/services/paper_analyzer.py
Browse files
paperflux/src/services/paper_analyzer.py
CHANGED
|
@@ -34,7 +34,7 @@ class PaperAnalyzer:
|
|
| 34 |
def _configure_client(self):
|
| 35 |
"""Configure the Gemini client with the current API key"""
|
| 36 |
genai.configure(api_key=self.api_keys[self.key_index])
|
| 37 |
-
self.model = genai.GenerativeModel("gemini-2.
|
| 38 |
self.safety_settings = {
|
| 39 |
HarmCategory.HARM_CATEGORY_HATE_SPEECH: HarmBlockThreshold.BLOCK_NONE,
|
| 40 |
HarmCategory.HARM_CATEGORY_HARASSMENT: HarmBlockThreshold.BLOCK_NONE,
|
|
@@ -60,6 +60,7 @@ class PaperAnalyzer:
|
|
| 60 |
# Paper Title
|
| 61 |
## Core Contribution
|
| 62 |
## Technical Breakdown
|
|
|
|
| 63 |
- Detailed mathematical concepts and intuition with in depth explanation
|
| 64 |
- Include in depth explanation of each mathematical concept with proper reasoning
|
| 65 |
- Explain each and every term used in the paper properly
|
|
|
|
| 34 |
def _configure_client(self):
|
| 35 |
"""Configure the Gemini client with the current API key"""
|
| 36 |
genai.configure(api_key=self.api_keys[self.key_index])
|
| 37 |
+
self.model = genai.GenerativeModel("gemini-2.0-flash")
|
| 38 |
self.safety_settings = {
|
| 39 |
HarmCategory.HARM_CATEGORY_HATE_SPEECH: HarmBlockThreshold.BLOCK_NONE,
|
| 40 |
HarmCategory.HARM_CATEGORY_HARASSMENT: HarmBlockThreshold.BLOCK_NONE,
|
|
|
|
| 60 |
# Paper Title
|
| 61 |
## Core Contribution
|
| 62 |
## Technical Breakdown
|
| 63 |
+
Elaborate in depth.
|
| 64 |
- Detailed mathematical concepts and intuition with in depth explanation
|
| 65 |
- Include in depth explanation of each mathematical concept with proper reasoning
|
| 66 |
- Explain each and every term used in the paper properly
|