From 89cdfcac9b0d1bdf515f2ba20a44dccd061f8b29 Mon Sep 17 00:00:00 2001 From: Cassie Breviu <46505951+cassiebreviu@users.noreply.github.com> Date: Mon, 13 May 2024 22:58:12 -0500 Subject: [PATCH] update promptflow issue to solve aks deployment --- src/api/api/agents/product/product.py | 1 - src/api/requirements.txt | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/api/api/agents/product/product.py b/src/api/api/agents/product/product.py index ae2f4366..df6dc4cc 100644 --- a/src/api/api/agents/product/product.py +++ b/src/api/api/agents/product/product.py @@ -5,7 +5,6 @@ from openai import AzureOpenAI import pathlib from api.agents.product.ai_search import retrieve_documentation -from promptflow.tools.common import init_azure_openai_client from promptflow.connections import AzureOpenAIConnection from promptflow.core import (AzureOpenAIModelConfiguration, Prompty, tool) from azure.core.credentials import AzureKeyCredential diff --git a/src/api/requirements.txt b/src/api/requirements.txt index 4c2dedb9..93d6a5b1 100644 --- a/src/api/requirements.txt +++ b/src/api/requirements.txt @@ -1,7 +1,7 @@ flask requests -promptflow -promptflow-tools +promptflow-core +azure-monitor-opentelemetry-exporter jsonlines azure-search-documents python-dotenv==1.0.1