File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -370,6 +370,7 @@ private function jsonToResponse(string $jsonResponse): Response
370370 $ why = new Why ();
371371 $ why ->input = $ responseArray ['why ' ]['input ' ];
372372 $ why ->intermediate_steps = $ responseArray ['why ' ]['intermediate_steps ' ] ?? [];
373+ $ why ->model_interactions = $ responseArray ['why ' ]['model_interactions ' ] ?? [];
373374 $ memory = new Memory ();
374375 $ memory ->declarative = $ responseArray ['why ' ]['memory ' ]['declarative ' ];
375376 $ memory ->episodic = $ responseArray ['why ' ]['memory ' ]['episodic ' ];
Original file line number Diff line number Diff line change @@ -12,4 +12,8 @@ class Why
1212 public ?array $ intermediate_steps ;
1313
1414 public Memory $ memory ;
15+ /**
16+ * @var null|array<mixed>
17+ */
18+ public ?array $ model_interactions = null ;
1519}
You can’t perform that action at this time.
0 commit comments