UI intergration #1946
-
I've been developing a system using Promptflow for quite a while now. What I would like to inquire about is whether if it's possible to integrate a prompt flow with an external or any library that provides UI functionalities such as Chainlit |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @treezy254. thanks for reaching out, we have streamlit lib integrate with some of our command, by installing promptflow[executable] and running |
Beta Was this translation helpful? Give feedback.
Hi @treezy254. thanks for reaching out, we have streamlit lib integrate with some of our command, by installing promptflow[executable] and running
pf flow test --flow <flow-path> --ui
, a web browser window will be pop up, and the UI is provided by streamlit. We will generate the source file under the temp folder, I'm sorry that we don't log the source path out (we will add the log message), you could find them under the temp folder, looks like:And remember to copy them out, because once you stop the streamlit server, the files will be removed.