You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/RAG/RAG.php
+15-5Lines changed: 15 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,10 @@
10
10
11
11
classRAGextends Agent
12
12
{
13
+
/**
14
+
* @var VectorStoreInterface
15
+
*/
16
+
protectedVectorStoreInterface$store;
13
17
14
18
/**
15
19
* The embeddings provider.
@@ -25,10 +29,6 @@ class RAG extends Agent
25
29
*/
26
30
protected ?string$instructions = "Use the following pieces of context to answer the question of the user. If you don't know the answer, just say that you don't know, don't try to make up an answer.\n\n{context}.";
0 commit comments