adrienbrdne commited on
Commit
50e92f4
·
verified ·
1 Parent(s): ae438a7

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +8 -0
api.py CHANGED
@@ -73,6 +73,14 @@ class FormattedKeyIssue(BaseModel):
73
  class KeyIssueFormatResponse(BaseModel):
74
  key_issues: List[FormattedKeyIssue]
75
 
 
 
 
 
 
 
 
 
76
  # --- Global Variables / State ---
77
  # Keep the graph instance global for efficiency if desired,
78
  # but consider potential concurrency issues if graph/LLMs have state.
 
73
  class KeyIssueFormatResponse(BaseModel):
74
  key_issues: List[FormattedKeyIssue]
75
 
76
+ class CreateSeveralProbDescRequest(BaseModel):
77
+ descriptions: Dict[int, str]
78
+ challenges: Dict[int, List[str]]
79
+ technical_topic: str
80
+
81
+ class CreateSeveralProbDescResponse(BaseModel):
82
+ problem_descriptions: List[str]
83
+
84
  # --- Global Variables / State ---
85
  # Keep the graph instance global for efficiency if desired,
86
  # but consider potential concurrency issues if graph/LLMs have state.