NaderAfshar commited on
Commit
55b7d0c
·
1 Parent(s): 329beda

updated code and implemented a new test: test_workflow

Browse files
step3.py CHANGED
@@ -121,6 +121,7 @@ class RAGWorkflow(Workflow):
121
  @step
122
  async def set_up(self, ctx: Context, ev: StartEvent) -> ParseFormEvent:
123
  self.llm = global_llm
 
124
  if not ev.resume_file:
125
  raise ValueError("No resume file provided")
126
 
@@ -226,13 +227,13 @@ async def main():
226
  application_form="data/fake_application_form.pdf"
227
  )
228
  print(result)
229
- '''
230
  # Display of the workflow
231
- workflow_file = Path(__file__).parent / "workflows" / "rag_workflow.html"
232
  draw_all_possible_flows(w, filename=str(workflow_file))
233
  html_content = extract_html_content(str(workflow_file))
234
  display(HTML(html_content), metadata=dict(isolated=True))
235
- '''
236
 
237
  if __name__ == "__main__":
238
  asyncio.run(main())
 
121
  @step
122
  async def set_up(self, ctx: Context, ev: StartEvent) -> ParseFormEvent:
123
  self.llm = global_llm
124
+ self.storage_dir = storage_dir
125
  if not ev.resume_file:
126
  raise ValueError("No resume file provided")
127
 
 
227
  application_form="data/fake_application_form.pdf"
228
  )
229
  print(result)
230
+
231
  # Display of the workflow
232
+ workflow_file = Path(__file__).parent / "workflows" / "form_parsing_workflow.html"
233
  draw_all_possible_flows(w, filename=str(workflow_file))
234
  html_content = extract_html_content(str(workflow_file))
235
  display(HTML(html_content), metadata=dict(isolated=True))
236
+
237
 
238
  if __name__ == "__main__":
239
  asyncio.run(main())
step4.py CHANGED
@@ -13,6 +13,7 @@ from llama_index.core import (
13
  load_index_from_storage
14
  )
15
  import nest_asyncio
 
16
  from llama_index.core.workflow import (
17
  StartEvent,
18
  StopEvent,
@@ -40,28 +41,232 @@ global_llm = Groq(api_key=GROQ_API_KEY, model="llama3-70b-8192")
40
  global_embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-small-en-v1.5")
41
  Settings.embed_model = global_embed_model
42
 
43
- # Parse the application form
44
- parser = LlamaParse(
45
- result_type="markdown",
46
- content_guideline_instruction="This is a job application form. Create a list of all the fields "
47
- "that need to be filled in.",
48
- formatting_instruction="Return a bulleted list of the fields ONLY."
49
- )
50
 
51
- result = parser.load_data(application_file)[0]
52
- #print(result.text)
53
-
54
- # Convert the above output into a JSON object
55
- raw_json = global_llm.complete(
56
- f"""
57
- This is a parsed form.
58
- Convert it into a JSON object containing only the list
59
- of fields to be filled in, in the form {{ fields: [...] }}.
60
- <form>{result.text}</form>.
61
- Return JSON ONLY, no markdown."""
62
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
 
64
- # print ou the fields one by one
65
- fields = json.loads(raw_json.text)["fields"]
66
- for field in fields:
67
- print(field)
 
13
  load_index_from_storage
14
  )
15
  import nest_asyncio
16
+ from llama_index.core.workflow import InputRequiredEvent, HumanResponseEvent
17
  from llama_index.core.workflow import (
18
  StartEvent,
19
  StopEvent,
 
41
  global_embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-small-en-v1.5")
42
  Settings.embed_model = global_embed_model
43
 
 
 
 
 
 
 
 
44
 
45
+ class ParseFormEvent(Event):
46
+ application_form: str
47
+
48
+
49
+ class QueryEvent(Event):
50
+ query: str
51
+ field: str
52
+
53
+
54
+ class ResponseEvent(Event):
55
+ response: str
56
+
57
+
58
+ # new!
59
+ class FeedbackEvent(Event):
60
+ feedback: str
61
+
62
+
63
+ class GenerateQuestionsEvent(Event):
64
+ pass
65
+
66
+
67
+ class RAGWorkflow(Workflow):
68
+ storage_dir = "./storage"
69
+ llm: Groq
70
+ query_engine: VectorStoreIndex
71
+
72
+ @step
73
+ async def set_up(self, ctx: Context, ev: StartEvent) -> ParseFormEvent:
74
+ self.llm = global_llm
75
+ self.storage_dir = storage_dir
76
+ if not ev.resume_file:
77
+ raise ValueError("No resume file provided")
78
+
79
+ if not ev.application_form:
80
+ raise ValueError("No application form provided")
81
+
82
+ # ingest the data and set up the query engine
83
+ if os.path.exists(self.storage_dir):
84
+ # you've already ingested the resume document
85
+ storage_context = StorageContext.from_defaults(persist_dir=self.storage_dir)
86
+ index = load_index_from_storage(storage_context)
87
+ else:
88
+ # parse and load the resume document
89
+ documents = LlamaParse(
90
+ result_type="markdown",
91
+ content_guideline_instruction="This is a resume, gather related facts together and format it as "
92
+ "bullet points with headers"
93
+ ).load_data(ev.resume_file)
94
+ # embed and index the documents
95
+ index = VectorStoreIndex.from_documents(
96
+ documents,
97
+ embed_model=global_embed_model
98
+ )
99
+ index.storage_context.persist(persist_dir=self.storage_dir)
100
+
101
+ # create a query engine
102
+ self.query_engine = index.as_query_engine(llm=self.llm, similarity_top_k=5)
103
+
104
+ # you no longer need a query to be passed in,
105
+ # you'll be generating the queries instead
106
+ # let's pass the application form to a new step to parse it
107
+ return ParseFormEvent(application_form=ev.application_form)
108
+
109
+ # new - separated the form parsing from the question generation
110
+ @step
111
+ async def parse_form(self, ctx: Context, ev: ParseFormEvent) -> GenerateQuestionsEvent:
112
+ parser = LlamaParse(
113
+ result_type="markdown",
114
+ content_guideline_instruction="This is a job application form. Create a list of all the fields "
115
+ "that need to be filled in.",
116
+ formatting_instruction="Return a bulleted list of the fields ONLY."
117
+ )
118
+
119
+ # get the LLM to convert the parsed form into JSON
120
+ result = parser.load_data(ev.application_form)[0]
121
+ raw_json = self.llm.complete(
122
+ f"""
123
+ This is a parsed form.
124
+ Convert it into a JSON object containing only the list
125
+ of fields to be filled in, in the form {{ fields: [...] }}.
126
+ <form>{result.text}</form>.
127
+ Return JSON ONLY, no markdown.
128
+ """)
129
+ fields = json.loads(raw_json.text)["fields"]
130
+
131
+ await ctx.set("fields_to_fill", fields)
132
+ print("\n DEBUG: all fields written to Context >>>>>>>>>>>>>>>>>>>>>>>>>>\n")
133
+
134
+ return GenerateQuestionsEvent()
135
+
136
+ # new - this step can get triggered either by GenerateQuestionsEvent or a FeedbackEvent
137
+ @step
138
+ async def generate_questions(self, ctx: Context, ev: GenerateQuestionsEvent | FeedbackEvent) -> QueryEvent:
139
+
140
+ # get the list of fields to fill in
141
+ fields = await ctx.get("fields_to_fill")
142
+ print("\n DEBUG:all fields Read from Context >>>>>>>>>>>>>>>>>>>>>>>>>>\n")
143
+
144
+ # generate one query for each of the fields, and fire them off
145
+ for field in fields:
146
+ question = f"How would you answer this question about the candidate? <field>{field}</field>"
147
+ ctx.send_event(QueryEvent(
148
+ field=field,
149
+ query=question
150
+ ))
151
+
152
+ # store the number of fields so we know how many to wait for later
153
+ await ctx.set("total_fields", len(fields))
154
+ print(f"\n DEBUG: total fields from Context : {len(fields)}")
155
+
156
+ return
157
+
158
+ @step
159
+ async def ask_question(self, ctx: Context, ev: QueryEvent) -> ResponseEvent:
160
+ response = self.query_engine.query(
161
+ f"This is a question about the specific resume we have in our database: {ev.query}")
162
+ return ResponseEvent(field=ev.field, response=response.response)
163
+
164
+ # new - we now emit an InputRequiredEvent
165
+ @step
166
+ async def fill_in_application(self, ctx: Context, ev: ResponseEvent) -> InputRequiredEvent:
167
+ # get the total number of fields to wait for
168
+ total_fields = await ctx.get("total_fields")
169
+
170
+ responses = ctx.collect_events(ev, [ResponseEvent] * total_fields)
171
+ if responses is None:
172
+ return None # do nothing if there's nothing to do yet
173
+
174
+ # we've got all the responses!
175
+ responseList = "\n".join("Field: " + r.field + "\n" + "Response: " + r.response for r in responses)
176
+ print("\n DEBUG: got all responses :\n")
177
+
178
+ result = self.llm.complete(f"""
179
+ You are given a list of fields in an application form and responses to
180
+ questions about those fields from a resume. Combine the two into a list of
181
+ fields and succinct, factual answers to fill in those fields.
182
+
183
+ <responses>
184
+ {responseList}
185
+ </responses>
186
+ """)
187
+
188
+ print("\n DEBUG: llm combined the fields and responses from resume")
189
+
190
+ # new! save the result for later
191
+ await ctx.set("filled_form", str(result))
192
+
193
+ print("\n DEBUG: Write all form fields to context. Now will emit InputRequiredEvent")
194
+
195
+ # new! Let's get a human in the loop
196
+ return InputRequiredEvent(
197
+ prefix="How does this look? Give me any feedback you have on any of the answers.",
198
+ result=result
199
+ )
200
+
201
+ # new! Accept the feedback.
202
+ @step
203
+ async def get_feedback(self, ctx: Context, ev: HumanResponseEvent) -> FeedbackEvent | StopEvent:
204
+
205
+ result = self.llm.complete(f"""
206
+ You have received some human feedback on the form-filling task you've done.
207
+ Does everything look good, or is there more work to be done?
208
+ <feedback>
209
+ {ev.response}
210
+ </feedback>
211
+ If everything is fine, respond with just the word 'OKAY'.
212
+ If there's any other feedback, respond with just the word 'FEEDBACK'.
213
+ """)
214
+
215
+ verdict = result.text.strip()
216
+
217
+ print(f"LLM says the verdict was {verdict}")
218
+ if (verdict == "OKAY"):
219
+ return StopEvent(result=await ctx.get("filled_form"))
220
+ else:
221
+ return FeedbackEvent(feedback=ev.response)
222
+
223
+
224
+ async def main():
225
+ w = RAGWorkflow(timeout=600, verbose=True)
226
+ handler = w.run(
227
+ resume_file="data/fake_resume.pdf",
228
+ application_form="data/fake_application_form.pdf"
229
+ )
230
+
231
+ '''
232
+ print("DEBUG: Awaiting next event manually...")
233
+ event = await handler.next_event()
234
+ print(f"DEBUG: Received event - {event}")
235
+
236
+ # Handle the first event if it's InputRequiredEvent
237
+ if isinstance(event, InputRequiredEvent):
238
+ print("We've filled in your form! Here are the results:\n")
239
+ print(event.result)
240
+ response = input(event.prefix)
241
+ handler.ctx.send_event(HumanResponseEvent(response=response))
242
+ '''
243
+
244
+ print("DEBUG: Starting event stream...")
245
+ async for event in handler.stream_events():
246
+ print(f"DEBUG: Received event type {type(event).__name__}")
247
+ if isinstance(event, InputRequiredEvent):
248
+ print("We've filled in your form! Here are the results:\n")
249
+ print(event.result)
250
+ # now ask for input from the keyboard
251
+ response = input(event.prefix)
252
+ handler.ctx.send_event(
253
+ HumanResponseEvent(
254
+ response=response
255
+ )
256
+ )
257
+ else:
258
+ print("\n handler received event ", event)
259
+
260
+ response = await handler
261
+ print("Agent complete! Here's your final result:")
262
+ print(str(response))
263
+
264
+ # Display of the workflow
265
+ workflow_file = Path(__file__).parent / "workflows" / "form_parsing_workflow.html"
266
+ draw_all_possible_flows(w, filename=str(workflow_file))
267
+ html_content = extract_html_content(str(workflow_file))
268
+ display(HTML(html_content), metadata=dict(isolated=True))
269
+
270
 
271
+ if __name__ == "__main__":
272
+ asyncio.run(main())
 
 
storage/default__vector_store.json CHANGED
@@ -1 +1 @@
1
- {"embedding_dict": {"91c98c96-747f-4252-85ee-aeb0a25a8e94": [-0.010833202861249447, 0.003552559530362487, -0.05723457410931587, -0.02316351607441902, -0.030187562108039856, -0.03306390717625618, -0.026448359712958336, 0.035489123314619064, 0.0022495242301374674, 0.03803287819027901, 0.01977158896625042, -0.050217047333717346, 0.007806713227182627, -0.03357952833175659, 0.025451168417930603, 0.053998496383428574, -0.014704631641507149, 0.007848602719604969, -0.006806501653045416, 0.026602037250995636, 0.011317660100758076, -0.03507688269019127, -0.012031958438456059, -0.007664864882826805, 0.03156352415680885, 0.01150552835315466, -0.03412175551056862, -0.028324922546744347, 0.018246127292513847, -0.1699867844581604, -0.04060913249850273, 0.01323002576828003, 0.05146702378988266, -0.022772135213017464, 0.05409794673323631, -0.052405163645744324, 0.04712435230612755, -0.01516879815608263, -0.04573247209191322, -0.010004033334553242, -0.024087630212306976, 0.012186483480036259, 0.011403320357203484, 0.03199091553688049, -0.017696911469101906, -0.03303002566099167, 0.007726616691797972, -0.00034410555963404477, -0.07639499008655548, -0.008081850595772266, -0.026090098544955254, -0.07241639494895935, -0.03593185171484947, 0.03889315947890282, 0.013065927661955357, 0.008815520443022251, 0.01967158541083336, 0.015683559700846672, -0.029102060943841934, 0.06151338666677475, 0.033720433712005615, -0.02295197732746601, -0.10192757844924927, 0.06075612083077431, 0.0573904775083065, 0.09418807178735733, -0.005790953990072012, -0.06665503233671188, -0.006929979659616947, 0.03844199329614639, 0.0015077546704560518, 0.02266647294163704, -0.028740331530570984, 0.03681420534849167, 0.041975896805524826, 0.014060037210583687, 0.10115566104650497, 0.0196726992726326, 0.01579597406089306, 0.03430682793259621, -0.009587854146957397, -0.08517336845397949, -0.004632146563380957, 0.03011523000895977, 0.01312741544097662, 0.0015936411218717694, -0.027864599600434303, 0.023007428273558617, 0.03551827743649483, 0.04878456890583038, 0.018392516300082207, 0.01920618861913681, 0.038361866027116776, -0.012571752071380615, -0.018850106745958328, 0.006856504362076521, 0.02210346981883049, 0.043362125754356384, 0.004670935217291117, 0.4127327799797058, -0.045450661331415176, -0.018379922956228256, -0.04227535054087639, -0.03556273505091667, 0.03257184475660324, 0.009495334699749947, 0.0398719348013401, 0.014710955321788788, 0.027961501851677895, 0.01651199720799923, -0.05416461452841759, -0.04197270795702934, 0.06881295144557953, -0.021096020936965942, 0.0031496870797127485, -0.03343557193875313, -0.008464465849101543, 0.03548373281955719, 0.021444499492645264, 0.009092709980905056, 0.049140043556690216, 0.0635852962732315, 0.057824164628982544, -0.06333386152982712, -0.0004042128275614232, 0.06604170799255371, -0.014111163094639778, 0.056892577558755875, -0.008403626270592213, 0.1274154782295227, 0.023205189034342766, 0.03728543967008591, 0.014587943442165852, -0.008088497444987297, -0.0028336753603070974, -0.011048869229853153, -0.08145665377378464, -0.0692964643239975, -0.036454468965530396, 0.07093723118305206, -0.06053009256720543, 0.023567426949739456, -0.015592825599014759, -0.02427261881530285, -0.028817081823945045, 0.05149497464299202, 0.026996877044439316, 0.0166555754840374, 0.007155032362788916, 0.0005050799227319658, 0.01646311767399311, 0.029341280460357666, -0.01250365935266018, -0.048426199704408646, -0.01797391287982464, 0.03298334404826164, 0.004924396984279156, -0.006106449756771326, -0.07549424469470978, 0.006449908018112183, -0.027115097269415855, -0.01693066768348217, 0.021725697442889214, 0.0330212228000164, 0.004612661898136139, -0.13969488441944122, 0.01628219522535801, 0.03128183260560036, 0.013727869838476181, -0.058761049062013626, -0.028734520077705383, -0.026868093758821487, -0.056457120925188065, -0.05615009367465973, 0.04944198578596115, -0.021696846932172775, -0.03227219358086586, 0.0005777996266260743, 0.01794782280921936, -0.008427747525274754, -0.007724966388195753, 0.031414199620485306, -0.0011177583364769816, 0.04907790198922157, -0.019816750660538673, -0.05943482369184494, 0.012834308668971062, 0.00854367483407259, -0.012871420942246914, -0.019497990608215332, -0.07321041822433472, 0.03199465945363045, -0.02963702566921711, 0.0075788418762385845, 0.052480846643447876, -0.003463445231318474, 0.08495385199785233, -0.06433761864900589, 0.010745320469141006, -0.014748594723641872, 0.10030373930931091, 0.07474800199270248, -0.022581439465284348, 0.00401464244350791, -0.03058890625834465, -0.009752114303410053, 0.027327436953783035, 0.045475974678993225, 0.05662817135453224, 0.01740540750324726, -0.01618068479001522, 0.010191311128437519, 0.015340973623096943, 0.026493020355701447, 0.036202967166900635, -0.05724560096859932, 0.002241783542558551, 0.024190757423639297, -0.008892442099750042, 0.0339965783059597, 0.021369993686676025, -0.002904316410422325, -0.07497262954711914, -0.3062879741191864, -0.0008489611209370196, -0.01718597486615181, 0.0074182674288749695, -0.050534605979919434, -0.012654652819037437, 0.029012354090809822, -0.013403919525444508, -0.020740054547786713, 0.04363014176487923, 0.09408171474933624, 0.047662507742643356, 0.04541211202740669, -0.06037064269185066, 0.015333320014178753, -0.019996462389826775, 0.06527359038591385, -0.036717552691698074, -0.0139081422239542, -0.03738871216773987, 0.04401201754808426, -0.021798191592097282, 0.010519781149923801, -0.13814178109169006, 0.058621615171432495, -0.005996387917548418, 0.09733843803405762, 0.04305002838373184, -0.04021779075264931, -0.10805661231279373, -0.009739069268107414, -0.05047672241926193, 0.026948094367980957, -0.13760773837566376, 0.05912356078624725, -0.003559634555131197, 0.03209066390991211, -0.022525284439325333, 0.00875861942768097, 0.04927150160074234, -0.02142365463078022, -0.005441525485366583, -0.03155412897467613, -0.0472961850464344, 0.009203077293932438, -0.050146736204624176, -0.013789440505206585, -0.08644277602434158, -0.018538251519203186, 0.011618949472904205, -0.015968887135386467, -0.00933737214654684, 0.009656531736254692, 0.03242269903421402, -0.05600203201174736, 0.004599939100444317, 0.010281605646014214, 0.023593436926603317, -0.014517433941364288, -0.020563360303640366, -0.029982242733240128, -0.026560766622424126, -0.01754644140601158, 0.006273679435253143, -0.01464762631803751, 0.0062590306624770164, 0.032360322773456573, -0.04585558548569679, 0.013293169438838959, -0.0768202617764473, -0.05192019045352936, 0.06557884812355042, -0.019794518128037453, 0.003014182671904564, 0.03777437284588814, 0.00827600248157978, 0.029425978660583496, 0.004643876571208239, 0.015506090596318245, 0.03078087605535984, 0.007471327669918537, -0.043477289378643036, 0.07277526706457138, 0.06944139301776886, 0.036541860550642014, 0.038031402975320816, 0.07074418663978577, -0.00011364652891643345, -0.041174110025167465, 0.018222255632281303, -0.01787543296813965, 0.022901492193341255, -0.062211133539676666, -0.05198919400572777, -0.004194522276520729, 0.008030991069972515, -0.2415895313024521, 0.028725378215312958, 0.00958376843482256, -0.043684009462594986, 0.008191256783902645, -0.00013742546434514225, 0.04099662974476814, -0.010851643979549408, -0.016140321269631386, -0.007800170686095953, 0.004052323289215565, 0.023662637919187546, 0.09702903032302856, -0.002638844307512045, 0.05117850750684738, 0.049121495336294174, 0.06897605955600739, 0.03433992713689804, 0.027464574202895164, 0.003671870566904545, 0.04970061406493187, 0.004067550878971815, 0.16410529613494873, -0.023517362773418427, 0.018320467323064804, 0.01404427271336317, -0.0007341642049141228, -0.0038466781843453646, 0.04781156778335571, 0.010716171003878117, -0.016634425148367882, -0.04945957660675049, 0.025166640058159828, 0.005680536851286888, -0.07082664221525192, -0.009099248796701431, -0.01022596936672926, -0.040199361741542816, -0.01263099443167448, 0.03081991709768772, 0.09396826475858688, -0.009776114486157894, 0.025081297382712364, -0.01981615275144577, 0.08249825239181519, -0.03677365928888321, -0.06991565972566605, -0.08557857573032379, -0.003938395529985428, -0.03424465283751488, -0.04126271232962608, -0.04560646414756775, 0.0013666156446561217, -0.018272370100021362, -0.02720787562429905, 0.04380667954683304, 0.0005171722150407732, -0.03973449021577835, -0.10696885734796524, -0.028785113245248795, -0.009998072870075703, 0.00468615023419261, 0.024065420031547546, 0.053996820002794266, 0.026358146220445633], "a14ffc58-aa00-481c-8261-b5120fa5b1d0": [-0.0697816014289856, -0.01387390960007906, -0.00630813417956233, -0.06538791954517365, 0.023965967819094658, -0.0034106564708054066, -0.048527345061302185, 0.04697185382246971, 0.006770607084035873, 0.018033437430858612, 0.0016102707013487816, -0.06243488937616348, -0.000730011728592217, -0.01001433189958334, 0.0613325871527195, 0.05953244864940643, -0.02510768547654152, -0.033459488302469254, -0.004971542861312628, 0.0021714530885219574, -0.039380237460136414, 0.0007621074328199029, 0.008513979613780975, -0.06879077851772308, 0.026111841201782227, 0.012525093741714954, 0.004889007192105055, -0.08196038752794266, -0.007795440498739481, -0.1416730135679245, 0.017641231417655945, 0.029656603932380676, 0.02964712120592594, -0.017877724021673203, 0.02950456365942955, 0.03369879722595215, 6.177880277391523e-05, -0.009302251040935516, -0.0016047898679971695, -0.024071799591183662, -0.015807611867785454, 0.01394286472350359, -0.01289056520909071, 0.04324096441268921, 0.011878927238285542, -0.06749354302883148, -0.016515644267201424, -0.021756362169981003, -0.08532701432704926, 0.000986788421869278, 0.00943674799054861, -0.0658300444483757, -0.047803305089473724, 0.015868881717324257, 0.03818907216191292, 0.008253595791757107, 0.03191889822483063, 0.025188885629177094, 0.015172361396253109, 0.04970959946513176, 0.05620545521378517, -0.05201464891433716, -0.18630503118038177, 0.07128167897462845, 0.04442594200372696, 0.04756420478224754, -0.012913203798234463, -0.09521468728780746, 0.015558883547782898, -0.006049168761819601, 0.03176417946815491, -0.015837162733078003, 0.03159784898161888, 0.0653206929564476, 0.04318099468946457, 0.026024747639894485, 0.023268328979611397, 0.04657718911767006, 0.03648393601179123, -0.03993532061576843, 0.010314399376511574, -0.0463847815990448, 0.008401150815188885, 0.01794007234275341, -0.016378214582800865, -0.00954378116875887, -0.01444768812507391, 0.002993569243699312, -0.0010364394402131438, 0.03985006734728813, -0.027129285037517548, 0.008105230517685413, 0.024565568193793297, -0.030565878376364708, -0.036544837057590485, 0.01958588697016239, -0.0015403794823214412, 0.005927111953496933, -0.05007694289088249, 0.42199620604515076, -0.027709662914276123, -0.012174641713500023, -0.01653640903532505, -0.00026536997756920755, 0.05297176167368889, -0.00038315478013828397, 0.06091373413801193, -0.012132227420806885, 0.005837573204189539, 0.027140991762280464, -0.02149815857410431, 0.0021885500755161047, 0.09152457118034363, -0.05878857895731926, -0.008630525320768356, 0.003191910218447447, 0.02527555078268051, 0.017854586243629456, 0.021934859454631805, 0.006601922679692507, 0.0406034030020237, 0.046544209122657776, 0.032507654279470444, -0.02818896248936653, -0.012139390222728252, 0.05342884734272957, -0.014505111612379551, 0.06295794248580933, -0.006907471921294928, 0.05901622772216797, 0.019775867462158203, 0.10214836150407791, -0.011413526721298695, 0.0014139949344098568, -0.00097370968433097, -0.015514533035457134, -0.07561030983924866, -0.03778780251741409, -0.026380812749266624, 0.05931388586759567, -0.015194345265626907, 0.04945690184831619, 0.04560016840696335, -0.07369446009397507, 0.00021125053171999753, 0.05901530385017395, 0.025138145312666893, 0.01251010037958622, 0.022634344175457954, -0.013581342995166779, 0.017987269908189774, 0.07463160157203674, -0.015886841341853142, -0.03973813354969025, -0.03572043776512146, -0.0114435451105237, -0.009288630448281765, 0.03573447838425636, -0.0504770465195179, -0.02096550352871418, -0.05377497151494026, 0.001488032634370029, -0.010611488483846188, 0.056961044669151306, 0.02562716417014599, -0.1573585420846939, 0.03734268248081207, 0.09239724278450012, 0.026839017868041992, -0.010501669719815254, -0.013094430789351463, 0.018079331144690514, -0.017882728949189186, -0.04915108159184456, 0.03250722959637642, -0.0534604974091053, -0.01442906353622675, 0.039371274411678314, 0.02216082252562046, 0.01753973215818405, 0.03901058807969093, 0.005338462069630623, -0.033596936613321304, 0.05370955914258957, -0.041639264672994614, -0.04705227166414261, 0.018814966082572937, -0.022638220340013504, -0.018590526655316353, 0.01380736380815506, 0.001120757544413209, 0.03707123175263405, -0.11434773355722427, 0.03692750260233879, 0.05570206046104431, 0.014292554929852486, 0.028005272150039673, -0.055814433842897415, 0.06873337179422379, -0.017080824822187424, 0.05033845826983452, 0.045997630804777145, -0.009064672514796257, 0.02831648848950863, -0.07540114969015121, -0.03974785655736923, 0.025340575724840164, -0.0014236100250855088, 0.03690796345472336, 0.01462668739259243, -0.012419535778462887, -0.019043846055865288, 0.03028879500925541, 0.01834402047097683, 0.02311236411333084, -0.03465213254094124, 0.0024197541642934084, 0.05980006605386734, 0.0004559910739772022, 0.06548477709293365, -0.018267186358571053, 0.040869686752557755, -0.04895544797182083, -0.3304947316646576, 0.0067284852266311646, -0.011063992977142334, -0.02876746840775013, -0.03638772666454315, -0.024840010330080986, 0.01370758656412363, -0.034814782440662384, 0.07064151763916016, 0.010682210326194763, 0.043505165725946426, 0.06794808059930801, 0.018660735338926315, -0.04766048118472099, 0.027642900124192238, -0.021628497168421745, 0.04845377057790756, -0.0010466058738529682, -0.014025555923581123, -0.030007723718881607, -0.01778610423207283, 0.018259568139910698, -0.03508726879954338, -0.08634725213050842, 0.04815731197595596, 0.03751091659069061, 0.0640033483505249, 0.04065420478582382, -0.02226351387798786, -0.06055064499378204, 0.029754897579550743, 0.010662615299224854, 0.04090748727321625, -0.11955887079238892, 0.015168874524533749, 0.029223306104540825, 0.04644348844885826, -0.02657550573348999, 0.00823905598372221, 0.03066887892782688, 0.0039644911885261536, 0.019331760704517365, -0.0006657447083853185, -0.11225385218858719, -0.04750657454133034, -0.057980313897132874, -0.019024744629859924, -0.08096954971551895, -0.01937132515013218, -0.021077869459986687, 0.005962882656604052, -0.0014222649624571204, 0.03592288866639137, 0.007230705115944147, 0.007954651489853859, -0.015674550086259842, -0.018179628998041153, 0.007638419512659311, 0.019444065168499947, 0.03691549971699715, -0.00218404782935977, -0.038922324776649475, -0.02734268456697464, 0.032619278877973557, -0.011212559416890144, 0.019509389996528625, 0.02050744742155075, 0.003626949619501829, -0.006672019604593515, -0.14708825945854187, -0.03585340827703476, 0.0440346822142601, 0.0030476495157927275, 0.009676235727965832, -0.02058239094913006, -0.08300839364528656, -0.0010456222807988524, -0.030563822016119957, 0.033004045486450195, -0.006259721703827381, -0.05658986419439316, -0.05687311291694641, 0.026140626519918442, 0.03278341889381409, -0.016701556742191315, 0.023767545819282532, 0.05354703217744827, 0.04450167715549469, -0.0031783112790435553, 0.03951616957783699, -0.034108344465494156, -0.005770637188106775, -0.04309753328561783, -0.022010834887623787, 0.03930694982409477, 0.0069405571557581425, -0.22832642495632172, -0.04170854389667511, -0.0013016059529036283, -0.05414596572518349, 0.0006082983454689384, -0.013134453445672989, 0.06646669656038284, -0.06619260460138321, 0.0007480483036488295, 0.012043774127960205, 0.0030860211700201035, -0.008868327364325523, 0.05926799774169922, -0.02881578728556633, 0.06016325205564499, 0.06984931975603104, 0.03117583505809307, -0.0017375334864482284, 0.042582664638757706, -0.04868239164352417, 0.0017051748000085354, 0.023723658174276352, 0.15045872330665588, -0.0354410856962204, 0.01589503511786461, 0.047389548271894455, -0.05414605513215065, -0.021877743303775787, 0.01790517196059227, 0.002591304015368223, -0.04666031524538994, 0.0056687286123633385, 0.054717402905225754, 0.007728168275207281, -0.011131568811833858, 0.015936080366373062, -0.03576522320508957, 0.004274845588952303, 0.005194108467549086, -0.004913650453090668, 0.030526550486683846, 0.014054237864911556, 0.016483284533023834, 0.033688317984342575, 0.045562971383333206, -0.04270061478018761, 0.0014872802421450615, -0.0628671944141388, -0.005301277618855238, 0.007279894780367613, -0.00966297835111618, -0.0553797148168087, 0.033922821283340454, -0.052567008882761, 0.05211295932531357, 0.039716776460409164, -0.008077381178736687, -0.06757023185491562, -0.0584171861410141, -0.030914410948753357, 0.04750855639576912, 0.03468550369143486, 0.016000645235180855, 0.0720420628786087, 0.032614514231681824], "7146b5c5-5c20-4f5d-a008-49571aa58334": [-0.02459503524005413, -0.00272715394385159, -0.04204753413796425, -0.053665753453969955, 0.039148010313510895, -0.04690176993608475, -3.1860738090472296e-05, -0.004320464562624693, -0.04345691204071045, -0.0003290127497166395, 0.001563705620355904, -0.08338268101215363, 0.011988566257059574, 0.006539969705045223, 0.04586970806121826, 0.03440140187740326, 0.008074763230979443, -0.01071108877658844, 0.023898780345916748, 0.018149681389331818, 0.040994204580783844, 0.003940289840102196, -0.016150131821632385, -0.06055736914277077, -0.02779461070895195, 0.0577162429690361, -0.0037090908735990524, -0.054796893149614334, -0.028767485171556473, -0.11372331529855728, -0.024679800495505333, -0.018522636964917183, 0.05908169969916344, 0.005948160775005817, 0.026426468044519424, 0.027895284816622734, 0.04207814112305641, -0.0034731044434010983, -0.060943059623241425, 0.026185836642980576, -0.01483834907412529, 0.005603699944913387, -0.003912475425750017, 0.0063700187020003796, 0.06987656652927399, -0.04112384095788002, -0.01421069260686636, -0.011969481594860554, -0.11081996560096741, -0.011380392126739025, -0.020149895921349525, -0.013716062530875206, -0.041826751083135605, 0.031664229929447174, 0.038409147411584854, 0.05192067474126816, 0.02657974138855934, 0.016409412026405334, 0.019785957410931587, -0.014399463310837746, 0.0613613985478878, 0.0016969681018963456, -0.11764474958181381, 0.05913342535495758, 0.04890763387084007, 0.07447953522205353, -0.07592637836933136, -0.058333203196525574, 0.04903683438897133, 0.019429322332143784, 0.02602950856089592, -0.023150891065597534, 0.027199089527130127, 0.042547356337308884, 0.035913608968257904, 0.0478626973927021, 0.01796191744506359, 0.011579176411032677, -0.024480242282152176, -0.05744631588459015, 0.004154353402554989, -0.0074354419484734535, -0.040457651019096375, 0.040373846888542175, 0.010533219203352928, 0.009646798484027386, 0.038256291300058365, 0.057473208755254745, -0.044859569519758224, 0.06938371807336807, -0.002220776630565524, -0.0013996257912367582, 0.10379376262426376, -0.011933980509638786, -0.011584432795643806, -0.00759488670155406, 0.06313181668519974, 0.033277399837970734, -0.04979624226689339, 0.4250637888908386, -0.05872900411486626, 0.030495421960949898, 0.012491636909544468, -0.02030925638973713, 0.009320381097495556, -0.008324462920427322, 0.024629434570670128, -0.020826734602451324, 0.026107029989361763, -0.02824060618877411, -0.0033200832549482584, 0.003898190800100565, 0.0744379311800003, -0.002066931687295437, 0.03194596990942955, 0.023657681420445442, -0.0238505806773901, 0.055471546947956085, -0.0004585713322740048, 0.04806598275899887, -0.0021918159909546375, 0.06078152731060982, 0.06818929314613342, -0.017204655334353447, 0.002359940903261304, 0.04493962973356247, 0.03991224989295006, 0.03846574202179909, 0.02341480180621147, 0.08625774830579758, 0.034917283803224564, 0.08091998845338821, -0.029814835637807846, 0.031154658645391464, -0.001743581728078425, -0.00871968548744917, -0.06560840457677841, -0.01617068238556385, -0.014106388203799725, 0.11972768604755402, -0.018198028206825256, 0.06003519892692566, 0.030171239748597145, -0.10440700501203537, -0.043821658939123154, 0.011050604283809662, 0.029309337958693504, 0.012506571598351002, -0.02963162213563919, -0.01288200169801712, 0.0054310159757733345, 0.0757104828953743, 0.02122919261455536, 0.0012680359650403261, -0.00017841014778241515, 0.00028880994068458676, 0.01735110394656658, -0.03245280310511589, -0.0352259986102581, -0.013912075199186802, -0.05275360494852066, 0.012058372609317303, 0.010508377104997635, 0.017179181799292564, 0.030573280528187752, -0.1985536366701126, 0.04106258973479271, -0.0009720981470309198, 0.0056717307306826115, -0.04114004597067833, 0.029997380450367928, 0.030518127605319023, 0.0005079454276710749, -0.08671329915523529, 0.04323355853557587, -0.03810490295290947, -0.025238502770662308, -0.0034445058554410934, -0.0023992520291358232, 0.004745983052998781, 0.023413140326738358, 0.0008658756851218641, -0.039986032992601395, 0.004127452615648508, -0.020212937146425247, -0.037093378603458405, 0.0011048527667298913, -0.03366786614060402, 0.0041041299700737, 0.025079388171434402, -0.04955916106700897, -0.0266749057918787, -0.029941486194729805, 0.06196103245019913, -0.005754981189966202, -0.012442630715668201, 0.013490760698914528, -0.04324803128838539, 0.02122468873858452, -0.029135527089238167, 0.057864267379045486, 0.02215348184108734, -0.04684412479400635, -0.015238534659147263, -0.027660122141242027, -0.024731464684009552, -0.02573075145483017, -0.006114847958087921, 0.04762990027666092, 0.013132159598171711, -0.009437568485736847, 0.031310830265283585, 0.025251958519220352, 0.03172296658158302, 0.01701769419014454, -0.0440814271569252, 0.026051534339785576, 0.02052024006843567, 0.03660653904080391, 0.05687049403786659, -0.040897056460380554, -0.018189528957009315, -0.0878048986196518, -0.29751822352409363, -0.038615208119153976, -0.018204422667622566, 0.043007902801036835, 0.013759275898337364, -0.013858377933502197, 0.018955912441015244, -0.02552047185599804, 0.05331750959157944, 0.06319964677095413, 0.10073322057723999, 0.03834692761301994, 0.032453298568725586, -0.03296494856476784, 0.007014862727373838, -0.013608778826892376, 0.001275584101676941, -0.04069255664944649, -0.016325149685144424, -0.03879856690764427, 0.021801307797431946, -0.029202325269579887, -0.002969322493299842, -0.1257217973470688, 0.005705259274691343, -0.011251887306571007, 0.09643805772066116, 0.04309841990470886, -0.018812788650393486, -0.05440819635987282, 0.005043641664087772, -0.006006778683513403, 0.019268330186605453, -0.12018879503011703, 0.003767297836020589, 0.02703338861465454, 0.06019827723503113, -0.01590321958065033, -0.04023585468530655, -0.003709044074639678, -0.011600200086832047, -0.0019601371604949236, -0.002903048414736986, -0.08703785389661789, -0.029246816411614418, -0.005426153540611267, -0.04469473659992218, -0.06501498818397522, -0.020539667457342148, 0.025923671200871468, -0.007091574836522341, 0.055738598108291626, 0.027399787679314613, -0.013007679022848606, 0.009862331673502922, 0.01300288550555706, -0.0298610832542181, 0.013778699561953545, -0.04916178062558174, -0.0030295702163130045, -0.025868652388453484, -0.04981481283903122, -0.024813273921608925, 0.047323644161224365, 0.005551341455429792, 0.012320080772042274, 0.011473706923425198, 0.033645451068878174, 0.018442073836922646, -0.05699450150132179, -0.0009020025609061122, 0.0944700613617897, -0.007151565980166197, 0.019515570253133774, 0.02595323696732521, -0.02987336739897728, -0.047453299164772034, -0.0036718023475259542, 0.016906946897506714, -0.002247377997264266, 0.0017183565068989992, -0.020516714081168175, 0.025646114721894264, 0.010244966484606266, -0.01492488943040371, 0.02577545866370201, 0.06167630851268768, -0.07383109629154205, 0.022650593891739845, 0.03990281745791435, 0.020007118582725525, -0.027538027614355087, -0.06065589562058449, -0.11146631836891174, 0.07253415882587433, -0.0018238630145788193, -0.24216894805431366, -0.05725045129656792, -0.004207044839859009, -0.02437943033874035, 0.025635642930865288, -0.01438713539391756, 0.06063533574342728, -0.028575625270605087, -0.0020567686296999454, 0.004386660177260637, -0.04553387686610222, 0.045027803629636765, -0.004284076392650604, 0.018937120214104652, 0.055544331669807434, 0.01706165447831154, 0.011685971170663834, -0.006190731190145016, -0.002232953440397978, 0.006693500559777021, 0.06530304253101349, -0.006394718308001757, 0.14944416284561157, -0.02701118402183056, 0.0016822247998788953, 0.07649210840463638, -0.043921440839767456, 0.004398415796458721, 0.09030820429325104, -0.00901325885206461, -0.05899050086736679, -0.002732750028371811, 0.053825657814741135, -0.02401808835566044, -0.00637316657230258, 0.0200877096503973, 0.04043968766927719, -0.00733644375577569, 0.009193996898829937, -0.07564065605401993, -0.0051546101458370686, -0.007716289721429348, 0.05438130348920822, 0.03217924386262894, 0.04263687506318092, -0.06775613874197006, -0.03516385331749916, -0.09700813889503479, -0.04214322194457054, 0.019693685695528984, -0.030054202303290367, -0.04886225238442421, -0.006975262891501188, -0.015622291713953018, -0.004899874329566956, 0.06864847242832184, 0.018434016034007072, -0.033688925206661224, -0.05086328089237213, -0.089083731174469, -0.010642810724675655, 0.006491978187114, -0.005771412048488855, 0.006113583687692881, 0.03179429844021797]}, "text_id_to_ref_doc_id": {"91c98c96-747f-4252-85ee-aeb0a25a8e94": "cc9d8436-8704-4296-96ff-18b2425417af", "a14ffc58-aa00-481c-8261-b5120fa5b1d0": "b8a90649-5538-4fc0-826c-168a50587c4b", "7146b5c5-5c20-4f5d-a008-49571aa58334": "ec090e43-ef25-4902-b24b-a080d45f07b1"}, "metadata_dict": {"91c98c96-747f-4252-85ee-aeb0a25a8e94": {"_node_type": "TextNode", "document_id": "cc9d8436-8704-4296-96ff-18b2425417af", "doc_id": "cc9d8436-8704-4296-96ff-18b2425417af", "ref_doc_id": "cc9d8436-8704-4296-96ff-18b2425417af"}, "a14ffc58-aa00-481c-8261-b5120fa5b1d0": {"_node_type": "TextNode", "document_id": "b8a90649-5538-4fc0-826c-168a50587c4b", "doc_id": "b8a90649-5538-4fc0-826c-168a50587c4b", "ref_doc_id": "b8a90649-5538-4fc0-826c-168a50587c4b"}, "7146b5c5-5c20-4f5d-a008-49571aa58334": {"_node_type": "TextNode", "document_id": "ec090e43-ef25-4902-b24b-a080d45f07b1", "doc_id": "ec090e43-ef25-4902-b24b-a080d45f07b1", "ref_doc_id": "ec090e43-ef25-4902-b24b-a080d45f07b1"}}}
 
1
+ {"embedding_dict": {"2a25c832-3901-402b-9b80-9bc7367ab25a": [-0.010833202861249447, 0.003552559530362487, -0.05723457410931587, -0.02316351607441902, -0.030187562108039856, -0.03306390717625618, -0.026448359712958336, 0.035489123314619064, 0.0022495242301374674, 0.03803287819027901, 0.01977158896625042, -0.050217047333717346, 0.007806713227182627, -0.03357952833175659, 0.025451168417930603, 0.053998496383428574, -0.014704631641507149, 0.007848602719604969, -0.006806501653045416, 0.026602037250995636, 0.011317660100758076, -0.03507688269019127, -0.012031958438456059, -0.007664864882826805, 0.03156352415680885, 0.01150552835315466, -0.03412175551056862, -0.028324922546744347, 0.018246127292513847, -0.1699867844581604, -0.04060913249850273, 0.01323002576828003, 0.05146702378988266, -0.022772135213017464, 0.05409794673323631, -0.052405163645744324, 0.04712435230612755, -0.01516879815608263, -0.04573247209191322, -0.010004033334553242, -0.024087630212306976, 0.012186483480036259, 0.011403320357203484, 0.03199091553688049, -0.017696911469101906, -0.03303002566099167, 0.007726616691797972, -0.00034410555963404477, -0.07639499008655548, -0.008081850595772266, -0.026090098544955254, -0.07241639494895935, -0.03593185171484947, 0.03889315947890282, 0.013065927661955357, 0.008815520443022251, 0.01967158541083336, 0.015683559700846672, -0.029102060943841934, 0.06151338666677475, 0.033720433712005615, -0.02295197732746601, -0.10192757844924927, 0.06075612083077431, 0.0573904775083065, 0.09418807178735733, -0.005790953990072012, -0.06665503233671188, -0.006929979659616947, 0.03844199329614639, 0.0015077546704560518, 0.02266647294163704, -0.028740331530570984, 0.03681420534849167, 0.041975896805524826, 0.014060037210583687, 0.10115566104650497, 0.0196726992726326, 0.01579597406089306, 0.03430682793259621, -0.009587854146957397, -0.08517336845397949, -0.004632146563380957, 0.03011523000895977, 0.01312741544097662, 0.0015936411218717694, -0.027864599600434303, 0.023007428273558617, 0.03551827743649483, 0.04878456890583038, 0.018392516300082207, 0.01920618861913681, 0.038361866027116776, -0.012571752071380615, -0.018850106745958328, 0.006856504362076521, 0.02210346981883049, 0.043362125754356384, 0.004670935217291117, 0.4127327799797058, -0.045450661331415176, -0.018379922956228256, -0.04227535054087639, -0.03556273505091667, 0.03257184475660324, 0.009495334699749947, 0.0398719348013401, 0.014710955321788788, 0.027961501851677895, 0.01651199720799923, -0.05416461452841759, -0.04197270795702934, 0.06881295144557953, -0.021096020936965942, 0.0031496870797127485, -0.03343557193875313, -0.008464465849101543, 0.03548373281955719, 0.021444499492645264, 0.009092709980905056, 0.049140043556690216, 0.0635852962732315, 0.057824164628982544, -0.06333386152982712, -0.0004042128275614232, 0.06604170799255371, -0.014111163094639778, 0.056892577558755875, -0.008403626270592213, 0.1274154782295227, 0.023205189034342766, 0.03728543967008591, 0.014587943442165852, -0.008088497444987297, -0.0028336753603070974, -0.011048869229853153, -0.08145665377378464, -0.0692964643239975, -0.036454468965530396, 0.07093723118305206, -0.06053009256720543, 0.023567426949739456, -0.015592825599014759, -0.02427261881530285, -0.028817081823945045, 0.05149497464299202, 0.026996877044439316, 0.0166555754840374, 0.007155032362788916, 0.0005050799227319658, 0.01646311767399311, 0.029341280460357666, -0.01250365935266018, -0.048426199704408646, -0.01797391287982464, 0.03298334404826164, 0.004924396984279156, -0.006106449756771326, -0.07549424469470978, 0.006449908018112183, -0.027115097269415855, -0.01693066768348217, 0.021725697442889214, 0.0330212228000164, 0.004612661898136139, -0.13969488441944122, 0.01628219522535801, 0.03128183260560036, 0.013727869838476181, -0.058761049062013626, -0.028734520077705383, -0.026868093758821487, -0.056457120925188065, -0.05615009367465973, 0.04944198578596115, -0.021696846932172775, -0.03227219358086586, 0.0005777996266260743, 0.01794782280921936, -0.008427747525274754, -0.007724966388195753, 0.031414199620485306, -0.0011177583364769816, 0.04907790198922157, -0.019816750660538673, -0.05943482369184494, 0.012834308668971062, 0.00854367483407259, -0.012871420942246914, -0.019497990608215332, -0.07321041822433472, 0.03199465945363045, -0.02963702566921711, 0.0075788418762385845, 0.052480846643447876, -0.003463445231318474, 0.08495385199785233, -0.06433761864900589, 0.010745320469141006, -0.014748594723641872, 0.10030373930931091, 0.07474800199270248, -0.022581439465284348, 0.00401464244350791, -0.03058890625834465, -0.009752114303410053, 0.027327436953783035, 0.045475974678993225, 0.05662817135453224, 0.01740540750324726, -0.01618068479001522, 0.010191311128437519, 0.015340973623096943, 0.026493020355701447, 0.036202967166900635, -0.05724560096859932, 0.002241783542558551, 0.024190757423639297, -0.008892442099750042, 0.0339965783059597, 0.021369993686676025, -0.002904316410422325, -0.07497262954711914, -0.3062879741191864, -0.0008489611209370196, -0.01718597486615181, 0.0074182674288749695, -0.050534605979919434, -0.012654652819037437, 0.029012354090809822, -0.013403919525444508, -0.020740054547786713, 0.04363014176487923, 0.09408171474933624, 0.047662507742643356, 0.04541211202740669, -0.06037064269185066, 0.015333320014178753, -0.019996462389826775, 0.06527359038591385, -0.036717552691698074, -0.0139081422239542, -0.03738871216773987, 0.04401201754808426, -0.021798191592097282, 0.010519781149923801, -0.13814178109169006, 0.058621615171432495, -0.005996387917548418, 0.09733843803405762, 0.04305002838373184, -0.04021779075264931, -0.10805661231279373, -0.009739069268107414, -0.05047672241926193, 0.026948094367980957, -0.13760773837566376, 0.05912356078624725, -0.003559634555131197, 0.03209066390991211, -0.022525284439325333, 0.00875861942768097, 0.04927150160074234, -0.02142365463078022, -0.005441525485366583, -0.03155412897467613, -0.0472961850464344, 0.009203077293932438, -0.050146736204624176, -0.013789440505206585, -0.08644277602434158, -0.018538251519203186, 0.011618949472904205, -0.015968887135386467, -0.00933737214654684, 0.009656531736254692, 0.03242269903421402, -0.05600203201174736, 0.004599939100444317, 0.010281605646014214, 0.023593436926603317, -0.014517433941364288, -0.020563360303640366, -0.029982242733240128, -0.026560766622424126, -0.01754644140601158, 0.006273679435253143, -0.01464762631803751, 0.0062590306624770164, 0.032360322773456573, -0.04585558548569679, 0.013293169438838959, -0.0768202617764473, -0.05192019045352936, 0.06557884812355042, -0.019794518128037453, 0.003014182671904564, 0.03777437284588814, 0.00827600248157978, 0.029425978660583496, 0.004643876571208239, 0.015506090596318245, 0.03078087605535984, 0.007471327669918537, -0.043477289378643036, 0.07277526706457138, 0.06944139301776886, 0.036541860550642014, 0.038031402975320816, 0.07074418663978577, -0.00011364652891643345, -0.041174110025167465, 0.018222255632281303, -0.01787543296813965, 0.022901492193341255, -0.062211133539676666, -0.05198919400572777, -0.004194522276520729, 0.008030991069972515, -0.2415895313024521, 0.028725378215312958, 0.00958376843482256, -0.043684009462594986, 0.008191256783902645, -0.00013742546434514225, 0.04099662974476814, -0.010851643979549408, -0.016140321269631386, -0.007800170686095953, 0.004052323289215565, 0.023662637919187546, 0.09702903032302856, -0.002638844307512045, 0.05117850750684738, 0.049121495336294174, 0.06897605955600739, 0.03433992713689804, 0.027464574202895164, 0.003671870566904545, 0.04970061406493187, 0.004067550878971815, 0.16410529613494873, -0.023517362773418427, 0.018320467323064804, 0.01404427271336317, -0.0007341642049141228, -0.0038466781843453646, 0.04781156778335571, 0.010716171003878117, -0.016634425148367882, -0.04945957660675049, 0.025166640058159828, 0.005680536851286888, -0.07082664221525192, -0.009099248796701431, -0.01022596936672926, -0.040199361741542816, -0.01263099443167448, 0.03081991709768772, 0.09396826475858688, -0.009776114486157894, 0.025081297382712364, -0.01981615275144577, 0.08249825239181519, -0.03677365928888321, -0.06991565972566605, -0.08557857573032379, -0.003938395529985428, -0.03424465283751488, -0.04126271232962608, -0.04560646414756775, 0.0013666156446561217, -0.018272370100021362, -0.02720787562429905, 0.04380667954683304, 0.0005171722150407732, -0.03973449021577835, -0.10696885734796524, -0.028785113245248795, -0.009998072870075703, 0.00468615023419261, 0.024065420031547546, 0.053996820002794266, 0.026358146220445633], "d44e301d-9b6d-4fa1-9f41-e8bd90383001": [-0.0697816014289856, -0.01387390960007906, -0.00630813417956233, -0.06538791954517365, 0.023965967819094658, -0.0034106564708054066, -0.048527345061302185, 0.04697185382246971, 0.006770607084035873, 0.018033437430858612, 0.0016102707013487816, -0.06243488937616348, -0.000730011728592217, -0.01001433189958334, 0.0613325871527195, 0.05953244864940643, -0.02510768547654152, -0.033459488302469254, -0.004971542861312628, 0.0021714530885219574, -0.039380237460136414, 0.0007621074328199029, 0.008513979613780975, -0.06879077851772308, 0.026111841201782227, 0.012525093741714954, 0.004889007192105055, -0.08196038752794266, -0.007795440498739481, -0.1416730135679245, 0.017641231417655945, 0.029656603932380676, 0.02964712120592594, -0.017877724021673203, 0.02950456365942955, 0.03369879722595215, 6.177880277391523e-05, -0.009302251040935516, -0.0016047898679971695, -0.024071799591183662, -0.015807611867785454, 0.01394286472350359, -0.01289056520909071, 0.04324096441268921, 0.011878927238285542, -0.06749354302883148, -0.016515644267201424, -0.021756362169981003, -0.08532701432704926, 0.000986788421869278, 0.00943674799054861, -0.0658300444483757, -0.047803305089473724, 0.015868881717324257, 0.03818907216191292, 0.008253595791757107, 0.03191889822483063, 0.025188885629177094, 0.015172361396253109, 0.04970959946513176, 0.05620545521378517, -0.05201464891433716, -0.18630503118038177, 0.07128167897462845, 0.04442594200372696, 0.04756420478224754, -0.012913203798234463, -0.09521468728780746, 0.015558883547782898, -0.006049168761819601, 0.03176417946815491, -0.015837162733078003, 0.03159784898161888, 0.0653206929564476, 0.04318099468946457, 0.026024747639894485, 0.023268328979611397, 0.04657718911767006, 0.03648393601179123, -0.03993532061576843, 0.010314399376511574, -0.0463847815990448, 0.008401150815188885, 0.01794007234275341, -0.016378214582800865, -0.00954378116875887, -0.01444768812507391, 0.002993569243699312, -0.0010364394402131438, 0.03985006734728813, -0.027129285037517548, 0.008105230517685413, 0.024565568193793297, -0.030565878376364708, -0.036544837057590485, 0.01958588697016239, -0.0015403794823214412, 0.005927111953496933, -0.05007694289088249, 0.42199620604515076, -0.027709662914276123, -0.012174641713500023, -0.01653640903532505, -0.00026536997756920755, 0.05297176167368889, -0.00038315478013828397, 0.06091373413801193, -0.012132227420806885, 0.005837573204189539, 0.027140991762280464, -0.02149815857410431, 0.0021885500755161047, 0.09152457118034363, -0.05878857895731926, -0.008630525320768356, 0.003191910218447447, 0.02527555078268051, 0.017854586243629456, 0.021934859454631805, 0.006601922679692507, 0.0406034030020237, 0.046544209122657776, 0.032507654279470444, -0.02818896248936653, -0.012139390222728252, 0.05342884734272957, -0.014505111612379551, 0.06295794248580933, -0.006907471921294928, 0.05901622772216797, 0.019775867462158203, 0.10214836150407791, -0.011413526721298695, 0.0014139949344098568, -0.00097370968433097, -0.015514533035457134, -0.07561030983924866, -0.03778780251741409, -0.026380812749266624, 0.05931388586759567, -0.015194345265626907, 0.04945690184831619, 0.04560016840696335, -0.07369446009397507, 0.00021125053171999753, 0.05901530385017395, 0.025138145312666893, 0.01251010037958622, 0.022634344175457954, -0.013581342995166779, 0.017987269908189774, 0.07463160157203674, -0.015886841341853142, -0.03973813354969025, -0.03572043776512146, -0.0114435451105237, -0.009288630448281765, 0.03573447838425636, -0.0504770465195179, -0.02096550352871418, -0.05377497151494026, 0.001488032634370029, -0.010611488483846188, 0.056961044669151306, 0.02562716417014599, -0.1573585420846939, 0.03734268248081207, 0.09239724278450012, 0.026839017868041992, -0.010501669719815254, -0.013094430789351463, 0.018079331144690514, -0.017882728949189186, -0.04915108159184456, 0.03250722959637642, -0.0534604974091053, -0.01442906353622675, 0.039371274411678314, 0.02216082252562046, 0.01753973215818405, 0.03901058807969093, 0.005338462069630623, -0.033596936613321304, 0.05370955914258957, -0.041639264672994614, -0.04705227166414261, 0.018814966082572937, -0.022638220340013504, -0.018590526655316353, 0.01380736380815506, 0.001120757544413209, 0.03707123175263405, -0.11434773355722427, 0.03692750260233879, 0.05570206046104431, 0.014292554929852486, 0.028005272150039673, -0.055814433842897415, 0.06873337179422379, -0.017080824822187424, 0.05033845826983452, 0.045997630804777145, -0.009064672514796257, 0.02831648848950863, -0.07540114969015121, -0.03974785655736923, 0.025340575724840164, -0.0014236100250855088, 0.03690796345472336, 0.01462668739259243, -0.012419535778462887, -0.019043846055865288, 0.03028879500925541, 0.01834402047097683, 0.02311236411333084, -0.03465213254094124, 0.0024197541642934084, 0.05980006605386734, 0.0004559910739772022, 0.06548477709293365, -0.018267186358571053, 0.040869686752557755, -0.04895544797182083, -0.3304947316646576, 0.0067284852266311646, -0.011063992977142334, -0.02876746840775013, -0.03638772666454315, -0.024840010330080986, 0.01370758656412363, -0.034814782440662384, 0.07064151763916016, 0.010682210326194763, 0.043505165725946426, 0.06794808059930801, 0.018660735338926315, -0.04766048118472099, 0.027642900124192238, -0.021628497168421745, 0.04845377057790756, -0.0010466058738529682, -0.014025555923581123, -0.030007723718881607, -0.01778610423207283, 0.018259568139910698, -0.03508726879954338, -0.08634725213050842, 0.04815731197595596, 0.03751091659069061, 0.0640033483505249, 0.04065420478582382, -0.02226351387798786, -0.06055064499378204, 0.029754897579550743, 0.010662615299224854, 0.04090748727321625, -0.11955887079238892, 0.015168874524533749, 0.029223306104540825, 0.04644348844885826, -0.02657550573348999, 0.00823905598372221, 0.03066887892782688, 0.0039644911885261536, 0.019331760704517365, -0.0006657447083853185, -0.11225385218858719, -0.04750657454133034, -0.057980313897132874, -0.019024744629859924, -0.08096954971551895, -0.01937132515013218, -0.021077869459986687, 0.005962882656604052, -0.0014222649624571204, 0.03592288866639137, 0.007230705115944147, 0.007954651489853859, -0.015674550086259842, -0.018179628998041153, 0.007638419512659311, 0.019444065168499947, 0.03691549971699715, -0.00218404782935977, -0.038922324776649475, -0.02734268456697464, 0.032619278877973557, -0.011212559416890144, 0.019509389996528625, 0.02050744742155075, 0.003626949619501829, -0.006672019604593515, -0.14708825945854187, -0.03585340827703476, 0.0440346822142601, 0.0030476495157927275, 0.009676235727965832, -0.02058239094913006, -0.08300839364528656, -0.0010456222807988524, -0.030563822016119957, 0.033004045486450195, -0.006259721703827381, -0.05658986419439316, -0.05687311291694641, 0.026140626519918442, 0.03278341889381409, -0.016701556742191315, 0.023767545819282532, 0.05354703217744827, 0.04450167715549469, -0.0031783112790435553, 0.03951616957783699, -0.034108344465494156, -0.005770637188106775, -0.04309753328561783, -0.022010834887623787, 0.03930694982409477, 0.0069405571557581425, -0.22832642495632172, -0.04170854389667511, -0.0013016059529036283, -0.05414596572518349, 0.0006082983454689384, -0.013134453445672989, 0.06646669656038284, -0.06619260460138321, 0.0007480483036488295, 0.012043774127960205, 0.0030860211700201035, -0.008868327364325523, 0.05926799774169922, -0.02881578728556633, 0.06016325205564499, 0.06984931975603104, 0.03117583505809307, -0.0017375334864482284, 0.042582664638757706, -0.04868239164352417, 0.0017051748000085354, 0.023723658174276352, 0.15045872330665588, -0.0354410856962204, 0.01589503511786461, 0.047389548271894455, -0.05414605513215065, -0.021877743303775787, 0.01790517196059227, 0.002591304015368223, -0.04666031524538994, 0.0056687286123633385, 0.054717402905225754, 0.007728168275207281, -0.011131568811833858, 0.015936080366373062, -0.03576522320508957, 0.004274845588952303, 0.005194108467549086, -0.004913650453090668, 0.030526550486683846, 0.014054237864911556, 0.016483284533023834, 0.033688317984342575, 0.045562971383333206, -0.04270061478018761, 0.0014872802421450615, -0.0628671944141388, -0.005301277618855238, 0.007279894780367613, -0.00966297835111618, -0.0553797148168087, 0.033922821283340454, -0.052567008882761, 0.05211295932531357, 0.039716776460409164, -0.008077381178736687, -0.06757023185491562, -0.0584171861410141, -0.030914410948753357, 0.04750855639576912, 0.03468550369143486, 0.016000645235180855, 0.0720420628786087, 0.032614514231681824], "a7015cff-c541-44f1-92d1-41d0207b4507": [-0.02459503524005413, -0.00272715394385159, -0.04204753413796425, -0.053665753453969955, 0.039148010313510895, -0.04690176993608475, -3.1860738090472296e-05, -0.004320464562624693, -0.04345691204071045, -0.0003290127497166395, 0.001563705620355904, -0.08338268101215363, 0.011988566257059574, 0.006539969705045223, 0.04586970806121826, 0.03440140187740326, 0.008074763230979443, -0.01071108877658844, 0.023898780345916748, 0.018149681389331818, 0.040994204580783844, 0.003940289840102196, -0.016150131821632385, -0.06055736914277077, -0.02779461070895195, 0.0577162429690361, -0.0037090908735990524, -0.054796893149614334, -0.028767485171556473, -0.11372331529855728, -0.024679800495505333, -0.018522636964917183, 0.05908169969916344, 0.005948160775005817, 0.026426468044519424, 0.027895284816622734, 0.04207814112305641, -0.0034731044434010983, -0.060943059623241425, 0.026185836642980576, -0.01483834907412529, 0.005603699944913387, -0.003912475425750017, 0.0063700187020003796, 0.06987656652927399, -0.04112384095788002, -0.01421069260686636, -0.011969481594860554, -0.11081996560096741, -0.011380392126739025, -0.020149895921349525, -0.013716062530875206, -0.041826751083135605, 0.031664229929447174, 0.038409147411584854, 0.05192067474126816, 0.02657974138855934, 0.016409412026405334, 0.019785957410931587, -0.014399463310837746, 0.0613613985478878, 0.0016969681018963456, -0.11764474958181381, 0.05913342535495758, 0.04890763387084007, 0.07447953522205353, -0.07592637836933136, -0.058333203196525574, 0.04903683438897133, 0.019429322332143784, 0.02602950856089592, -0.023150891065597534, 0.027199089527130127, 0.042547356337308884, 0.035913608968257904, 0.0478626973927021, 0.01796191744506359, 0.011579176411032677, -0.024480242282152176, -0.05744631588459015, 0.004154353402554989, -0.0074354419484734535, -0.040457651019096375, 0.040373846888542175, 0.010533219203352928, 0.009646798484027386, 0.038256291300058365, 0.057473208755254745, -0.044859569519758224, 0.06938371807336807, -0.002220776630565524, -0.0013996257912367582, 0.10379376262426376, -0.011933980509638786, -0.011584432795643806, -0.00759488670155406, 0.06313181668519974, 0.033277399837970734, -0.04979624226689339, 0.4250637888908386, -0.05872900411486626, 0.030495421960949898, 0.012491636909544468, -0.02030925638973713, 0.009320381097495556, -0.008324462920427322, 0.024629434570670128, -0.020826734602451324, 0.026107029989361763, -0.02824060618877411, -0.0033200832549482584, 0.003898190800100565, 0.0744379311800003, -0.002066931687295437, 0.03194596990942955, 0.023657681420445442, -0.0238505806773901, 0.055471546947956085, -0.0004585713322740048, 0.04806598275899887, -0.0021918159909546375, 0.06078152731060982, 0.06818929314613342, -0.017204655334353447, 0.002359940903261304, 0.04493962973356247, 0.03991224989295006, 0.03846574202179909, 0.02341480180621147, 0.08625774830579758, 0.034917283803224564, 0.08091998845338821, -0.029814835637807846, 0.031154658645391464, -0.001743581728078425, -0.00871968548744917, -0.06560840457677841, -0.01617068238556385, -0.014106388203799725, 0.11972768604755402, -0.018198028206825256, 0.06003519892692566, 0.030171239748597145, -0.10440700501203537, -0.043821658939123154, 0.011050604283809662, 0.029309337958693504, 0.012506571598351002, -0.02963162213563919, -0.01288200169801712, 0.0054310159757733345, 0.0757104828953743, 0.02122919261455536, 0.0012680359650403261, -0.00017841014778241515, 0.00028880994068458676, 0.01735110394656658, -0.03245280310511589, -0.0352259986102581, -0.013912075199186802, -0.05275360494852066, 0.012058372609317303, 0.010508377104997635, 0.017179181799292564, 0.030573280528187752, -0.1985536366701126, 0.04106258973479271, -0.0009720981470309198, 0.0056717307306826115, -0.04114004597067833, 0.029997380450367928, 0.030518127605319023, 0.0005079454276710749, -0.08671329915523529, 0.04323355853557587, -0.03810490295290947, -0.025238502770662308, -0.0034445058554410934, -0.0023992520291358232, 0.004745983052998781, 0.023413140326738358, 0.0008658756851218641, -0.039986032992601395, 0.004127452615648508, -0.020212937146425247, -0.037093378603458405, 0.0011048527667298913, -0.03366786614060402, 0.0041041299700737, 0.025079388171434402, -0.04955916106700897, -0.0266749057918787, -0.029941486194729805, 0.06196103245019913, -0.005754981189966202, -0.012442630715668201, 0.013490760698914528, -0.04324803128838539, 0.02122468873858452, -0.029135527089238167, 0.057864267379045486, 0.02215348184108734, -0.04684412479400635, -0.015238534659147263, -0.027660122141242027, -0.024731464684009552, -0.02573075145483017, -0.006114847958087921, 0.04762990027666092, 0.013132159598171711, -0.009437568485736847, 0.031310830265283585, 0.025251958519220352, 0.03172296658158302, 0.01701769419014454, -0.0440814271569252, 0.026051534339785576, 0.02052024006843567, 0.03660653904080391, 0.05687049403786659, -0.040897056460380554, -0.018189528957009315, -0.0878048986196518, -0.29751822352409363, -0.038615208119153976, -0.018204422667622566, 0.043007902801036835, 0.013759275898337364, -0.013858377933502197, 0.018955912441015244, -0.02552047185599804, 0.05331750959157944, 0.06319964677095413, 0.10073322057723999, 0.03834692761301994, 0.032453298568725586, -0.03296494856476784, 0.007014862727373838, -0.013608778826892376, 0.001275584101676941, -0.04069255664944649, -0.016325149685144424, -0.03879856690764427, 0.021801307797431946, -0.029202325269579887, -0.002969322493299842, -0.1257217973470688, 0.005705259274691343, -0.011251887306571007, 0.09643805772066116, 0.04309841990470886, -0.018812788650393486, -0.05440819635987282, 0.005043641664087772, -0.006006778683513403, 0.019268330186605453, -0.12018879503011703, 0.003767297836020589, 0.02703338861465454, 0.06019827723503113, -0.01590321958065033, -0.04023585468530655, -0.003709044074639678, -0.011600200086832047, -0.0019601371604949236, -0.002903048414736986, -0.08703785389661789, -0.029246816411614418, -0.005426153540611267, -0.04469473659992218, -0.06501498818397522, -0.020539667457342148, 0.025923671200871468, -0.007091574836522341, 0.055738598108291626, 0.027399787679314613, -0.013007679022848606, 0.009862331673502922, 0.01300288550555706, -0.0298610832542181, 0.013778699561953545, -0.04916178062558174, -0.0030295702163130045, -0.025868652388453484, -0.04981481283903122, -0.024813273921608925, 0.047323644161224365, 0.005551341455429792, 0.012320080772042274, 0.011473706923425198, 0.033645451068878174, 0.018442073836922646, -0.05699450150132179, -0.0009020025609061122, 0.0944700613617897, -0.007151565980166197, 0.019515570253133774, 0.02595323696732521, -0.02987336739897728, -0.047453299164772034, -0.0036718023475259542, 0.016906946897506714, -0.002247377997264266, 0.0017183565068989992, -0.020516714081168175, 0.025646114721894264, 0.010244966484606266, -0.01492488943040371, 0.02577545866370201, 0.06167630851268768, -0.07383109629154205, 0.022650593891739845, 0.03990281745791435, 0.020007118582725525, -0.027538027614355087, -0.06065589562058449, -0.11146631836891174, 0.07253415882587433, -0.0018238630145788193, -0.24216894805431366, -0.05725045129656792, -0.004207044839859009, -0.02437943033874035, 0.025635642930865288, -0.01438713539391756, 0.06063533574342728, -0.028575625270605087, -0.0020567686296999454, 0.004386660177260637, -0.04553387686610222, 0.045027803629636765, -0.004284076392650604, 0.018937120214104652, 0.055544331669807434, 0.01706165447831154, 0.011685971170663834, -0.006190731190145016, -0.002232953440397978, 0.006693500559777021, 0.06530304253101349, -0.006394718308001757, 0.14944416284561157, -0.02701118402183056, 0.0016822247998788953, 0.07649210840463638, -0.043921440839767456, 0.004398415796458721, 0.09030820429325104, -0.00901325885206461, -0.05899050086736679, -0.002732750028371811, 0.053825657814741135, -0.02401808835566044, -0.00637316657230258, 0.0200877096503973, 0.04043968766927719, -0.00733644375577569, 0.009193996898829937, -0.07564065605401993, -0.0051546101458370686, -0.007716289721429348, 0.05438130348920822, 0.03217924386262894, 0.04263687506318092, -0.06775613874197006, -0.03516385331749916, -0.09700813889503479, -0.04214322194457054, 0.019693685695528984, -0.030054202303290367, -0.04886225238442421, -0.006975262891501188, -0.015622291713953018, -0.004899874329566956, 0.06864847242832184, 0.018434016034007072, -0.033688925206661224, -0.05086328089237213, -0.089083731174469, -0.010642810724675655, 0.006491978187114, -0.005771412048488855, 0.006113583687692881, 0.03179429844021797]}, "text_id_to_ref_doc_id": {"2a25c832-3901-402b-9b80-9bc7367ab25a": "e059701e-89af-4b9c-b9e6-db21d67f7d18", "d44e301d-9b6d-4fa1-9f41-e8bd90383001": "14afd538-346d-4c78-b013-fc6e356531eb", "a7015cff-c541-44f1-92d1-41d0207b4507": "6cf10823-2aa7-4ba4-8feb-20578f5b8ea8"}, "metadata_dict": {"2a25c832-3901-402b-9b80-9bc7367ab25a": {"_node_type": "TextNode", "document_id": "e059701e-89af-4b9c-b9e6-db21d67f7d18", "doc_id": "e059701e-89af-4b9c-b9e6-db21d67f7d18", "ref_doc_id": "e059701e-89af-4b9c-b9e6-db21d67f7d18"}, "d44e301d-9b6d-4fa1-9f41-e8bd90383001": {"_node_type": "TextNode", "document_id": "14afd538-346d-4c78-b013-fc6e356531eb", "doc_id": "14afd538-346d-4c78-b013-fc6e356531eb", "ref_doc_id": "14afd538-346d-4c78-b013-fc6e356531eb"}, "a7015cff-c541-44f1-92d1-41d0207b4507": {"_node_type": "TextNode", "document_id": "6cf10823-2aa7-4ba4-8feb-20578f5b8ea8", "doc_id": "6cf10823-2aa7-4ba4-8feb-20578f5b8ea8", "ref_doc_id": "6cf10823-2aa7-4ba4-8feb-20578f5b8ea8"}}}
storage/docstore.json CHANGED
@@ -1 +1 @@
1
- {"docstore/metadata": {"cc9d8436-8704-4296-96ff-18b2425417af": {"doc_hash": "137681331020ba45370f85060fa7e57df067388da716943a2b1814f82d1a7aaf"}, "b8a90649-5538-4fc0-826c-168a50587c4b": {"doc_hash": "462ec5c5c45da617a23c1ba05c2ea8fdfb12232e5b2277ad17b2aa54393e610a"}, "ec090e43-ef25-4902-b24b-a080d45f07b1": {"doc_hash": "ed022f5a93cadb684fc4406cd0f8c89e891cd27ab480fe74ddc16de7b928c698"}, "91c98c96-747f-4252-85ee-aeb0a25a8e94": {"doc_hash": "d1749b9fd0ac387f090f97b52a516f23271a74a9afb93d281d05876baab03fdb", "ref_doc_id": "cc9d8436-8704-4296-96ff-18b2425417af"}, "a14ffc58-aa00-481c-8261-b5120fa5b1d0": {"doc_hash": "a33cba242c9cfef420917121ecfbd3cebcdac0922422f6231f1d12d125e0429b", "ref_doc_id": "b8a90649-5538-4fc0-826c-168a50587c4b"}, "7146b5c5-5c20-4f5d-a008-49571aa58334": {"doc_hash": "3ccf436e9b52028f19deac56f16026e88aaac1182998185346b04b2e4354cd83", "ref_doc_id": "ec090e43-ef25-4902-b24b-a080d45f07b1"}}, "docstore/data": {"91c98c96-747f-4252-85ee-aeb0a25a8e94": {"__data__": {"id_": "91c98c96-747f-4252-85ee-aeb0a25a8e94", "embedding": null, "metadata": {}, "excluded_embed_metadata_keys": [], "excluded_llm_metadata_keys": [], "relationships": {"1": {"node_id": "cc9d8436-8704-4296-96ff-18b2425417af", "node_type": "4", "metadata": {}, "hash": "137681331020ba45370f85060fa7e57df067388da716943a2b1814f82d1a7aaf", "class_name": "RelatedNodeInfo"}}, "metadata_template": "{key}: {value}", "metadata_separator": "\n", "text": "Sarah Chen\n\nEmail: sarah.chen@email.com\n\nLinkedIn: linkedin.com/in/sarahchen\n\nFull Stack Web Developer\n\nGitHub: github.com/sarahcodes\n\nPortfolio: sarahchen.dev\n\nLocation: San Francisco, CA\n\n# Professional Summary\n\nInnovative Full Stack Web Developer with 6+ years of experience crafting scalable web applications and microservices. Specialized in React, Node.js, and cloud architecture. Proven track record of leading technical teams and implementing CI/CD pipelines that reduced deployment time by 40%. Passionate about clean code, accessibility, and mentoring junior developers.\n\n# Professional Experience\n\n# Senior Full Stack Developer\n\nTechFlow Solutions | San Francisco, CA January 2022 - Present\n\n- Architected and implemented a microservices-based e-commerce platform serving 100K+ daily users\n- Led a team of 5 developers in rebuilding the company's flagship product using React and Node.js\n- Implemented GraphQL API gateway that reduced API response times by 60%\n- Established coding standards and review processes that improved code quality by 45%\n\n# Technical Skills\n\n# Frontend:\n\n- React.js, Redux, Next.js, TypeScript\n- Vue.js, Nuxt.js\n- HTML5, CSS3, SASS/SCSS\n- Jest, React Testing Library\n- WebPack, Babel\n\n# Backend:\n\n- Node.js, Express.js\n- Python, Django\n- GraphQL, REST APIs\n- PostgreSQL, MongoDB", "mimetype": "text/plain", "start_char_idx": 0, "end_char_idx": 1315, "metadata_seperator": "\n", "text_template": "{metadata_str}\n\n{content}", "class_name": "TextNode"}, "__type__": "1"}, "a14ffc58-aa00-481c-8261-b5120fa5b1d0": {"__data__": {"id_": "a14ffc58-aa00-481c-8261-b5120fa5b1d0", "embedding": null, "metadata": {}, "excluded_embed_metadata_keys": [], "excluded_llm_metadata_keys": [], "relationships": {"1": {"node_id": "b8a90649-5538-4fc0-826c-168a50587c4b", "node_type": "4", "metadata": {}, "hash": "462ec5c5c45da617a23c1ba05c2ea8fdfb12232e5b2277ad17b2aa54393e610a", "class_name": "RelatedNodeInfo"}}, "metadata_template": "{key}: {value}", "metadata_separator": "\n", "text": "# Full Stack Developer\n\nInnovateSoft | Oakland, CA March 2019 - December 2021\n\n- Mentored 3 junior developers who were promoted to mid-level positions\n- Developed and maintained 10+ customer-facing applications using Vue.js and Django\n- Implemented automated testing suite that increased code coverage from 65% to 95%\n- Optimized database queries resulting in 30% faster page load times\n- Collaborated with UX team to implement accessibility features (WCAG 2.1 compliance)\n- Created documentation that reduced onboarding time for new developers by 50%\n\n# Tools & Others:\n\n- Docker, Kubernetes\n- AWS (EC2, S3, Lambda)\n- Git, GitHub Actions\n- Jenkins, CircleCI\n- Agile/Scrum methodology\n- Performance optimization\n\n# Junior Web Developer\n\nStartupHub | San Jose, CA June 2017 - February 2019\n\n- Built responsive web applications using React.js and Express.js\n- Implemented user authentication system using JWT and OAuth2.0\n- Contributed to migration of legacy PHP applications to modern JavaScript stack\n- Developed RESTful APIs consumed by mobile and web applications\n\n# Education\n\nBachelor of Science in Computer Science\n\nUniversity of California, Berkeley 2013 - 2017\n\n- GPA: 3.8/4.0\n- Minor in User Experience Design\n- President of Women in Tech Society", "mimetype": "text/plain", "start_char_idx": 0, "end_char_idx": 1254, "metadata_seperator": "\n", "text_template": "{metadata_str}\n\n{content}", "class_name": "TextNode"}, "__type__": "1"}, "7146b5c5-5c20-4f5d-a008-49571aa58334": {"__data__": {"id_": "7146b5c5-5c20-4f5d-a008-49571aa58334", "embedding": null, "metadata": {}, "excluded_embed_metadata_keys": [], "excluded_llm_metadata_keys": [], "relationships": {"1": {"node_id": "ec090e43-ef25-4902-b24b-a080d45f07b1", "node_type": "4", "metadata": {}, "hash": "ed022f5a93cadb684fc4406cd0f8c89e891cd27ab480fe74ddc16de7b928c698", "class_name": "RelatedNodeInfo"}}, "metadata_template": "{key}: {value}", "metadata_separator": "\n", "text": "# Projects\n\n# EcoTrack | GitHub\n\n- Built full-stack application for tracking carbon footprint using React, Node.js, and MongoDB\n- Implemented machine learning algorithm for providing personalized sustainability recommendations\n- Featured in TechCrunch's \"Top 10 Environmental Impact Apps of 2023\"\n\n# ChatFlow | Demo\n\n- Developed real-time chat application using WebSocket protocol and React\n- Implemented end-to-end encryption and message persistence\n- Serves 5000+ monthly active users\n\n# Certifications\n\n- AWS Certified Solutions Architect (2023)\n- Google Cloud Professional Developer (2022)\n- MongoDB Certified Developer (2021)\n\n# Languages\n\n- English (Native)\n- Mandarin Chinese (Fluent)\n- Spanish (Intermediate)\n\n# Interests\n\n- Open source contribution\n- Tech blogging (15K+ Medium followers)\n- Hackathon mentoring\n- Rock climbing", "mimetype": "text/plain", "start_char_idx": 0, "end_char_idx": 835, "metadata_seperator": "\n", "text_template": "{metadata_str}\n\n{content}", "class_name": "TextNode"}, "__type__": "1"}}, "docstore/ref_doc_info": {"cc9d8436-8704-4296-96ff-18b2425417af": {"node_ids": ["91c98c96-747f-4252-85ee-aeb0a25a8e94"], "metadata": {}}, "b8a90649-5538-4fc0-826c-168a50587c4b": {"node_ids": ["a14ffc58-aa00-481c-8261-b5120fa5b1d0"], "metadata": {}}, "ec090e43-ef25-4902-b24b-a080d45f07b1": {"node_ids": ["7146b5c5-5c20-4f5d-a008-49571aa58334"], "metadata": {}}}}
 
1
+ {"docstore/metadata": {"e059701e-89af-4b9c-b9e6-db21d67f7d18": {"doc_hash": "137681331020ba45370f85060fa7e57df067388da716943a2b1814f82d1a7aaf"}, "14afd538-346d-4c78-b013-fc6e356531eb": {"doc_hash": "462ec5c5c45da617a23c1ba05c2ea8fdfb12232e5b2277ad17b2aa54393e610a"}, "6cf10823-2aa7-4ba4-8feb-20578f5b8ea8": {"doc_hash": "ed022f5a93cadb684fc4406cd0f8c89e891cd27ab480fe74ddc16de7b928c698"}, "2a25c832-3901-402b-9b80-9bc7367ab25a": {"doc_hash": "d1749b9fd0ac387f090f97b52a516f23271a74a9afb93d281d05876baab03fdb", "ref_doc_id": "e059701e-89af-4b9c-b9e6-db21d67f7d18"}, "d44e301d-9b6d-4fa1-9f41-e8bd90383001": {"doc_hash": "a33cba242c9cfef420917121ecfbd3cebcdac0922422f6231f1d12d125e0429b", "ref_doc_id": "14afd538-346d-4c78-b013-fc6e356531eb"}, "a7015cff-c541-44f1-92d1-41d0207b4507": {"doc_hash": "3ccf436e9b52028f19deac56f16026e88aaac1182998185346b04b2e4354cd83", "ref_doc_id": "6cf10823-2aa7-4ba4-8feb-20578f5b8ea8"}}, "docstore/data": {"2a25c832-3901-402b-9b80-9bc7367ab25a": {"__data__": {"id_": "2a25c832-3901-402b-9b80-9bc7367ab25a", "embedding": null, "metadata": {}, "excluded_embed_metadata_keys": [], "excluded_llm_metadata_keys": [], "relationships": {"1": {"node_id": "e059701e-89af-4b9c-b9e6-db21d67f7d18", "node_type": "4", "metadata": {}, "hash": "137681331020ba45370f85060fa7e57df067388da716943a2b1814f82d1a7aaf", "class_name": "RelatedNodeInfo"}}, "metadata_template": "{key}: {value}", "metadata_separator": "\n", "text": "Sarah Chen\n\nEmail: sarah.chen@email.com\n\nLinkedIn: linkedin.com/in/sarahchen\n\nFull Stack Web Developer\n\nGitHub: github.com/sarahcodes\n\nPortfolio: sarahchen.dev\n\nLocation: San Francisco, CA\n\n# Professional Summary\n\nInnovative Full Stack Web Developer with 6+ years of experience crafting scalable web applications and microservices. Specialized in React, Node.js, and cloud architecture. Proven track record of leading technical teams and implementing CI/CD pipelines that reduced deployment time by 40%. Passionate about clean code, accessibility, and mentoring junior developers.\n\n# Professional Experience\n\n# Senior Full Stack Developer\n\nTechFlow Solutions | San Francisco, CA January 2022 - Present\n\n- Architected and implemented a microservices-based e-commerce platform serving 100K+ daily users\n- Led a team of 5 developers in rebuilding the company's flagship product using React and Node.js\n- Implemented GraphQL API gateway that reduced API response times by 60%\n- Established coding standards and review processes that improved code quality by 45%\n\n# Technical Skills\n\n# Frontend:\n\n- React.js, Redux, Next.js, TypeScript\n- Vue.js, Nuxt.js\n- HTML5, CSS3, SASS/SCSS\n- Jest, React Testing Library\n- WebPack, Babel\n\n# Backend:\n\n- Node.js, Express.js\n- Python, Django\n- GraphQL, REST APIs\n- PostgreSQL, MongoDB", "mimetype": "text/plain", "start_char_idx": 0, "end_char_idx": 1315, "metadata_seperator": "\n", "text_template": "{metadata_str}\n\n{content}", "class_name": "TextNode"}, "__type__": "1"}, "d44e301d-9b6d-4fa1-9f41-e8bd90383001": {"__data__": {"id_": "d44e301d-9b6d-4fa1-9f41-e8bd90383001", "embedding": null, "metadata": {}, "excluded_embed_metadata_keys": [], "excluded_llm_metadata_keys": [], "relationships": {"1": {"node_id": "14afd538-346d-4c78-b013-fc6e356531eb", "node_type": "4", "metadata": {}, "hash": "462ec5c5c45da617a23c1ba05c2ea8fdfb12232e5b2277ad17b2aa54393e610a", "class_name": "RelatedNodeInfo"}}, "metadata_template": "{key}: {value}", "metadata_separator": "\n", "text": "# Full Stack Developer\n\nInnovateSoft | Oakland, CA March 2019 - December 2021\n\n- Mentored 3 junior developers who were promoted to mid-level positions\n- Developed and maintained 10+ customer-facing applications using Vue.js and Django\n- Implemented automated testing suite that increased code coverage from 65% to 95%\n- Optimized database queries resulting in 30% faster page load times\n- Collaborated with UX team to implement accessibility features (WCAG 2.1 compliance)\n- Created documentation that reduced onboarding time for new developers by 50%\n\n# Tools & Others:\n\n- Docker, Kubernetes\n- AWS (EC2, S3, Lambda)\n- Git, GitHub Actions\n- Jenkins, CircleCI\n- Agile/Scrum methodology\n- Performance optimization\n\n# Junior Web Developer\n\nStartupHub | San Jose, CA June 2017 - February 2019\n\n- Built responsive web applications using React.js and Express.js\n- Implemented user authentication system using JWT and OAuth2.0\n- Contributed to migration of legacy PHP applications to modern JavaScript stack\n- Developed RESTful APIs consumed by mobile and web applications\n\n# Education\n\nBachelor of Science in Computer Science\n\nUniversity of California, Berkeley 2013 - 2017\n\n- GPA: 3.8/4.0\n- Minor in User Experience Design\n- President of Women in Tech Society", "mimetype": "text/plain", "start_char_idx": 0, "end_char_idx": 1254, "metadata_seperator": "\n", "text_template": "{metadata_str}\n\n{content}", "class_name": "TextNode"}, "__type__": "1"}, "a7015cff-c541-44f1-92d1-41d0207b4507": {"__data__": {"id_": "a7015cff-c541-44f1-92d1-41d0207b4507", "embedding": null, "metadata": {}, "excluded_embed_metadata_keys": [], "excluded_llm_metadata_keys": [], "relationships": {"1": {"node_id": "6cf10823-2aa7-4ba4-8feb-20578f5b8ea8", "node_type": "4", "metadata": {}, "hash": "ed022f5a93cadb684fc4406cd0f8c89e891cd27ab480fe74ddc16de7b928c698", "class_name": "RelatedNodeInfo"}}, "metadata_template": "{key}: {value}", "metadata_separator": "\n", "text": "# Projects\n\n# EcoTrack | GitHub\n\n- Built full-stack application for tracking carbon footprint using React, Node.js, and MongoDB\n- Implemented machine learning algorithm for providing personalized sustainability recommendations\n- Featured in TechCrunch's \"Top 10 Environmental Impact Apps of 2023\"\n\n# ChatFlow | Demo\n\n- Developed real-time chat application using WebSocket protocol and React\n- Implemented end-to-end encryption and message persistence\n- Serves 5000+ monthly active users\n\n# Certifications\n\n- AWS Certified Solutions Architect (2023)\n- Google Cloud Professional Developer (2022)\n- MongoDB Certified Developer (2021)\n\n# Languages\n\n- English (Native)\n- Mandarin Chinese (Fluent)\n- Spanish (Intermediate)\n\n# Interests\n\n- Open source contribution\n- Tech blogging (15K+ Medium followers)\n- Hackathon mentoring\n- Rock climbing", "mimetype": "text/plain", "start_char_idx": 0, "end_char_idx": 835, "metadata_seperator": "\n", "text_template": "{metadata_str}\n\n{content}", "class_name": "TextNode"}, "__type__": "1"}}, "docstore/ref_doc_info": {"e059701e-89af-4b9c-b9e6-db21d67f7d18": {"node_ids": ["2a25c832-3901-402b-9b80-9bc7367ab25a"], "metadata": {}}, "14afd538-346d-4c78-b013-fc6e356531eb": {"node_ids": ["d44e301d-9b6d-4fa1-9f41-e8bd90383001"], "metadata": {}}, "6cf10823-2aa7-4ba4-8feb-20578f5b8ea8": {"node_ids": ["a7015cff-c541-44f1-92d1-41d0207b4507"], "metadata": {}}}}
storage/index_store.json CHANGED
@@ -1 +1 @@
1
- {"index_store/data": {"38555257-a541-4ca0-bb9f-74a51eab93ae": {"__type__": "vector_store", "__data__": "{\"index_id\": \"38555257-a541-4ca0-bb9f-74a51eab93ae\", \"summary\": null, \"nodes_dict\": {\"91c98c96-747f-4252-85ee-aeb0a25a8e94\": \"91c98c96-747f-4252-85ee-aeb0a25a8e94\", \"a14ffc58-aa00-481c-8261-b5120fa5b1d0\": \"a14ffc58-aa00-481c-8261-b5120fa5b1d0\", \"7146b5c5-5c20-4f5d-a008-49571aa58334\": \"7146b5c5-5c20-4f5d-a008-49571aa58334\"}, \"doc_id_dict\": {}, \"embeddings_dict\": {}}"}}}
 
1
+ {"index_store/data": {"e64b09b8-b99a-4d40-85b7-4070dc10988c": {"__type__": "vector_store", "__data__": "{\"index_id\": \"e64b09b8-b99a-4d40-85b7-4070dc10988c\", \"summary\": null, \"nodes_dict\": {\"2a25c832-3901-402b-9b80-9bc7367ab25a\": \"2a25c832-3901-402b-9b80-9bc7367ab25a\", \"d44e301d-9b6d-4fa1-9f41-e8bd90383001\": \"d44e301d-9b6d-4fa1-9f41-e8bd90383001\", \"a7015cff-c541-44f1-92d1-41d0207b4507\": \"a7015cff-c541-44f1-92d1-41d0207b4507\"}, \"doc_id_dict\": {}, \"embeddings_dict\": {}}"}}}
test_workflow.py ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from llama_index.core.workflow import (
2
+ StartEvent,
3
+ StopEvent,
4
+ Workflow,
5
+ step,
6
+ Event,
7
+ Context,
8
+ )
9
+ import asyncio
10
+ import nest_asyncio
11
+ from llama_index.llms.groq import Groq
12
+ from llama_index.utils.workflow import draw_all_possible_flows
13
+ from IPython.display import display, HTML
14
+ from dotenv import load_dotenv
15
+ from helper import extract_html_content
16
+ from pathlib import Path
17
+ import os
18
+
19
+ nest_asyncio.apply()
20
+
21
+ load_dotenv()
22
+ GROQ_API_KEY = os.getenv("GROQ_API_KEY")
23
+ global_llm = Groq(api_key=GROQ_API_KEY, model="llama3-70b-8192")
24
+
25
+
26
+ class FirstEvent(Event):
27
+ first_output: str
28
+
29
+
30
+ class SecondEvent(Event):
31
+ second_output: str
32
+ response: str
33
+
34
+
35
+ class ProgressEvent(Event):
36
+ msg: str
37
+
38
+
39
+ class MyWorkflow(Workflow):
40
+ @step
41
+ async def step_one(self, ctx: Context, ev: StartEvent) -> FirstEvent:
42
+ ctx.write_event_to_stream(ProgressEvent(msg="Step one is happening"))
43
+ return FirstEvent(first_output="First step complete.")
44
+
45
+ @step
46
+ async def step_two(self, ctx: Context, ev: FirstEvent) -> SecondEvent:
47
+ llm = global_llm
48
+ generator = await llm.astream_complete(
49
+ "Please give me the first 3 paragraphs of Moby Dick, a book in the public domain."
50
+ )
51
+ async for response in generator:
52
+ # Allow the workflow to stream this piece of response
53
+ ctx.write_event_to_stream(ProgressEvent(msg=response.delta))
54
+ return SecondEvent(
55
+ second_output="Second step complete, full response attached",
56
+ response=str(response),
57
+ )
58
+
59
+ @step
60
+ async def step_three(self, ctx: Context, ev: SecondEvent) -> StopEvent:
61
+ ctx.write_event_to_stream(ProgressEvent(msg="Step three is happening"))
62
+ return StopEvent(result="Workflow complete.")
63
+
64
+
65
+ async def main():
66
+ w = MyWorkflow(timeout=30, verbose=True)
67
+ handler = w.run(first_input="Start the workflow.")
68
+
69
+ async for ev in handler.stream_events():
70
+ if isinstance(ev, ProgressEvent):
71
+ print(ev.msg)
72
+
73
+ final_result = await handler
74
+ print("Final result", final_result)
75
+
76
+ workflow_file = Path(__file__).parent / "workflows" / "streaming_workflow.html"
77
+ draw_all_possible_flows(w, filename=str(workflow_file))
78
+ html_content = extract_html_content(str(workflow_file))
79
+ display(HTML(html_content), metadata=dict(isolated=True))
80
+
81
+
82
+ if __name__ == "__main__":
83
+ asyncio.run(main())