Skip to content

Commit c44d156

Browse files
rebawse fixes
1 parent 56f1563 commit c44d156

File tree

4 files changed

+1
-1062
lines changed

4 files changed

+1
-1062
lines changed

python/samples/concepts/memory/azure_ai_search_hotel_samples/1_interact_with_the_collection.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ async def main(query: str):
2828
record_type=HotelSampleClass, embedding_generator=OpenAITextEmbedding()
2929
) as collection:
3030
# Check if the collection exists.
31-
if not await collection.collection_exists():
32-
await collection.ensure_collection_exists(index=custom_index)
31+
await collection.ensure_collection_exists(index=custom_index)
3332
await collection.upsert(records)
3433
# get the first five records to check the upsert worked.
3534
results = await collection.get(order_by="HotelName", top=5)

python/semantic_kernel/connectors/memory_stores/__init__.pyi

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)