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

Rebase promptflow-evals from main #2595

Merged
merged 204 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
bcc6af0
[Bugfix] Fix the bug that call flow in flow function will fail (#2267)
thy09 Mar 8, 2024
6027499
[internal][tracing] Make `start_trace` standalone (#2254)
zhengfeiwang Mar 8, 2024
01e481f
[Doc] Add environment variable in flow.dag.yaml reference doc (#2263)
D-W- Mar 8, 2024
3adf43b
Add logger parameter for trace_collector (#2269)
riddlexu Mar 8, 2024
f613835
[Doc] Update pfazure run doc (#2271)
0mza987 Mar 8, 2024
807767e
[Internal] Remove useless log in tracing (#2273)
thy09 Mar 8, 2024
fdb286d
Enable executor recording mode (#1997)
chw-microsoft Mar 8, 2024
c9165c3
[Internal] Remove variant_id in all executor related logic. (#2274)
thy09 Mar 8, 2024
f4215a4
[Tracing] Add trace tests to tracing_test (#2252)
lumoslnt Mar 11, 2024
89f4d66
fix telemetry test (#2244)
Stephen1993 Mar 11, 2024
e2315d6
update tool package changelog to latest version (#2251)
chjinche Mar 11, 2024
6ccd312
[Internal] update runtime changelog for 20240228.v3 (#2250)
melionel Mar 11, 2024
b9b7269
[Internal] improve token connection error message (#2245)
melionel Mar 11, 2024
626bf39
[Internal] Refine tracing e2e test pipeline (#2289)
lumoslnt Mar 11, 2024
cd65b2e
Rename LLM and Embedding span attributes (#2270)
zzn2 Mar 11, 2024
77290c1
Improve error message when LLM tool meets gpt-4-vision-preview model …
chenslucky Mar 12, 2024
163d53b
Fix docs cli example to give the promised run details table output (#…
bobbyo Mar 12, 2024
1853c6e
Remove flow exectue as async function from changelog (#2290)
crazygao Mar 12, 2024
45afc50
Fix recording and remove None fields when create recording hash. (#2302)
crazygao Mar 12, 2024
bf96c0b
[Internal][Executor] Refine the LineExecutionProcessPool to align mor…
PeiwenGaoMS Mar 12, 2024
840fa04
Improve created_by info for local to cloud trace (#2232)
huaiyan Mar 12, 2024
b2cdec0
[Internal][Executor] Extract some common constants to promptflow._con…
PeiwenGaoMS Mar 12, 2024
84f6d7f
[Experiment] Change experiment cli "--file" to "--template" (#2311)
lalala123123 Mar 12, 2024
0fc9c4e
fix: reset user agent for each requests in local pfs (#2284)
elliotzh Mar 12, 2024
39039cd
[BugFix] set default values to workspace triad params of dynamic list…
chjinche Mar 12, 2024
8c616d3
[Internal][Executor] Use _kwargs to pass all common kwargs to Spawned…
PeiwenGaoMS Mar 12, 2024
89c3f13
Add null check for StringIO in case of line execution timeout. (#2318)
huaiyan Mar 12, 2024
57486d0
[Bugfix] Do not add otlp exporter if the env is not set to avoid the …
thy09 Mar 12, 2024
84eabc5
[Internal][SDK] Separate core connection (#2315)
brynn-code Mar 12, 2024
36c9032
[Executor] Set otel trace name correctly (#2206)
lumoslnt Mar 13, 2024
5c2df7b
[tracing][bugfix] Correctly set or clear experiment test lineage (#2314)
zhengfeiwang Mar 13, 2024
b6e180e
[Internal] add hyper link to pf chatbot in pf docsite (#2324)
melionel Mar 13, 2024
3b4bbe7
[tracing][test] Add UT to guard executor exporter init behavior (#2325)
zhengfeiwang Mar 13, 2024
39a9f8c
[SDK/CLI] Add chat group poc (#2249)
0mza987 Mar 13, 2024
e4d2cf0
Rename display_name to name for UX easier handling (#2326)
huaiyan Mar 13, 2024
9e9dc8c
[tracing] Rename `display_name` to `name` in line run evaluations (#2…
zhengfeiwang Mar 13, 2024
6496a22
[internal][bugfix] Create a placeholder for still running line runs (…
zhengfeiwang Mar 13, 2024
821e425
Revert "[Internal] add hyper link to pf chatbot in pf docsite (#2324)…
melionel Mar 13, 2024
43e3867
Include default value in flow meta (#2283)
lumoslnt Mar 13, 2024
955c8ba
[Internal] Copy previous run output from debug_info when resume (#2331)
guming-learning Mar 13, 2024
c74237d
[SDK] Fix flow as func not honor global connection provider (#2332)
brynn-code Mar 13, 2024
30a76f2
[tracing][bugfix] Update MANIFEST to include UX assets (#2338)
zhengfeiwang Mar 13, 2024
05bc368
pf serving support distributed tracing and feedback api (#2319)
wxpjimmy Mar 13, 2024
00d77f2
[SDK] Support streaming in eager mode (#2248)
D-W- Mar 13, 2024
53dbf43
[tracing][bugfix] Empty eval line run when query with trace id (#2333)
zhengfeiwang Mar 13, 2024
858b6b3
Fixing the recording mode error + fixing the assistant tests (#2341)
chw-microsoft Mar 14, 2024
13ae5c2
Fix pfs stop takes long time even pfs is not started (#2257)
YingChen1996 Mar 14, 2024
9cc11fa
[Executor] Change root_run_id and parent_run_id in resume previous re…
Jasmin3q Mar 14, 2024
01e314e
[Internal] Update Runtime change log for 20240306.v5 (#2337)
doz-msft Mar 14, 2024
d9eaa62
Create a core/_flow.py of middle layer of protected flows. (#2306)
crazygao Mar 14, 2024
f545907
Auotomate pyinstaller hidden import and metafile for msi build (#2280)
YingChen1996 Mar 14, 2024
cc4a1c6
[Internal] Postpone the operation to get default datastore (#2335)
0mza987 Mar 14, 2024
a26f39f
[Internal] Add param to support disable local trace for cloud mode (#…
riddlexu Mar 14, 2024
c25be36
CI test failure fixing (#2348)
chw-microsoft Mar 14, 2024
e7bceaa
[internal][tracing] Placeholder for `promptflow-tracing` (#2268)
zhengfeiwang Mar 14, 2024
cb2b5d2
feat: enable multi container based on environment variable (#2313)
elliotzh Mar 14, 2024
75ef3e8
[Internal] Update connection not found message to make it more clear …
thy09 Mar 14, 2024
5990084
Fix auto stop pfs time bug in detach mode (#2356)
YingChen1996 Mar 15, 2024
6922513
[internal][tracing] Validate `trace.provider` in pf config (#2355)
zhengfeiwang Mar 15, 2024
3728f50
[Tracing] Remove dependency of promptflow.tracing on promptflow (#2301)
lumoslnt Mar 15, 2024
3b013e7
[Internal] Move _sdk/serving to core/_serving (#2347)
brynn-code Mar 15, 2024
a795270
[Layer the repo] Create dummy folders to separate, use import linter …
crazygao Mar 15, 2024
7d921ad
[BugFix] Do not dynamic list azure deployment names for aoai vision t…
16oeahr Mar 15, 2024
b702ae6
[Internal] Add test case for rasie_ex=True (#2366)
thy09 Mar 15, 2024
59b19c6
Create running placeholder item in LineSummary table (#2243)
huaiyan Mar 15, 2024
32aaf72
distinguish flow type in telemetry (#2293)
Stephen1993 Mar 15, 2024
c0a4c7b
[SDK] Support override deployment_name and model for python tools (#2…
D-W- Mar 15, 2024
4ba00ec
fix: generate flow.json for pfazure run create csharp (#2329)
elliotzh Mar 15, 2024
a8bee4b
[Executor] Disable long runing logging by default (#2362)
lumoslnt Mar 15, 2024
4cf6b54
[Tracing] Remove dependence of tracing on jinja2 (#2369)
lumoslnt Mar 15, 2024
dd5f2d5
Skipping test_open_model_llm.TestOpenModelLLM tests as they require n…
youngpark Mar 18, 2024
f03d5fe
[Executor] Refine _exec in batch engine (#2345)
Jasmin3q Mar 18, 2024
413dbc2
[Internal][Executor] Add batch run related apis for executor server (…
PeiwenGaoMS Mar 18, 2024
feecae1
fix: revert BatchEngine.register_executor (#2265)
elliotzh Mar 18, 2024
178a824
[internal][tracing] Move tracing to new directory (#2363)
zhengfeiwang Mar 18, 2024
e2f2f58
[internal][tracing] Not enable trace for `flow test --node` scenario …
zhengfeiwang Mar 18, 2024
696f54a
[Tool] fix dynamic list failed when load script (#2176)
lalala123123 Mar 18, 2024
531a9c0
Move set UA from _sdk/utils -> _utils/user_agent_utils (#2382)
brynn-code Mar 18, 2024
7a04d16
[Internal][Executor] Refine the cancel api to allow the execution ser…
PeiwenGaoMS Mar 19, 2024
fec34dc
[Internal]update separator sample usage (#2304)
melionel Mar 19, 2024
e79b9df
Update MANIFEST.in to include serving swagger template resource (#2390)
wxpjimmy Mar 19, 2024
f519b67
[ProcesPool] Fix start flow run param (#2391)
Hhhilulu Mar 19, 2024
7a3b2f5
Add back init to _sdk/_serving folder (#2399)
brynn-code Mar 19, 2024
48ef461
[SDK/CLI] Add chat group schema and node entity (#2371)
0mza987 Mar 19, 2024
f7bb629
[ProcessPool] Add stderror for process to get error message when proc…
Hhhilulu Mar 19, 2024
a65f1e4
Warning for the first time import from promptflow (#2385)
brynn-code Mar 19, 2024
2795a2c
refactor: separate core.Flow and devkit Flow (#2383)
elliotzh Mar 19, 2024
6ac735f
Add portable install step of promptflow in msi installation pipeline …
YingChen1996 Mar 19, 2024
6ac4959
refactor - clean dependency: core to devkit (#2393)
elliotzh Mar 19, 2024
ac114dd
Start pfs in detach mode by vbs in MSI (#2367)
YingChen1996 Mar 20, 2024
a8fe196
[Tracing] Remove trace type 'Tool' (#2386)
lumoslnt Mar 20, 2024
ff35c53
[SDK] Support batch run eager flow without YAML in SDK (#2334)
D-W- Mar 20, 2024
a177fa4
Add flow test http api (#2358)
YingChen1996 Mar 20, 2024
364226e
Move some azure part to promptflow.azure folder. (#2372)
crazygao Mar 20, 2024
e911e62
fix sdk system error (#2354)
Stephen1993 Mar 20, 2024
aa8c3c2
[ProcessPool] Read logs when the process is not successfully started.…
Hhhilulu Mar 20, 2024
e388380
[UnitTest] Remove manager process log assert in win/macos (#2410)
Hhhilulu Mar 20, 2024
8c89c8f
[SDK] Support override not provided tool input (#2408)
D-W- Mar 21, 2024
2464e55
[Internal] Align the extras_require with azure promptflow (#2420)
riddlexu Mar 21, 2024
ac752c2
[fundamental][tracing] Dev setup for promptflow-tracing (#2392)
zhengfeiwang Mar 21, 2024
51ba518
[Tracing] Refine promptflow tracing tests pipeline and add tests (#2387)
lumoslnt Mar 21, 2024
0ccae85
fix: unexpected SystemEror (#2409)
elliotzh Mar 21, 2024
f585218
pf serving add cors support (#2426)
wxpjimmy Mar 21, 2024
0d6da9c
[Executor] Include tokens in span attributes for streaming mode (#2166)
lumoslnt Mar 21, 2024
de6bc5c
Add separate log for each line in batch run. (#2428)
huaiyan Mar 21, 2024
a491588
Add back global test in check enforcer (#2429)
lumoslnt Mar 21, 2024
c1f3dcf
[Fundamental] Fix Matrix using tracing (#2430)
crazygao Mar 21, 2024
0ae6a0a
Extract clean workspace connection provider (#2411)
brynn-code Mar 21, 2024
23b88d3
[Internal] Support Union connections for register_apis (#2433)
dorisjoy Mar 22, 2024
a5e1ce4
[SDK/CLI] Experiment integration of chat group node Part 2 (#2421)
0mza987 Mar 22, 2024
8e2588b
[Internal][Executor] Update running nodes status to canceled when rec…
PeiwenGaoMS Mar 22, 2024
769a44f
fix: avoid lazy shutdown for executor proxy in local pfs flow test (#…
elliotzh Mar 22, 2024
493cfdc
[Tracing]Fix tracing test. (#2451)
crazygao Mar 22, 2024
755e70b
[Internal] Move test to unit test (#2447)
0mza987 Mar 22, 2024
3ed2542
[Draft][Tracing] Modify openai span names (#2424)
thy09 Mar 22, 2024
60941ef
Revert "[Draft][Tracing] Modify openai span names (#2424)" (#2457)
crazygao Mar 22, 2024
46889c9
[Compatibility] Compatibility Change of inject openai and OperationCo…
crazygao Mar 22, 2024
bafe8cd
Release/promptflow/1.7.0 (#2436)
crazygao Mar 25, 2024
3929c6c
[Tracing] Modify openai span names (#2459)
crazygao Mar 25, 2024
566b801
[Executor] Remove resume_from_run_output_dir (#2404)
Jasmin3q Mar 26, 2024
ba9df14
Update promptflow-tools version from 1.3.0 to 1.4.0 (#2434)
chenslucky Mar 26, 2024
f0d633d
Use new openai api name in metrics calculator and tests (#2475)
lumoslnt Mar 26, 2024
161dd1b
[Internal] Add runtime dep of tracing to promptflow._internal (#2470)
riddlexu Mar 26, 2024
4d1a8a9
Add doc of how to write a chat prompt (#2442)
chjinche Mar 26, 2024
35e15cd
[Internal][Executor] Update the corresponding error to node run info …
PeiwenGaoMS Mar 26, 2024
c91cd61
Write collection container for portal trace (#2431)
huaiyan Mar 26, 2024
0923e9b
[Internal] Add setup_exporter_from_environ to promptflow._internal (#…
riddlexu Mar 26, 2024
3a9e374
Clean sdk dependency from core (#2458)
brynn-code Mar 26, 2024
d429994
[Bugfix][Tracing] Fix the bug that generated message set failed. (#2456)
thy09 Mar 26, 2024
cefac7d
[Internal][Executor] Enable batch timeout for batch runs other than t…
PeiwenGaoMS Mar 26, 2024
07ac8a2
Move recording to another place (#2388)
crazygao Mar 26, 2024
ffdc46a
fix: resume-from doesn't take effect (#2486)
elliotzh Mar 26, 2024
441fb86
[internal] Run executor tests in CI when having changes in tracing (#…
lumoslnt Mar 26, 2024
b1c8493
[SDK/CLI] Support chat group node test in an experiment (#2482)
0mza987 Mar 26, 2024
1a10dcf
Add runtime dependency back (#2488)
brynn-code Mar 26, 2024
83ef48b
Improve message for start trace behavior. (#2455)
YingChen1996 Mar 26, 2024
758dcb9
Add Input/Output Events to OpenTelemetry Spans in PromptFlow (#2489)
liucheng-ms Mar 27, 2024
0906fb9
[fundamental] Refine `pyproject.toml` (#2432)
zhengfeiwang Mar 27, 2024
ee557c5
enable package tool for assistant (#2136)
chw-microsoft Mar 27, 2024
b71e5ff
[Internal][Executor] Convert multimedia data in the aggregation_input…
PeiwenGaoMS Mar 27, 2024
0b9ae16
[Internal][Executor] Add commit id to version api (#2496)
PeiwenGaoMS Mar 27, 2024
12ca57f
[SDK]Support eager flow serve environment variable connection (#2396)
D-W- Mar 27, 2024
e301780
Separate promptflow-core package (#2491)
brynn-code Mar 27, 2024
36c5c91
[fundamental] Redirect dev setup script (#2500)
zhengfeiwang Mar 27, 2024
e6ffeb0
Post process for promptflow-core (#2506)
brynn-code Mar 27, 2024
53169af
Fix relative promptflow-core import from sdk (#2510)
brynn-code Mar 27, 2024
eb85186
[Internal][Core] Fix extras dependencies [executor-service] in prompt…
PeiwenGaoMS Mar 27, 2024
41353f9
Fixing test test_assistant_package_tool_with_conn (#2507)
chw-microsoft Mar 27, 2024
154f983
[pf serving]add request_id for monitoring and support flask auto inst…
wxpjimmy Mar 28, 2024
eb0eb27
Add Base64 Encoding for PFBytes in OpenTelemetry Tracing (#2504)
liucheng-ms Mar 28, 2024
5b1be09
Add setup exporter logic as creating executor (#2480)
huaiyan Mar 28, 2024
74117bb
[Separation] Separation of devkit and azure (#2502)
crazygao Mar 28, 2024
f8ffa52
Postfix after separation devkit and azure (#2519)
crazygao Mar 28, 2024
e3f138e
Update code owner (#2522)
brynn-code Mar 28, 2024
4dc274e
Update runtime changelog of 20240313.v1 and 20240319.v1 (#2518)
thy09 Mar 28, 2024
dffa5f7
[Doc] Update doc for multiple api source (#2521)
brynn-code Mar 28, 2024
a97a7cb
fix: always release resources in chat ui for csharp (#2427)
elliotzh Mar 28, 2024
679b015
[SDK][azure] Ban flex flow create to cloud (#2501)
D-W- Mar 28, 2024
93de397
[Core]Fix schema check to use the correct tool.schema.json (#2523)
crazygao Mar 28, 2024
9770961
Fix tool test ci (#2531)
brynn-code Mar 28, 2024
eb15072
[Tracing][Internal] Skip otel setup if no environment is set (#2527)
thy09 Mar 28, 2024
ef87727
update imports in doc and examples (#2499)
wangchao1230 Mar 29, 2024
e70d0e5
[Internal] Rename submitter folder to orchestrator (#2536)
0mza987 Mar 29, 2024
f3edcb8
[fundamental] Bump versions in pyproject.toml for core/devkit/azure (…
zhengfeiwang Mar 29, 2024
0975987
[Internal] Upload the events in span to Blob. (#2479)
riddlexu Mar 29, 2024
5e9a7aa
[Bugfix][Executor] Use log_progress function to update last_log_count…
PeiwenGaoMS Mar 29, 2024
d396124
[Doc] Update doc reference pypi (#2542)
brynn-code Mar 29, 2024
af2b69f
[Executor][BatchEngine] Support init in script executor (#2497)
D-W- Mar 29, 2024
aef1dbd
Add Detailed Span Events to OpenTelemetry in PromptFlow (#2546)
liucheng-ms Mar 29, 2024
a31b073
[fundamental][bugfix] Fix breaking import linter CI workflow (#2541)
zhengfeiwang Mar 29, 2024
306bf4d
[Fundamental] Fix sdk cli test by simple installing. (#2545)
crazygao Mar 29, 2024
e006d81
[internal] Refactor local trace storage schema (#2513)
zhengfeiwang Mar 29, 2024
06d55cc
[Regression]Add skip-open-browser after switching to chat window (#2551)
YingChen1996 Mar 29, 2024
240865f
Support ServerlessConnection in llm tool (#2540)
dorisjoy Mar 29, 2024
82c266f
[Executor] Support new image contract align with openai contract. (#2…
codingrabbitt1 Mar 29, 2024
af44a55
[Bugfix] Fix incorrect completed count of aggregation node for resume…
Jasmin3q Mar 29, 2024
7efa2e0
[bugfix] Fix breaking PFS end-to-end tests (#2556)
zhengfeiwang Mar 29, 2024
0f5ba74
[Internal] _skip_tracing_local_setup should also skip trace related s…
riddlexu Mar 29, 2024
cb770fe
[Internal][Executor] Add try-catch to handle HttpError or UnexpectedE…
PeiwenGaoMS Mar 29, 2024
cccd9ac
[devkit][bugfix] Use SQLAlchemy 1.x style ORM (#2560)
zhengfeiwang Mar 31, 2024
044b9c8
Update test matrix (#2539)
brynn-code Apr 1, 2024
7757f80
[Tracing][Internal] Use otel_trace_id for correlation between line ru…
thy09 Apr 1, 2024
7f83ed4
Integrate pfs in pf command (#2413)
YingChen1996 Apr 1, 2024
dbb07c5
[tracing] Rename concept session to collection (#2570)
zhengfeiwang Apr 1, 2024
7b79e8e
refactor: move and hide executor proxies (#2568)
elliotzh Apr 1, 2024
61a3763
Use batch run id as partition key for local batch run (#2558)
huaiyan Apr 1, 2024
96eb852
refine READMEs for the subpackages (#2572)
wangchao1230 Apr 1, 2024
72ffee0
[fundamental][bugfix] Refine dev setup script to not automatically to…
zhengfeiwang Apr 1, 2024
67c66bd
fix: add ProxyFactory to _internal for runtime (#2576)
elliotzh Apr 1, 2024
52b8f1f
[SDK] Support init in batch run (#2526)
D-W- Apr 1, 2024
ebaceac
Add promptflow-core test (#2557)
brynn-code Apr 1, 2024
9e062b2
[Internal][Executor] Add more logs to finalize api for executor serve…
PeiwenGaoMS Apr 1, 2024
991827d
Remove core from check enforcer (#2582)
brynn-code Apr 1, 2024
8ca1337
[SDK] Support init in serve (#2549)
D-W- Apr 1, 2024
ffae7fe
Fix pf upgrade and msi building (#2533)
crazygao Apr 1, 2024
a94ae1d
[SDK] Support batch run func object without YAML in SDK (#2349)
D-W- Apr 1, 2024
58f8f01
[tracing][feature] Support delete traces in devkit (#2575)
zhengfeiwang Apr 1, 2024
b554a05
Update testing matrix (#2581)
brynn-code Apr 1, 2024
7d125a7
Fix multimedia_utils. (#2585)
codingrabbitt1 Apr 1, 2024
baa9c3b
Add test to validate otel traces of batch run (#2579)
lumoslnt Apr 1, 2024
f68eb6a
[internal][feat] update trace view js bundle (#2554)
RealKai42 Apr 1, 2024
1c904f0
Use batch run id as evaluation dict's key for batch run. (#2574)
huaiyan Apr 1, 2024
a700ec0
[tracing][bugfix] Use eval run name instead of root span name (#2590)
zhengfeiwang Apr 1, 2024
3af352f
Update pf component example (#2469)
alainli0928 Apr 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 15 additions & 6 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,32 @@
],
"ignorePaths": [
"**/*.js",
"**/*.mjs",
"**/*.css",
"**/*.pyc",
"**/*.log",
"**/*.jsonl",
"**/*.xml",
"**/*.txt",
".gitignore",
"scripts/docs/_build/**",
"src/promptflow/promptflow/azure/_restclient/flow/**",
"src/promptflow/promptflow/azure/_restclient/swagger.json",
"src/promptflow/promptflow/azure/_models/**",
"src/promptflow-azure/promptflow/azure/_restclient/flow/**",
"src/promptflow-azure/promptflow/azure/_restclient/swagger.json",
"src/promptflow-azure/promptflow/azure/_models/**",
"src/promptflow-azure/tests/**",
"src/promptflow-core/promptflow/core/_connection_provider/_models/**",
"src/promptflow/tests/**",
"src/promptflow-recording/**",
"src/promptflow-tools/tests/**",
"src/promptflow-devkit/promptflow/_sdk/_service/static/index.html",
"**/flow.dag.yaml",
"**/pyproject.toml",
"**/setup.py",
"scripts/installer/curl_install_pypi/**",
"scripts/installer/windows/**",
"src/promptflow/promptflow/_sdk/_service/pfsvc.py"
".github/workflows/**",
".github/actions/**",
".github/pipelines/**"
],
"words": [
"aoai",
Expand Down Expand Up @@ -84,7 +93,6 @@
"nunit",
"astext",
"Likert",
"pfsvc",
"geval",
"Summ",
"Bhavik",
Expand Down Expand Up @@ -180,7 +188,8 @@
"addrs",
"pywin",
"STARTF",
"mltable"
"mltable",
"setenv"
],
"flagWords": [
"Prompt Flow"
Expand Down
28 changes: 17 additions & 11 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
* @microsoft/prompt-flow-approvers

/src/promptflow/promptflow/_core/ @microsoft/promptflow-execution
/src/promptflow/promptflow/_internal/ @microsoft/promptflow-execution
/src/promptflow/promptflow/batch/ @microsoft/promptflow-execution
/src/promptflow/promptflow/executor/ @microsoft/promptflow-execution
/src/promptflow/promptflow/integrations/ @microsoft/promptflow-execution
/src/promptflow/promptflow/storage/ @microsoft/promptflow-execution
/src/promptflow-tracing/promptflow/tracing/_start_trace.py @microsoft/promptflow-sdk

/src/promptflow-tracing/promptflow/tracing/ @microsoft/promptflow-execution
/src/promptflow-core/promptflow/_core/ @microsoft/promptflow-execution
/src/promptflow-devkit/promptflow/_internal/ @microsoft/promptflow-execution
/src/promptflow-devkit/promptflow/batch/ @microsoft/promptflow-execution
/src/promptflow-devkit/promptflow/_proxy/ @microsoft/promptflow-execution
/src/promptflow-core/promptflow/executor/ @microsoft/promptflow-execution
/src/promptflow-core/promptflow/integrations/ @microsoft/promptflow-execution
/src/promptflow-core/promptflow/storage/ @microsoft/promptflow-execution
/src/promptflow/tests/executor/ @microsoft/promptflow-execution

/src/promptflow/promptflow/_cli/ @microsoft/promptflow-sdk
/src/promptflow/promptflow/_sdk/ @microsoft/promptflow-sdk
/src/promptflow/promptflow/azure/ @microsoft/promptflow-sdk
/src/promptflow/promptflow/entities/ @microsoft/promptflow-sdk
/src/promptflow/promptflow/operations/ @microsoft/promptflow-sdk
/src/promptflow-core/promptflow/core/ @microsoft/promptflow-sdk
/src/promptflow-devkit/promptflow/_cli/ @microsoft/promptflow-sdk
/src/promptflow-devkit/promptflow/_sdk/ @microsoft/promptflow-sdk
/src/promptflow-devkit/promptflow/_proxy/ @microsoft/promptflow-sdk
/src/promptflow-devkit/promptflow/entities/ @microsoft/promptflow-sdk
/src/promptflow-devkit/promptflow/operations/ @microsoft/promptflow-sdk
/src/promptflow-azure/promptflow/azure/ @microsoft/promptflow-sdk
/src/promptflow/tests/sdk_cli_test/ @microsoft/promptflow-sdk
/src/promptflow/tests/sdk_cli_azure_test/ @microsoft/promptflow-sdk
/src/promptflow/tests/sdk_cli_global_config_test/ @microsoft/promptflow-sdk
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/step_create_python_environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ runs:
using: composite
steps:
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.pythonVersion }}
- uses: snok/install-poetry@v1
- run: |
python -m pip install --upgrade pip
pip install -r ${{ inputs.pipFilePath }}
Expand Down
28 changes: 14 additions & 14 deletions .github/actions/step_sdk_setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,6 @@ runs:
shell: pwsh
run: |
pip uninstall -y promptflow promptflow-sdk promptflow-tools
- name: 'Build and install: promptflow with extra'
if: inputs.setupType == 'promptflow_with_extra'
shell: pwsh
run: |
Set-PSDebug -Trace 1
pip install -r ./dev_requirements.txt
echo "########### pip list (Before) ###########"
pip list
python ./setup.py bdist_wheel
$package = Get-ChildItem ./dist | ? { $_.Name.Contains('.whl')}
pip install $($package.FullName + "[azure,executable,azureml-serving,executor-service]")
echo "########### pip freeze (After) ###########"
pip freeze
working-directory: ${{ inputs.scriptPath }}
- name: 'Build and install: promptflow-sdk'
if: inputs.setupType == 'promptflow_dev'
shell: pwsh
Expand All @@ -52,3 +38,17 @@ runs:
echo "########### pip freeze (After) ###########"
pip freeze
working-directory: src/promptflow-tools
- name: 'Build and install: promptflow with extra'
if: inputs.setupType == 'promptflow_with_extra'
shell: pwsh
run: |
Set-PSDebug -Trace 1
pip install -r ./dev_requirements.txt
echo "########### pip list (Before) ###########"
pip list
python ./setup.py bdist_wheel
$package = Get-ChildItem ./dist | ? { $_.Name.Contains('.whl')}
pip install --force-reinstall $($package.FullName + "[azure,executable,azureml-serving,executor-service]")
echo "########### pip freeze (After) ###########"
pip freeze
working-directory: ${{ inputs.scriptPath }}
22 changes: 12 additions & 10 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@ examples:
documentation:
- docs/**
cli:
- src/promptflow/promptflow/_cli/**
- src/promptflow-devkit/promptflow/_cli/**
sdk:
- src/promptflow/promptflow/_sdk/**
- src/promptflow/promptflow/azure/**
- src/promptflow-devkit/promptflow/_sdk/**
- src/promptflow-azure/promptflow/azure/**
promptflow:
- src/promptflow/**
- src/promptflow-core/**
promptflow-tracing:
- src/promptflow-tracing/**
promptflow-tools:
- src/promptflow-tools/**
executor:
- src/promptflow/promptflow/batch/**
- src/promptflow/promptflow/executor/**
- src/promptflow/promptflow/_core/**
- src/promptflow/promptflow/_internal/**
- src/promptflow/promptflow/integrations/**
- src/promptflow/promptflow/storage/**
- src/promptflow-devkit/promptflow/batch/**
- src/promptflow-core/promptflow/executor/**
- src/promptflow-core/promptflow/_core/**
- src/promptflow-devkit/promptflow/_internal/**
- src/promptflow-core/promptflow/integrations/**
- src/promptflow-core/promptflow/storage/**
- src/promptflow/tests/executor/**
fundamental:
- scripts/**
Expand Down
39 changes: 31 additions & 8 deletions .github/workflows/build_doc_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on:
pull_request:
branches:
- main
- preview/docs
paths:
- 'README.md'
- 'docs/**'
- 'scripts/docs/**'
- '.github/workflows/build_doc_ci.yml'
- 'src/promptflow/promptflow/**'
- 'src/promptflow-tracing/promptflow/**'
- 'src/promptflow-core/promptflow/**'
- 'src/promptflow-devkit/promptflow/**'
- 'src/promptflow-azure/promptflow/**'

env:
packageSetupType: promptflow_with_extra
Expand All @@ -30,11 +32,16 @@ jobs:
- name: Python Setup
uses: "./.github/actions/step_create_python_environment"

- name: Dev setup
uses: "./.github/actions/step_sdk_setup"
with:
setupType: ${{ env.packageSetupType }}
scriptPath: ${{ env.testWorkingDirectory }}
- name: Install packages
shell: pwsh
# Note: Use -e to avoid duplicate object warning when build apidoc.
run: |
pip uninstall -y promptflow-tracing promptflow-core promptflow-devkit promptflow-azure
pip install -e ${{ github.workspace }}/src/promptflow-tracing
pip install -e ${{ github.workspace }}/src/promptflow-core
pip install -e ${{ github.workspace }}/src/promptflow-devkit
pip install -e ${{ github.workspace }}/src/promptflow-azure
pip freeze

- name: Build doc with reference doc
shell: powershell
Expand All @@ -53,7 +60,23 @@ jobs:
with:
submodules: true

- name: Python Setup
uses: "./.github/actions/step_create_python_environment"

- name: Install packages
shell: pwsh
# Note: Use -e to avoid duplicate object warning when build apidoc.
run: |
pip uninstall -y promptflow-tracing promptflow-core promptflow-devkit promptflow-azure
pip install -e ${{ github.workspace }}/src/promptflow-tracing
pip install -e ${{ github.workspace }}/src/promptflow-core
pip install -e ${{ github.workspace }}/src/promptflow-devkit
pip install -e ${{ github.workspace }}/src/promptflow-azure
pip freeze

- name: Build LinkCheck
shell: powershell
working-directory: scripts/docs/
run: ./doc_generation.ps1 -BuildLinkCheck -WarningAsError:$true
run: |-
pip install langchain
./doc_generation.ps1 -WithReferenceDoc:$true -WarningAsError:$true -BuildLinkCheck
36 changes: 33 additions & 3 deletions .github/workflows/build_msi_installer.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Package MSI
name: Build and Package MSI & Portable Installer

on:
workflow_dispatch:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
if ($version -ne $run_version) {
throw "Version input does not match the version in promptflow package. Version input: $version, version in promptflow package: $run_version"
}
}
}
elseif ($env:MSI_PRIVATE_VERSION) {
$version=$env:MSI_PRIVATE_VERSION
}
Expand Down Expand Up @@ -108,6 +108,24 @@ jobs:
setupType: promptflow_with_extra
scriptPath: ${{ env.testWorkingDirectory }}

- name: Setup and Install dev promptflow
shell: pwsh
run: |
Set-PSDebug -Trace 1
pip install -r ${{ github.workspace }}/src/promptflow/dev_requirements.txt
pip install ${{ github.workspace }}/src/promptflow-tracing
pip install ${{ github.workspace }}/src/promptflow-core[executor-service,azureml-serving]
pip install ${{ github.workspace }}/src/promptflow-devkit[pyarrow,executable]
pip install ${{ github.workspace }}/src/promptflow-azure
echo "Should fix this after pf-core could install this dependency"
pip install azureml-ai-monitoring
pip freeze

- name: Generate promptflow spec file to config pyinstaller
working-directory: ${{ github.workspace }}/scripts/installer/windows/scripts
run: |
python generate_dependency.py
Get-Content promptflow.spec

- name: Build Pyinstaller project
working-directory: ${{ github.workspace }}/scripts/installer/windows/scripts
Expand All @@ -132,6 +150,11 @@ jobs:
pyinstaller promptflow.spec
shell: pwsh

- name: Generate portable promptflow
run: |
Compress-Archive -Path ${{ github.workspace }}/scripts/installer/windows/scripts/dist/promptflow -DestinationPath promptflow-${{ steps.get-version.outputs.version }}.zip
shell: pwsh

- name: Build WIX project
working-directory: ${{ github.workspace }}/scripts/installer/windows
run: |
Expand Down Expand Up @@ -167,7 +190,7 @@ jobs:
"promptflow" = $version
} | ConvertTo-Json -Depth 100
$jsonContent | Out-File -FilePath latest_version.json -Encoding UTF8

Write-Output "Created latest_version.json with version: $version"
az storage blob upload --account-name promptflowartifact --container-name msi-installer --file "latest_version.json" --name "latest_version.json" --overwrite
} else {
Expand All @@ -185,6 +208,13 @@ jobs:
az storage blob upload --account-name promptflowartifact --container-name msi-installer --file "scripts/installer/windows/out/$($msi_file.Name)" --name "$($msi_file.Name)" --overwrite
}
}
# Upload zip file
if ($env:INPUT_UPLOADASLATEST -ieq 'True') {
az storage blob upload --account-name promptflowartifact --container-name portable-installer --file "promptflow-${{ steps.get-version.outputs.version }}.zip" --name "promptflow.zip" --overwrite
az storage blob copy start --account-name promptflowartifact --destination-container portable-installer --destination-blob "promptflow-${{ steps.get-version.outputs.version }}.zip" --source-container portable-installer --source-blob "promptflow.zip"
} else {
az storage blob upload --account-name promptflowartifact --container-name portable-installer --file "promptflow-${{ steps.get-version.outputs.version }}.zip" --name "promptflow-${{ steps.get-version.outputs.version }}.zip" --overwrite
}
env:
INPUT_UPLOADASLATEST: ${{ github.event.inputs.uploadAsLatest }}
shell: pwsh
4 changes: 2 additions & 2 deletions .github/workflows/flowdag_schema_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
PYTHONPATH: ${{ github.workspace }}/src/promptflow
run: |
cd ${{ github.workspace }}/src
pip install -e promptflow[azure]
pip install -e promptflow-tools
pip install ./promptflow[azure]
pip install ./promptflow-tools
python ${{ github.workspace }}/scripts/readme/schema_checker.py
Loading
Loading