[Issue]: Getting the same result (output) after giving a seperate different input CSV file in examples> custom_input >run.py #1379
Labels
triage
Default label assignment, indicates new issue needs reviewed by a maintainer
Do you need to file an issue?
Describe the issue
I am implementing basic examples, the original workflow and run.py worked perfectly well for custome_input in examples. But when I try to give it my own input csv file, in the same format as the workflow accept. So, instead of giving the different output, it gives me the same result.
Below is the modifications I made in run.py file
` Function to load the dataset from a CSV file
def _load_dataset_from_csv(file_path: str) -> pd.DataFrame:
dataset = pd.read_csv(file_path)
print("Loaded dataset:")
print(dataset.head()) # Print the first few rows to confirm dataset loading
return dataset
Async function to run the pipeline
async def run():
# Load the dataset from a CSV file (update the path with your file location)
dataset = _load_dataset_from_csv(r"C:\Users\Aabid Karim\Desktop\NFQS research literature\Graph_Rag_Implentation\Examples_custome_input\input_data.csv") # Replace with your CSV file path`
Steps to reproduce
No response
GraphRAG Config Used
YML
import asyncio import os import pandas as pd from graphrag.index import run_pipeline_with_config
Logs and screenshots
Screenshot of my output
Screenshot of csv format
Additional Information
The text was updated successfully, but these errors were encountered: