Skip to content

Files

flex-flows

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 8, 2024
Jul 8, 2024
Jul 8, 2024
Jul 23, 2024
Jul 8, 2024
Jul 8, 2024
Jul 8, 2024
Jul 8, 2024
Jul 8, 2024
Apr 17, 2024
May 17, 2024

Flex Flow

You can learn more on flex flow with examples in this folder.

SDK examples

path status description
flex-flow-quickstart.ipynb samples_flexflows_basic_flexflowquickstart A quickstart tutorial to run a flex flow and evaluate it.
flex-flow-quickstart-azure.ipynb samples_flexflows_basic_flexflowquickstartazure A quickstart tutorial to run a flex flow and evaluate it in azure.
chat-with-class-based-flow-azure.ipynb samples_flexflows_chatbasic_chatwithclassbasedflowazure A quickstart tutorial to run a class based flex flow and evaluate it in azure.
chat-with-class-based-flow.ipynb samples_flexflows_chatbasic_chatwithclassbasedflow A quickstart tutorial to run a class based flex flow and evaluate it.
chat-stream-with-flex-flow.ipynb samples_flexflows_chatstream_chatstreamwithflexflow A quickstart tutorial to run a class based flex flow in stream mode and evaluate it.
chat-stream-with-async-flex-flow.ipynb samples_flexflows_chatasyncstream_chatstreamwithasyncflexflow A quickstart tutorial to run a class based flex flow in stream mode and evaluate it.
langchain-eval.ipynb samples_flexflows_evalcriteriawithlangchain_langchaineval A tutorial to converting LangChain criteria evaluator application to flex flow.

CLI examples

path status description
basic samples_flex_flows_basic A basic standard flow define using function entry that calls Azure OpenAI with connection info stored in environment variables
chat-async-stream samples_flex_flows_chat_async_stream A chat flow defined using async class entry that return output in stream mode
chat-basic samples_flex_flows_chat_basic A basic chat flow defined using class entry
chat-minimal samples_flex_flows_chat_minimal A chat flow defined using function with minimal code
chat-stream samples_flex_flows_chat_stream A chat flow defined using class entry that return output in stream mode
chat-with-functions samples_flex_flows_chat_with_functions This flow covers how to use the LLM chat API in combination with external functions to extend the capabilities of GPT models
eval-checklist samples_flex_flows_eval_checklist A example flow defined using class entry which demos how to evaluate the answer pass user specified check list
eval-code-quality samples_flex_flows_eval_code_quality A example flow defined using class based entry which leverages model config to evaluate the quality of code snippet
eval-criteria-with-langchain samples_flex_flows_eval_criteria_with_langchain A example flow of converting LangChain criteria evaluator application to flex flow