Skip to content

Commit

Permalink
fix(gravitino_llamaindex_demo.ipynb): should mount ./init/gravitino/d…
Browse files Browse the repository at this point in the history
…ata/pdfs dir
  • Loading branch information
unknowntpo committed Oct 23, 2024
1 parent 1237a63 commit 374be3f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions helm-chart/templates/gravitino.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ spec:
mountPath: /tmp/gravitino
- name: healthcheck-script
mountPath: /tmp/healthcheck
- name: artifacts
mountPath: /tmp/gravitino/data/pdfs
readinessProbe:
exec:
command:
Expand Down Expand Up @@ -63,6 +65,10 @@ spec:
configMap:
name: gravitino-init-script
defaultMode: 0755
- name: artifacts
hostPath:
path: {{ printf "%s/init/gravitino/" .Values.projectRoot }}
type: DirectoryOrCreate
- name: healthcheck-script
configMap:
name: gravitino-healthcheck-script
Expand Down
2 changes: 1 addition & 1 deletion init/jupyter/gravitino_llamaIndex_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
" fileset_cities = demo_catalog.as_fileset_catalog().create_fileset(ident=fileset_ident,\n",
" fileset_type=Fileset.Type.EXTERNAL,\n",
" comment=\"cities\",\n",
" storage_location=\"/tmp/gravitino/data/pdfs\",\n",
" storage_location=\"file:/tmp/gravitino/data/pdfs\",\n",
" properties={})\n",
"print(fileset_cities)"
]
Expand Down

0 comments on commit 374be3f

Please sign in to comment.