The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update llamaindex.ipynb doc_hash to hash (#18838)
Jason R. Stevens, CFA5886d06a70fa
diff --git a/examples/ai/llamaindex/llamaindex.ipynb b/examples/ai/llamaindex/llamaindex.ipynbindex 28d80026a4f..8c4119761aa 100644--- a/examples/ai/llamaindex/llamaindex.ipynb+++ b/examples/ai/llamaindex/llamaindex.ipynb@@ -53,7 +53,8 @@"# logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)\n","# logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))\n","\n",- "from llama_index import SimpleWebPageReader, StorageContext\n",+ "from llama_index.storage import StorageContext\n",+ "from llama_index.readers.web import SimpleWebPageReader\n","from llama_index.indices.vector_store import VectorStoreIndex\n","from llama_index.vector_stores import SupabaseVectorStore\n","import textwrap\n",@@ -104,7 +105,7 @@" 'paul_graham_essay.txt'\n","]\n","documents = SimpleWebPageReader().load_data([f'https://raw.githubusercontent.com/supabase/supabase/master/examples/ai/llamaindex/data/{essay}' for essay in essays])\n",- "print('Document ID:', documents[0].doc_id, 'Document Hash:', documents[0].doc_hash)"+ "print('Document ID:', documents[0].doc_id, 'Document Hash:', documents[0].hash)"]},{