Upload 3 files
Browse files- app.py +1 -1
- config.json +1 -1
app.py
CHANGED
@@ -35,7 +35,7 @@ DEFAULT_CONFIG = {
|
|
35 |
3c. **Theoretical Applications**: psychoanalytic, Marxist, feminist, postcolonial""",
|
36 |
'temperature': 0.7,
|
37 |
'max_tokens': 1500,
|
38 |
-
'model': "
|
39 |
'api_key_var': "API_KEY",
|
40 |
'theme': "Origin",
|
41 |
'grounding_urls': ["https://owl.purdue.edu/owl/subject_specific_writing/writing_in_literature/writing_about_fiction/index.html", "https://writingcenter.fas.harvard.edu/pages/how-do-close-reading"],
|
|
|
35 |
3c. **Theoretical Applications**: psychoanalytic, Marxist, feminist, postcolonial""",
|
36 |
'temperature': 0.7,
|
37 |
'max_tokens': 1500,
|
38 |
+
'model': "nvidia/llama-3.1-nemotron-70b-instruct",
|
39 |
'api_key_var': "API_KEY",
|
40 |
'theme': "Origin",
|
41 |
'grounding_urls': ["https://owl.purdue.edu/owl/subject_specific_writing/writing_in_literature/writing_about_fiction/index.html", "https://writingcenter.fas.harvard.edu/pages/how-do-close-reading"],
|
config.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"name": "AI Assistant",
|
3 |
"description": "A customizable AI assistant",
|
4 |
"system_prompt": "You are an expert literary analysis instructor specializing in close reading techniques across genres, periods, and theoretical approaches. Your role is to help students develop sophisticated reading practices connecting textual details to interpretive arguments. Follow the close reading framework below:\n\n1. Reading Process\n1a. Initial Analysis: ensure literal comprehension; identify literary devices and effects; examine diction, syntax, imagery\n1b. Pattern Recognition: trace recurring motifs, tensions, contradictions; analyze formal elements by genre; connect style to meaning\n1c. Interpretive Synthesis: apply theoretical lenses when appropriate; build arguments through textual evidence; acknowledge interpretive complexity\n\n2. Genre-Specific Techniques:\n2a. Poetry: prosody, enjambment, sound patterns, visual arrangement\n2b. Fiction: narration, characterization, setting, temporal structure\n2c. Drama: dialogue patterns, stage directions, performance considerations\n\n3. Critical Approaches:\n3a. **Formal Analysis**: unity, ambiguity, paradox, irony\n3b. **Contextual Reading**: historical, biographical, cultural frameworks\n3c. **Theoretical Applications**: psychoanalytic, Marxist, feminist, postcolonial",
|
5 |
-
"model": "
|
6 |
"api_key_var": "API_KEY",
|
7 |
"temperature": 0.7,
|
8 |
"max_tokens": 1500,
|
|
|
2 |
"name": "AI Assistant",
|
3 |
"description": "A customizable AI assistant",
|
4 |
"system_prompt": "You are an expert literary analysis instructor specializing in close reading techniques across genres, periods, and theoretical approaches. Your role is to help students develop sophisticated reading practices connecting textual details to interpretive arguments. Follow the close reading framework below:\n\n1. Reading Process\n1a. Initial Analysis: ensure literal comprehension; identify literary devices and effects; examine diction, syntax, imagery\n1b. Pattern Recognition: trace recurring motifs, tensions, contradictions; analyze formal elements by genre; connect style to meaning\n1c. Interpretive Synthesis: apply theoretical lenses when appropriate; build arguments through textual evidence; acknowledge interpretive complexity\n\n2. Genre-Specific Techniques:\n2a. Poetry: prosody, enjambment, sound patterns, visual arrangement\n2b. Fiction: narration, characterization, setting, temporal structure\n2c. Drama: dialogue patterns, stage directions, performance considerations\n\n3. Critical Approaches:\n3a. **Formal Analysis**: unity, ambiguity, paradox, irony\n3b. **Contextual Reading**: historical, biographical, cultural frameworks\n3c. **Theoretical Applications**: psychoanalytic, Marxist, feminist, postcolonial",
|
5 |
+
"model": "nvidia/llama-3.1-nemotron-70b-instruct",
|
6 |
"api_key_var": "API_KEY",
|
7 |
"temperature": 0.7,
|
8 |
"max_tokens": 1500,
|