promptflow-devkit package#
v1.16.0 (2024.09.30)#
v1.15.0 (2024.08.15)#
Bugs fixed#
Fixed trace view canāt display boolean output.
v1.14.0 (2024.07.25)#
Improvements#
Add
promptflow
to dockerfile when build flow withpython_requirements_txt
incase promptflow not exists in custom requirements.
v1.13.0 (2024.06.28)#
Bugs Fixed#
Fix incompatibility with
trace.NoOpTracerProvider
when set exporter to prompt flow service.Add missing user agent in trace usage telemetry.
Improvements#
Support setting config of local prompt flow service host
v1.12.0 (2024.06.11)#
Improvements#
Add retry logic when uploading run details to cloud.
Add trace usage telemetry.
v1.11.0 (2024.05.17)#
Features Added#
Upload local run details to cloud when trace destination is configured to cloud. See here for more details.
Improvements#
Interactive browser credential is excluded by default when using Azure AI connections, user could set
PF_NO_INTERACTIVE_LOGIN=False
to enable it.Visualize flex flow run(s) switches to trace UI page.
Add new
--engine
parameter forpf flow serve
. This parameter can be used to switch python serving engine betweenflask
andfastapi
, currently it defaults toflask
.Return the secrets in the connection object by default to improve flex flow experience.
Behaviors not changed: āpf connectionā command will scrub secrets.
New behavior: connection object by
client.connection.get
will have real secrets.print(connection_obj)
directly will scrub those secrets.print(connection_obj.api_key)
orprint(connection_obj.secrets)
will print the REAL secrets.
Bugs Fixed#
Fix the issue that import error will be raised after downgrading promptflow from >=1.10.0 to <1.8.0.
Fix the issue that
pf flow serve
is broken with exceptionNotADirectoryError
.Fix the issue that chat window error is hard to understand.
Fix the perf issue because of dns delay when check pfs status.
Fix the issue that original flex yaml will be overridden when testing non-yaml flow
Fix āFailed to load trace ā¦ is not valid JSONā when traces inputs/outputs have invalid JSON values like
-Infinity
,Infinity
andNaN
.[promptflow-devkit] Fix run snapshot does not honor gitignore/amlignore.
v1.10.0 (2024.04.26)#
Features Added#
Expose āui to trigger a chat window, reach here for more details.
The
pf config set <key=value>
support set the folder where the config is saved by--path config_folder
parameter, and the config will take effect when os.getcwd is a subdirectory of the specified folder.Local serving container support using fastapi engine and tuning worker/thread num via environment variables, reach here for more details.
Prompty supports to flow test and batch run, reach here for more details.
v1.9.0 (2024.04.17)#
Features Added#
Improvements#
Improve pf cli command help message.
Bugs Fixed#
Fix run name missing directory name in some scenario of
pf.run
.Raise not supported instead of 404 when trying to create Azure AI connection.