Skip to content

Commit

Permalink
Merge pull request #11 from severian42/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
severian42 authored Jul 16, 2024
2 parents 308375d + da381be commit da79a48
Show file tree
Hide file tree
Showing 353 changed files with 129 additions and 60 deletions.
Binary file modified .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Follow these steps to set up and run GraphRAG Local with Ollama and Interactive
4. **Launch the interactive UI:**
```bash
conda activate graphrag
gradio app.py
```
or
Expand Down
186 changes: 126 additions & 60 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,47 @@ def run_command(command):
except subprocess.CalledProcessError as e:
return f"Error: {e.stderr}"

def index_graph(root_dir):
def index_graph(root_dir, progress=gr.Progress()):
command = f"python -m graphrag.index --root {root_dir}"
logging.info(f"Running indexing command: {command}")
result = run_command(command)

# Create a queue to store the output
output_queue = queue.Queue()

def run_command_with_output():
process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)
for line in iter(process.stdout.readline, ''):
output_queue.put(line)
process.stdout.close()
process.wait()

# Start the command in a separate thread
thread = threading.Thread(target=run_command_with_output)
thread.start()

# Initialize progress
progress(0, desc="Starting indexing...")

# Process the output and update progress
full_output = []
while thread.is_alive() or not output_queue.empty():
try:
line = output_queue.get_nowait()
full_output.append(line)

# Update progress based on the output
if "Processing file" in line:
progress((0.5, None), desc="Processing files...")
elif "Indexing completed" in line:
progress(1, desc="Indexing completed")

yield "\n".join(full_output), update_logs()
except queue.Empty:
time.sleep(0.1)

thread.join()
logging.info("Indexing completed")
return result, update_logs()
return "\n".join(full_output), update_logs()

def run_query(root_dir, method, query, history):
command = f"python -m graphrag.query --root {root_dir} --method {method} \"{query}\""
Expand Down Expand Up @@ -121,7 +156,7 @@ def upload_file(file):
# Get the updated file list
updated_file_list = [f["path"] for f in list_input_files()]

return status, gr.Dropdown.update(choices=updated_file_list), update_logs()
return status, gr.update(choices=updated_file_list), update_logs()

def list_input_files():
input_dir = os.path.join("ragtest", "input")
Expand All @@ -140,7 +175,7 @@ def delete_file(file_path):
# Get the updated file list
updated_file_list = [f["path"] for f in list_input_files()]

return status, gr.Dropdown.update(choices=updated_file_list), update_logs()
return status, gr.update(choices=updated_file_list), update_logs()

def read_file_content(file_path):
try:
Expand Down Expand Up @@ -208,7 +243,7 @@ def find_latest_graph_file(root_dir):
def update_visualization(root_dir, folder_name, file_name):
if not folder_name or not file_name:
return None, "Please select a folder and a GraphML file."
file_name = file_name.split("] ")[1] # Remove file type prefix
file_name = file_name.split("] ")[1] if "]" in file_name else file_name # Remove file type prefix
graph_path = os.path.join(root_dir, "output", folder_name, "artifacts", file_name)
if not graph_path.endswith('.graphml'):
return None, "Please select a GraphML file for visualization."
Expand Down Expand Up @@ -275,9 +310,9 @@ def update_visualization(root_dir, folder_name, file_name):
title=f'3D Graph Visualization: {os.path.basename(graph_path)}',
showlegend=False,
scene=dict(
xaxis=dict(showbackground=False),
yaxis=dict(showbackground=False),
zaxis=dict(showbackground=False)
xaxis=dict(showbackground=False, showticklabels=False, title=''),
yaxis=dict(showbackground=False, showticklabels=False, title=''),
zaxis=dict(showbackground=False, showticklabels=False, title='')
),
margin=dict(l=0, r=0, b=0, t=40),
annotations=[
Expand All @@ -289,11 +324,14 @@ def update_visualization(root_dir, folder_name, file_name):
x=0,
y=0
)
]
],
autosize=True
)

# Return the Plotly figure instead of converting to image
return fig, f"Graph visualization generated successfully. Using file: {graph_path}"
fig.update_layout(autosize=True)
fig.update_layout(height=600) # Set a fixed height
config = {'responsive': True}
return fig, f"Graph visualization generated successfully. Using file: {graph_path}", config
except Exception as e:
return None, f"Error visualizing graph: {str(e)}"

Expand Down Expand Up @@ -335,7 +373,7 @@ def send_message(root_dir, query_type, query, history, system_message, temperatu
else: # Direct chat
result = chat_with_llm(query, history, system_message, temperature, max_tokens, model)
history.append((query, result))
return history, gr.Textbox.update(value=""), update_logs()
return history, gr.update(value=""), update_logs()

def fetch_ollama_models():
try:
Expand All @@ -350,7 +388,7 @@ def fetch_ollama_models():

def update_model_choices():
models = fetch_ollama_models()
return gr.Dropdown.update(choices=models, value=models[0] if models else None)
return gr.update(choices=models, value=models[0] if models else None)

custom_css = """
html, body {
Expand Down Expand Up @@ -415,34 +453,26 @@ def update_model_choices():
margin-top: 10px;
}
#visualization-container {
height: 30%;
min-height: 200px;
display: flex;
flex-direction: column;
border: 2px solid var(--color-accent);
border-radius: 8px;
margin-top: 20px;
overflow: hidden;
}
#visualization-plot {
flex: 1;
min-height: 0;
width: 100%;
aspect-ratio: 1 / 1;
max-height: 600px; /* Adjust this value as needed */
}
#vis-controls {
padding: 10px;
background-color: var(--color-foreground);
border-top: 1px solid var(--color-accent);
#vis-controls-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10px;
}
#vis-controls .gr-button {
margin-bottom: 10px;
#vis-controls-row > * {
flex: 1;
margin: 0 5px;
}
#vis-status {
margin-top: 5px;
margin-top: 10px;
}
/* Chat input styling */
Expand Down Expand Up @@ -540,10 +570,35 @@ def update_model_choices():
}
#visualization-container {
display: flex;
flex-direction: column;
border: 2px solid var(--color-accent);
border-radius: 8px;
padding: 10px;
margin-top: 20px;
padding: 10px;
background-color: var(--color-foreground);
height: calc(100vh - 300px); /* Adjust this value as needed */
}
#visualization-plot {
width: 100%;
height: 100%;
}
#vis-controls-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10px;
}
#vis-controls-row > * {
flex: 1;
margin: 0 5px;
}
#vis-status {
margin-top: 10px;
}
#log-container {
Expand Down Expand Up @@ -590,7 +645,7 @@ def list_output_files(root_dir):

def update_file_list():
files = list_input_files()
return gr.Dropdown.update(choices=[f["path"] for f in files])
return gr.update(choices=[f["path"] for f in files])

def update_file_content(file_path):
if not file_path:
Expand All @@ -605,36 +660,41 @@ def update_file_content(file_path):

def update_output_folder_list():
folders = list_output_folders(root_dir.value)
return gr.Dropdown.update(choices=folders, value=folders[0] if folders else None)
return gr.update(choices=folders, value=folders[0] if folders else None)

def update_folder_content_list(root_dir, folder_name):
if not folder_name:
return gr.Dropdown.update(choices=[])
return gr.update(choices=[])
contents = list_folder_contents(os.path.join(root_dir, "output", folder_name))
return gr.Dropdown.update(choices=contents)
return gr.update(choices=contents)

def handle_content_selection(root_dir, folder_name, selected_item):
if selected_item.startswith("[DIR]"):
if isinstance(selected_item, list) and selected_item:
selected_item = selected_item[0] # Take the first item if it's a list

if isinstance(selected_item, str) and selected_item.startswith("[DIR]"):
dir_name = selected_item[6:] # Remove "[DIR] " prefix
sub_contents = list_folder_contents(os.path.join(root_dir, "output", folder_name, dir_name))
return gr.Dropdown.update(choices=sub_contents), "", ""
else:
file_name = selected_item.split("] ")[1] # Remove file type prefix
return gr.update(choices=sub_contents), "", ""
elif isinstance(selected_item, str):
file_name = selected_item.split("] ")[1] if "]" in selected_item else selected_item # Remove file type prefix if present
file_path = os.path.join(root_dir, "output", folder_name, "artifacts", file_name)
file_size = os.path.getsize(file_path)
file_type = os.path.splitext(file_name)[1]
file_info = f"File: {file_name}\nSize: {file_size} bytes\nType: {file_type}"
content = read_file_content(file_path)
return gr.Dropdown.update(), file_info, content
return gr.update(), file_info, content
else:
return gr.update(), "", ""

def initialize_selected_folder(root_dir, folder_name):
if not folder_name:
return "Please select a folder first.", gr.Dropdown.update(choices=[])
return "Please select a folder first.", gr.update(choices=[])
folder_path = os.path.join(root_dir, "output", folder_name, "artifacts")
if not os.path.exists(folder_path):
return f"Artifacts folder not found in '{folder_name}'.", gr.Dropdown.update(choices=[])
return f"Artifacts folder not found in '{folder_name}'.", gr.update(choices=[])
contents = list_folder_contents(folder_path)
return f"Folder '{folder_name}/artifacts' initialized with {len(contents)} items.", gr.Dropdown.update(choices=contents)
return f"Folder '{folder_name}/artifacts' initialized with {len(contents)} items.", gr.update(choices=contents)

def list_output_folders(root_dir):
output_dir = os.path.join(root_dir, "output")
Expand All @@ -656,13 +716,13 @@ def list_folder_contents(folder_path):
default_model = settings['llm']['model']

with gr.Blocks(css=custom_css, theme=gr.themes.Base()) as demo:
gr.Markdown("# GraphRAG UI", elem_id="title")
gr.Markdown("# GraphRAG Local UI", elem_id="title")

with gr.Row(elem_id="main-container"):
with gr.Column(scale=1, elem_id="left-column"):
with gr.Tabs():
with gr.TabItem("Data Management"):
with gr.Accordion("File Operations", open=False):
with gr.Accordion("File Upload (.txt)", open=True):
file_upload = gr.File(label="Upload .txt File", file_types=[".txt"])
upload_btn = gr.Button("Upload File", variant="primary")
upload_output = gr.Textbox(label="Upload Status", visible=False)
Expand All @@ -680,10 +740,11 @@ def list_folder_contents(folder_path):
operation_status = gr.Textbox(label="Operation Status", visible=False)


with gr.Accordion("Indexing", open=False):
root_dir = gr.Textbox(label="Root Directory", value="./ragtest")
with gr.Accordion("Indexing", open=True):
root_dir = gr.Textbox(label="Root Directory", value=os.path.abspath("./ragtest"))
index_btn = gr.Button("Run Indexing", variant="primary")
index_output = gr.Textbox(label="Indexing Output", lines=5, visible=False)
index_output = gr.Textbox(label="Indexing Output", lines=10, visible=True)
index_progress = gr.Textbox(label="Indexing Progress", visible=True)

with gr.TabItem("Indexing Outputs"):
output_folder_list = gr.Dropdown(label="Select Output Folder", choices=[], interactive=True)
Expand All @@ -696,15 +757,15 @@ def list_folder_contents(folder_path):

with gr.TabItem("Settings"):
settings = load_settings()
with gr.Box():
with gr.Group():
for key, value in settings.items():
create_setting_component(key, value)

with gr.Box(elem_id="log-container"):
with gr.Group(elem_id="log-container"):
log_output = gr.TextArea(label="Logs", elem_id="log-output")

with gr.Column(scale=2, elem_id="right-column"):
with gr.Box(elem_id="chat-container"):
with gr.Group(elem_id="chat-container"):
chatbot = gr.Chatbot(label="Chat History", elem_id="chatbot")
with gr.Row(elem_id="chat-input-row"):
query_type = gr.Radio(["global", "local", "direct"], label="Query Type", value="global")
Expand All @@ -724,11 +785,11 @@ def list_folder_contents(folder_path):
refresh_models_btn = gr.Button("Refresh Models", variant="secondary")


with gr.Row(elem_id="visualization-container"):
with gr.Group(elem_id="visualization-container"):
vis_output = gr.Plot(label="Graph Visualization", elem_id="visualization-plot")
with gr.Column(elem_id="vis-controls", scale=1):
with gr.Row(elem_id="vis-controls-row"):
vis_btn = gr.Button("Visualize Graph", variant="secondary")
vis_status = gr.Textbox(label="Visualization Status", elem_id="vis-status", show_label=False)
vis_status = gr.Textbox(label="Visualization Status", elem_id="vis-status", show_label=False)

# Event handlers
upload_btn.click(fn=upload_file, inputs=[file_upload], outputs=[upload_output, file_list, log_output])
Expand All @@ -742,7 +803,12 @@ def list_folder_contents(folder_path):
)
delete_btn.click(fn=delete_file, inputs=[file_list], outputs=[operation_status, file_list, log_output])
save_btn.click(fn=save_file_content, inputs=[file_list, file_content], outputs=[operation_status, log_output])
index_btn.click(fn=index_graph, inputs=[root_dir], outputs=[index_output, log_output])
index_btn.click(
fn=index_graph,
inputs=[root_dir],
outputs=[index_output, log_output],
show_progress=True
)
refresh_folder_btn.click(fn=update_output_folder_list, outputs=[output_folder_list]).then(
fn=update_logs,
outputs=[log_output]
Expand Down Expand Up @@ -801,4 +867,4 @@ def list_folder_contents(folder_path):
""")

if __name__ == "__main__":
demo.launch(enable_queue=False)
demo.launch()
Binary file modified graphrag/.DS_Store
Binary file not shown.
Binary file modified graphrag/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/config/.DS_Store
Binary file not shown.
Binary file modified graphrag/config/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/config/__pycache__/defaults.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/config/__pycache__/enums.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/config/__pycache__/environment_reader.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/config/__pycache__/errors.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/config/__pycache__/read_dotenv.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/config/models/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/config/models/__pycache__/cache_config.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/config/models/__pycache__/input_config.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/config/models/__pycache__/llm_config.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/config/models/__pycache__/umap_config.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/.DS_Store
Binary file not shown.
Binary file modified graphrag/index/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/__pycache__/__main__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/__pycache__/bootstrap.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/__pycache__/cli.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/__pycache__/context.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/__pycache__/errors.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/__pycache__/init_content.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/__pycache__/load_pipeline_config.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/__pycache__/run.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/__pycache__/typing.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/cache/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/cache/__pycache__/load_cache.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/cache/__pycache__/pipeline_cache.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/config/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/config/__pycache__/cache.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/config/__pycache__/input.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/config/__pycache__/pipeline.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/config/__pycache__/reporting.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/config/__pycache__/storage.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/config/__pycache__/workflow.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/emit/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/emit/__pycache__/factories.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/emit/__pycache__/table_emitter.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/emit/__pycache__/types.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/graph/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/input/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/input/__pycache__/csv.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/input/__pycache__/load_input.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/input/__pycache__/text.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/llm/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/llm/__pycache__/load_llm.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/llm/__pycache__/types.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/progress/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/progress/__pycache__/rich.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/progress/__pycache__/types.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/reporting/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/storage/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/storage/__pycache__/load_storage.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/storage/__pycache__/typing.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/utils/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/utils/__pycache__/dataframes.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/utils/__pycache__/dicts.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/utils/__pycache__/ds_util.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/utils/__pycache__/hashing.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/utils/__pycache__/is_null.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/utils/__pycache__/json.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/utils/__pycache__/load_graph.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/utils/__pycache__/string.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/utils/__pycache__/tokens.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/utils/__pycache__/uuid.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/verbs/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/verbs/__pycache__/genid.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/verbs/__pycache__/snapshot.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/verbs/__pycache__/snapshot_rows.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/verbs/__pycache__/spread_json.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/verbs/__pycache__/unzip.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/verbs/__pycache__/zip.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/verbs/graph/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/verbs/graph/__pycache__/create.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/verbs/graph/__pycache__/unpack.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/verbs/overrides/__pycache__/merge.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/verbs/text/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/verbs/text/__pycache__/split.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/workflows/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/index/workflows/__pycache__/load.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/index/workflows/__pycache__/typing.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/llm/.DS_Store
Binary file not shown.
Binary file modified graphrag/llm/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/__pycache__/errors.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/base/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/base/__pycache__/_create_cache_key.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/base/__pycache__/base_llm.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/base/__pycache__/caching_llm.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/base/__pycache__/rate_limiting_llm.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/limiting/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/llm/limiting/__pycache__/llm_limiter.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/llm/mock/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/mock/__pycache__/mock_chat_llm.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/llm/openai/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/openai/__pycache__/_json.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/openai/__pycache__/_prompts.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/llm/openai/__pycache__/factories.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/openai/__pycache__/json_parsing_llm.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/openai/__pycache__/openai_chat_llm.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/llm/openai/__pycache__/types.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/openai/__pycache__/utils.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/types/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/types/__pycache__/llm.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/types/__pycache__/llm_cache.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/types/__pycache__/llm_callbacks.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/types/__pycache__/llm_config.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file modified graphrag/llm/types/__pycache__/llm_io.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/llm/types/__pycache__/llm_types.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/model/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/model/__pycache__/community.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/model/__pycache__/community_report.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/model/__pycache__/covariate.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/model/__pycache__/document.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/model/__pycache__/entity.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/model/__pycache__/identified.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/model/__pycache__/named.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/model/__pycache__/relationship.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/model/__pycache__/text_unit.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/model/__pycache__/types.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/prompt_tune/.DS_Store
Binary file not shown.
Binary file modified graphrag/query/.DS_Store
Binary file not shown.
Binary file modified graphrag/query/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/query/__pycache__/__main__.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/query/__pycache__/cli.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/query/__pycache__/factories.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/query/__pycache__/indexer_adapters.cpython-310.pyc
Binary file not shown.
Binary file modified graphrag/query/__pycache__/progress.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit da79a48

Please sign in to comment.