try few things

This commit is contained in:
Vasilije 2024-05-25 15:13:59 +02:00
parent f606df3388
commit cdbda586c8

View file

@ -14,12 +14,12 @@ async def main():
dataset_name = "cs_explanations"
explanation_file_path = path.join("/home/runner/work/cognee/cognee/tests/", "test_data/Natural_language_processing.txt")
explanation_file_path = path.join("/Users/runner/work/cognee/cognee/./cognee/tests", "test_data/Natural_language_processing.txt")
await cognee.add([explanation_file_path], dataset_name)
dataset_name = "short_stories"
# data_directory_path is defined above
await cognee.add("data://" + "/home/runner/work/cognee/cognee/tests/", dataset_name)
await cognee.add("data://" + "/Users/runner/work/cognee/cognee/./cognee/tests", dataset_name)
text_1 = """A quantum computer is a computer that takes advantage of quantum mechanical phenomena.
At small scales, physical matter exhibits properties of both particles and waves, and quantum computing leverages this behavior, specifically quantum superposition and entanglement, using specialized hardware that supports the preparation and manipulation of quantum states.