Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
@@ -132,6 +132,7 @@ if not supabase_url or not supabase_key:
|
|
132 |
raise ValueError("SUPABASE_URL and SUPABASE_KEY must be set in environment variables.")
|
133 |
|
134 |
supabase: Client = create_client(supabase_url, supabase_key)
|
|
|
135 |
vector_store = SupabaseVectorStore(
|
136 |
client=supabase, # should be your `supabase` client instance
|
137 |
embedding=embeddings,
|
|
|
132 |
raise ValueError("SUPABASE_URL and SUPABASE_KEY must be set in environment variables.")
|
133 |
|
134 |
supabase: Client = create_client(supabase_url, supabase_key)
|
135 |
+
docs = [Document(page_content="This is a test about AI.")]
|
136 |
vector_store = SupabaseVectorStore(
|
137 |
client=supabase, # should be your `supabase` client instance
|
138 |
embedding=embeddings,
|