Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Examples] Check CLI is working? #2543

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions examples/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
promptflow[azure]
promptflow-tools
promptflow-tracing @ git+https://github.com/microsoft/promptflow/@yigao/check_cli#subdirectory=src/promptflow-tracing
promptflow-core @ git+https://github.com/microsoft/promptflow/@yigao/check_cli#subdirectory=src/promptflow-core
promptflow-devkit @ git+https://github.com/microsoft/promptflow/@yigao/check_cli#subdirectory=src/promptflow-devkit
promptflow-azure @ git+https://github.com/microsoft/promptflow/@yigao/check_cli#subdirectory=src/promptflow-azure
promptflow @ git+https://github.com/microsoft/promptflow/@yigao/check_cli#subdirectory=src/promptflow
promptflow-tools @ git+https://github.com/microsoft/promptflow/@yigao/check_cli#subdirectory=src/promptflow-tools
python-dotenv
bs4
2 changes: 1 addition & 1 deletion src/promptflow-devkit/promptflow/_cli/_user_agent.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from promptflow._version import VERSION
from promptflow.client._version import VERSION

USER_AGENT = "{}/{}".format("promptflow-cli", VERSION)
2 changes: 1 addition & 1 deletion src/promptflow-devkit/promptflow/_internal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
set_context,
transpose,
)
from promptflow._version import VERSION
from promptflow.client._version import VERSION
from promptflow.core._serving.response_creator import ResponseCreator
from promptflow.core._serving.swagger import generate_swagger
from promptflow.core._serving.utils import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from promptflow._sdk._utils import get_promptflow_sdk_version, read_write_by_user
from promptflow._utils.logger_utils import get_cli_sdk_logger
from promptflow._utils.yaml_utils import dump_yaml, load_yaml
from promptflow._version import VERSION
from promptflow.client._version import VERSION
from promptflow.exceptions import PromptflowException, UserErrorException

logger = get_cli_sdk_logger()
Expand Down
2 changes: 1 addition & 1 deletion src/promptflow-devkit/promptflow/_sdk/_user_agent.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from promptflow._version import VERSION
from promptflow.client._version import VERSION

USER_AGENT = "{}/{}".format("promptflow-sdk", VERSION)
Loading