Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add prompt autogeneration #9

Merged
merged 13 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified backend/graphrag-wheel/graphrag-0.0.1-py3-none-any.whl
Binary file not shown.
3 changes: 1 addition & 2 deletions backend/graphrag-wheel/note.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ This graphrag wheel file was built from the following repo

https://github.com/microsoft/graphrag

on commit hash a389514b4723189803097dc0d602b50d139ee92c

on commit hash 8cb189635e90d49231f3f09b54e69d4daae1371d
4 changes: 0 additions & 4 deletions backend/run-indexing-job.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,10 @@

parser = argparse.ArgumentParser(description="Kickoff indexing job.")
parser.add_argument("-i", "--index-name", required=True)
parser.add_argument("-s", "--storage-name", required=True)
parser.add_argument("-e", "--entity-config", required=False)
args = parser.parse_args()

asyncio.run(
_start_indexing_pipeline(
index_name=args.index_name,
storage_name=args.storage_name,
entity_config_name=args.entity_config,
)
)
4 changes: 2 additions & 2 deletions backend/src/aks-batch-job-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ kind: Job
metadata:
name: PLACEHOLDER
spec:
ttlSecondsAfterFinished: 0
backoffLimit: 30
ttlSecondsAfterFinished: 120
backoffLimit: 6
template:
metadata:
labels:
Expand Down
2 changes: 1 addition & 1 deletion backend/src/api/experimental.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def stream_response(report_df, query, end_callback=(lambda x: x), timeout=300):
this_directory = os.path.dirname(
os.path.abspath(inspect.getfile(inspect.currentframe()))
)
data = yaml.safe_load(open(f"{this_directory}/pipeline_settings.yaml"))
data = yaml.safe_load(open(f"{this_directory}/pipeline-settings.yaml"))
# layer the custom settings on top of the default configuration settings of graphrag
parameters = create_graphrag_config(data, ".")

Expand Down
Loading