ORA / logs /ingest_debug.txt
Abdalkaderdev's picture
Initial ORA deployment
5e0532d
��--- Starting Bible Ingestion ---
Loading 'odunola/bible-reference-sentence-pair' (streaming)...
Fetching first 200 items...
Processing 200 verses...
debug: first item: {'Unnamed: 0': 0, 'headers': 'Adam, Seth, Enosh,', 'references': 'All the tribes came from a common ancestor, Jacob, and through him from Abraham. Abraham was the true father of the nation and a key figure in GodRs purposes for the human race (cf. Genesis 12:1-3; Genesis 13:14-17; Matthew 1:2-16).'}
debug: Using Ref Key: reference, Text Key: sentence
python : Traceback (most recent call
last):
At line:1 char:1
+ python scripts/ingest_bible.py >
logs/ingest_debug.txt 2>&1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpeci
fied: (Traceback (most recent call
last)::String) [], RemoteExceptio
n
+ FullyQualifiedErrorId : NativeCo
mmandError
File "C:\Users\max\Desktop\soap\ORA\s
cripts\ingest_bible.py", line 83, in
<module>
asyncio.run(ingest())
~~~~~~~~~~~^^^^^^^^^^
File "C:\Users\max\AppData\Local\Prog
rams\Python\Python313\Lib\asyncio\runne
rs.py", line 195, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "C:\Users\max\AppData\Local\Prog
rams\Python\Python313\Lib\asyncio\runne
rs.py", line 118, in run
return
self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "C:\Users\max\AppData\Local\Prog
rams\Python\Python313\Lib\asyncio\base_
events.py", line 725, in
run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "C:\Users\max\Desktop\soap\ORA\s
cripts\ingest_bible.py", line 50, in
ingest
first_text = verses[0][text_key]
~~~~~~~~~^^^^^^^^^^
KeyError: 'sentence'