# Using the provided PDF file instead of downloading the text file
input_text = "/work/Reliance_Retail.pdf"
# Uncomment the print statement below to view the file content
# print(open(input_text, 'rb').read())
# Now we'll upload the ontology file from cognee repo. This provides a structure for various types of companies (car manufacturers, tech companies), products they make, and the categories of those products.
!wget -O basic_ontology.owl https://raw.githubusercontent.com/topoteretes/cognee/main/examples/python/ontology_input_example/basic_ontology.owl
ontology_path = "/work/basic_ontology.owl"
Run to view results
search_results_traditional_rag = await cognee.search(
query_type=SearchType.RAG_COMPLETION,
query_text="What are the diffrent comapny comes under reliance?",
)
print(search_results_traditional_rag)