Spaces:
Sleeping
Sleeping
Update raqa.py
Browse files
raqa.py
CHANGED
@@ -3,6 +3,9 @@ from aimakerspace.text_utils import TextFileLoader, CharacterTextSplitter
|
|
3 |
from aimakerspace.vectordatabase import VectorDatabase
|
4 |
import asyncio
|
5 |
|
|
|
|
|
|
|
6 |
text_loader = TextFileLoader("data/KingLear.txt")
|
7 |
documents = text_loader.load_documents()
|
8 |
|
|
|
3 |
from aimakerspace.vectordatabase import VectorDatabase
|
4 |
import asyncio
|
5 |
|
6 |
+
|
7 |
+
sys.path.append(".")
|
8 |
+
|
9 |
text_loader = TextFileLoader("data/KingLear.txt")
|
10 |
documents = text_loader.load_documents()
|
11 |
|