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

[prompty] Expose Prompty class as public #2871

Merged
merged 8 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
4 changes: 3 additions & 1 deletion src/promptflow-core/promptflow/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# flake8: noqa
from promptflow._core.tool import ToolProvider, tool
from promptflow.core._flow import AsyncFlow, Flow
from promptflow.core._flow import AsyncFlow, AsyncPrompty, Flow, Prompty
lalala123123 marked this conversation as resolved.
Show resolved Hide resolved
from promptflow.core._model_configuration import (
AzureOpenAIModelConfiguration,
ModelConfiguration,
Expand All @@ -25,6 +25,8 @@
"tool",
lalala123123 marked this conversation as resolved.
Show resolved Hide resolved
"Flow",
"AsyncFlow",
"Prompty",
lalala123123 marked this conversation as resolved.
Show resolved Hide resolved
"AsyncPrompty",
"ModelConfiguration",
"OpenAIModelConfiguration",
"AzureOpenAIModelConfiguration",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
from openai.types.chat import ChatCompletion

from promptflow._sdk._pf_client import PFClient
from promptflow.core import Flow
from promptflow.core import AsyncPrompty, Flow, Prompty
from promptflow.core._errors import InvalidConnectionError, InvalidOutputKeyError, MissingRequiredInputError
from promptflow.core._flow import AsyncPrompty, Prompty
from promptflow.core._model_configuration import AzureOpenAIModelConfiguration
from promptflow.core._prompty_utils import convert_model_configuration_to_connection

Expand Down
Loading