apache-airflow-providers-pinecone

更新日誌

2.2.2

Bug 修復

  • 修復 pinecone 客戶端 6.0.0 重新命名 (#46980)

雜項

  • 升級 flit 3.11.0 (#46938)

2.2.1

雜項

  • AIP-72: 支援 SDK Context 字典 好的 型別 提示  (#45583)

2.2.0

注意

此提供程式版本僅適用於 Airflow 2.9+,詳情請參閱 Apache Airflow 提供程式支援政策 中的說明。

雜項

  • 提供程式中 最低 Airflow 版本 提升 Airflow 2.9.0 (#44956)

2.1.1

雜項

  • PineconeHook 新增 'source_tag' (#43960)

2.1.0

注意

此提供程式版本僅適用於 Airflow 2.8+,詳情請參閱 Apache Airflow 提供程式支援政策 中的說明。

雜項

  • 提供程式中 最低 Airflow 版本 提升 Airflow 2.8.0 (#41396)

2.0.1

雜項

  • 使用 最低直接依賴 解析 實現 每個提供程式的 測試 (#39946)

2.0.0

注意

此提供程式版本僅適用於 Airflow 2.7+,詳情請參閱 Apache Airflow 提供程式支援政策 中的說明。

不相容變更

警告

此提供程式版本包含與之前版本不相容的變更。變更基於 pinecone 的遷移指南 - <https://canyon-quilt-082.notion.site/Pinecone-Python-SDK-v3-0-0-Migration-Guide-056d3897d7634bf7be399676a4757c7b>

  • log_level 欄位已從 Connections 中移除,因為提供程式不再使用它。

  • PineconeHook.get_conn 已移除,推薦使用返回 Connection 物件的 conn 屬性。使用 pinecone_client 屬性訪問 Pinecone 客戶端。

  • 以下 PineconeHook 方法已從靜態方法轉換為例項方法。因此,現在使用這些方法需要先進行初始化

    • PineconeHook.list_indexes

    • PineconeHook.upsert

    • PineconeHook.create_index

    • PineconeHook.describe_index

    • PineconeHook.delete_index

    • PineconeHook.configure_index

    • PineconeHook.create_collection

    • PineconeHook.delete_collection

    • PineconeHook.describe_collection

    • PineconeHook.list_collections

    • PineconeHook.query_vector

    • PineconeHook.describe_index_stats

  • PineconeHook.create_index 已更新為接受 ServerlessSpecPodSpec,而不是直接接受索引相關的配置

  • 要初始化 PineconeHook 物件,需要透過引數或連線傳遞 API 金鑰。

  • Pinecone 提供程式 支援 'pinecone-client'>=3  (#37307)

雜項

  • 提供程式中 最低 Airflow 版本 提升 Airflow 2.7.0 (#39240)

  • 加速 'airflow_version' 匯入 (#39552)

  • 簡化 'airflow_version' 匯入 (#39497)

  • 修復 CreatePodIndexOperator pod_type metric 引數的 預設值 (#39365)

  • 重新應用 所有 提供程式的 模板 (#39554)

  • 修復 pinecone upsert input_vectors 引數的 型別 (#39688)

1.1.2

雜項

  • 限制 'pinecone-client' 版本小於 3.0 (#36818)

1.1.1

Bug 修復

  • 子類中 遵循 BaseHook 連線 欄位 方法的 簽名 (#36086)

1.1.0

注意

此提供程式版本僅適用於 Airflow 2.6+,詳情請參閱 Apache Airflow 提供程式支援政策 中的說明。

雜項

  • 提供程式中 最低 Airflow 版本 提升 Airflow 2.6.0 (#36017)

1.0.0

提供程式的初始版本。

此條目有幫助嗎?