repo_id stringlengths 15 132 | file_path stringlengths 34 176 | content stringlengths 2 3.52M | __index_level_0__ int64 0 0 |
|---|---|---|---|
promptflow_repo | promptflow_repo/promptflow/SUPPORT.md | # Support
## How to file issues and get help
This project uses GitHub Issues to track bugs and feature requests. Please search the existing
issues before filing new issues to avoid duplicates. For new issues, file your bug or
feature request as a new Issue.
## Microsoft Support Policy
Support for this **PROJECT or... | 0 |
promptflow_repo | promptflow_repo/promptflow/setup.cfg | [flake8]
extend-ignore = E203, E266, W503, F403, F821
max-line-length = 120
enable-extensions = E123,E133,E241,E242,E704,W505
exclude =
.git
.tox
.eggs
__pycache__
tests/fixtures/*
docs/*
venv,.pytest_cache
build
src/promptflow/promptflow/azure/_restclient
src/promptflow/tests/te... | 0 |
promptflow_repo | promptflow_repo/promptflow/CODE_OF_CONDUCT.md | # Microsoft Open Source Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
Resources:
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
- [Microsoft Code of Conduct FAQ](https://opensource.mic... | 0 |
promptflow_repo | promptflow_repo/promptflow/README.md | # Prompt flow
[](https://pypi.org/project/promptflow/)
[](https://pypi.python.org/pypi/promptflow/)
[](https://pypi.org... | 0 |
promptflow_repo | promptflow_repo/promptflow/LICENSE | MIT License
Copyright (c) Microsoft Corporation.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy,... | 0 |
promptflow_repo | promptflow_repo/promptflow/CONTRIBUTING.md | # Contributing to Prompt Flow
You can contribute to prompt flow with issues and pull requests (PRs). Simply
filing issues for problems you encounter is a great way to contribute. Contributing
code is greatly appreciated.
## Reporting Issues
We always welcome bug reports, API proposals and overall feedback. Here are a... | 0 |
promptflow_repo | promptflow_repo/promptflow/.cspell.json | {
"version": "0.2",
"language": "en",
"languageId": "python",
"dictionaries": [
"powershell",
"python",
"go",
"css",
"html",
"bash",
"npm",
"softwareTerms",
"en_us",
"en-gb"
],
"ignorePaths": [
"**/*.js",
"**/*.pyc",
"**/*.log",
"**/*.jsonl",
"**/*... | 0 |
promptflow_repo | promptflow_repo/promptflow/SECURITY.md | <!-- BEGIN MICROSOFT SECURITY.MD V0.0.8 BLOCK -->
## Security
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), ... | 0 |
promptflow_repo | promptflow_repo/promptflow/.pre-commit-config.yaml | # See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: '(^docs/)|flows|scripts|src/promptflow/promptflow/azure/_restclient/|src/promptflow/tests/test_configs|src/promptflow-tools'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3... | 0 |
promptflow_repo/promptflow | promptflow_repo/promptflow/.devcontainer/README.md | # Devcontainer for promptflow
To facilitate your promptflow project development and empower you to work on LLM projects using promptflow more effectively,
we've configured the necessary environment for developing promptflow projects and utilizing flows through the dev container feature.
You can seamlessly initiate yo... | 0 |
promptflow_repo/promptflow | promptflow_repo/promptflow/.devcontainer/Dockerfile | FROM python:3.9-slim-bullseye AS base
RUN set -x
RUN apt-get update \
&& apt-get -y install curl \
&& apt-get -y install net-tools \
&& apt-get -y install procps \
&& apt-get -y install build-essential \
&& apt-get -y install docker.io
RUN pip install ipython ipykernel
RUN ipython kernel install ... | 0 |
promptflow_repo/promptflow | promptflow_repo/promptflow/.devcontainer/devcontainer.json | {
"name": "Promptflow-Python39",
// "context" is the path that the Codespaces docker build command should be run from, relative to devcontainer.json
"context": ".",
"dockerFile": "Dockerfile",
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell... | 0 |
promptflow_repo/promptflow | promptflow_repo/promptflow/.devcontainer/requirements.txt | azure-cli
promptflow[azure]
promptflow-tools | 0 |
promptflow_repo/promptflow | promptflow_repo/promptflow/docs/README.md | # Promptflow documentation contribute guidelines
This folder contains the source code for [prompt flow documentation site](https://microsoft.github.io/promptflow/).
This readme file will not be included in above doc site. It keeps a guide for promptflow documentation contributors.
## Content
Below is a table of imp... | 0 |
promptflow_repo/promptflow | promptflow_repo/promptflow/docs/index.md | ---
myst:
html_meta:
"description lang=en": "Prompt flow Doc"
"google-site-verification": "rEZN-2h5TVqEco07aaMpqNcDx4bjr2czx1Hwfoxydrg"
html_theme.sidebar_secondary.remove: true
---
# Prompt flow
[**Prompt flow**](https://github.com/microsoft/promptflow) is a suite of development tools designed to streamlin... | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/integrations/index.md | # Integrations
The Integrations section contains documentation on custom extensions created by the community that expand prompt flow's capabilities.
These include tools that enrich flows, as well as tutorials on innovative ways to use prompt flow.
```{toctree}
:maxdepth: 1
tools/index
llms/index
``` | 0 |
promptflow_repo/promptflow/docs/integrations | promptflow_repo/promptflow/docs/integrations/tools/azure-ai-language-tool.md | # Azure AI Language
Azure AI Language enables users with task-oriented and optimized pre-trained language models to effectively understand documents and conversations. This Prompt flow tool is a wrapper for various Azure AI Language APIs. The current list of supported capabilities is as follows:
| Name ... | 0 |
promptflow_repo/promptflow/docs/integrations | promptflow_repo/promptflow/docs/integrations/tools/index.md | # Custom Tools
This section contains documentation for custom tools created by the community to extend Prompt flow's capabilities for specific use cases. These tools are developed following the guide on [Creating and Using Tool Packages](../../how-to-guides/develop-a-tool/create-and-use-tool-package.md). They are not... | 0 |
promptflow_repo/promptflow/docs/integrations | promptflow_repo/promptflow/docs/integrations/llms/index.md | # Alternative LLMs
This section provides tutorials on incorporating alternative large language models into prompt flow.
```{toctree}
:maxdepth: 1
:hidden:
``` | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/reference/pfazure-command-reference.md | # pfazure
:::{admonition} Experimental feature
This is an experimental feature, and may change at any time. Learn [more](../how-to-guides/faq.md#stable-vs-experimental).
:::
Manage prompt flow resources on Azure with the prompt flow CLI.
| Command | Description |
| --- | --- |
| [pfazure flow](#pfazure-flow) | Manag... | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/reference/flow-yaml-schema-reference.md | # Flow YAML Schema
:::{admonition} Experimental feature
This is an experimental feature, and may change at any time. Learn [more](../how-to-guides/faq.md#stable-vs-experimental).
:::
The source JSON schema can be found at [Flow.schema.json](https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json)
## ... | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/reference/index.md | # Reference
**Current stable version:**
- [promptflow](https://pypi.org/project/promptflow):
[](https://badge.fury.io/py/promptflow)
[](https://pypi.org/project/promptflow/)
- [promptflow-tools](https... | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/reference/run-yaml-schema-reference.md | # Run YAML Schema
:::{admonition} Experimental feature
This is an experimental feature, and may change at any time. Learn [more](../how-to-guides/faq.md#stable-vs-experimental).
:::
The source JSON schema can be found at [Run.schema.json](https://azuremlschemas.azureedge.net/promptflow/latest/Run.schema.json)
## YAM... | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/reference/pf-command-reference.md | # pf
:::{admonition} Experimental feature
This is an experimental feature, and may change at any time. Learn [more](../how-to-guides/faq.md#stable-vs-experimental).
:::
Manage prompt flow resources with the prompt flow CLI.
| Command | Description |
|----------------------... | 0 |
promptflow_repo/promptflow/docs/reference | promptflow_repo/promptflow/docs/reference/python-library-reference/promptflow.md | # PLACEHOLDER | 0 |
promptflow_repo/promptflow/docs/reference | promptflow_repo/promptflow/docs/reference/tools-reference/python-tool.md | # Python
## Introduction
Users are empowered by the Python Tool to offer customized code snippets as self-contained executable nodes in PromptFlow.
Users can effortlessly create Python tools, edit code, and verify results with ease.
## Inputs
| Name | Type | Description |... | 0 |
promptflow_repo/promptflow/docs/reference | promptflow_repo/promptflow/docs/reference/tools-reference/serp-api-tool.md | # SerpAPI
## Introduction
The SerpAPI API is a Python tool that provides a wrapper to the [SerpAPI Google Search Engine Results API](https://serpapi.com/search-api) and [SerpApi Bing Search Engine Results API
](https://serpapi.com/bing-search-api).
We could use the tool to retrieve search results from a number of di... | 0 |
promptflow_repo/promptflow/docs/reference | promptflow_repo/promptflow/docs/reference/tools-reference/contentsafety_text_tool.md | # Content Safety (Text)
Azure Content Safety is a content moderation service developed by Microsoft that help users detect harmful content from different modalities and languages. This tool is a wrapper for the Azure Content Safety Text API, which allows you to detect text content and get moderation results. See the [... | 0 |
promptflow_repo/promptflow/docs/reference | promptflow_repo/promptflow/docs/reference/tools-reference/open_model_llm_tool.md | # Open Model LLM
## Introduction
The Open Model LLM tool enables the utilization of a variety of Open Model and Foundational Models, such as [Falcon](https://ml.azure.com/models/tiiuae-falcon-7b/version/4/catalog/registry/azureml) and [Llama 2](https://ml.azure.com/models/Llama-2-7b-chat/version/14/catalog/registry/a... | 0 |
promptflow_repo/promptflow/docs/reference | promptflow_repo/promptflow/docs/reference/tools-reference/faiss_index_lookup_tool.md | # Faiss Index Lookup
Faiss Index Lookup is a tool tailored for querying within a user-provided Faiss-based vector store. In combination with our Large Language Model (LLM) tool, it empowers users to extract contextually relevant information from a domain knowledge base.
## Requirements
- For AzureML users, the tool i... | 0 |
promptflow_repo/promptflow/docs/reference | promptflow_repo/promptflow/docs/reference/tools-reference/vector_db_lookup_tool.md | # Vector DB Lookup
Vector DB Lookup is a vector search tool that allows users to search top k similar vectors from vector database. This tool is a wrapper for multiple third-party vector databases. The list of current supported databases is as follows.
| Name | Description |
| --- | --- |
| Azure Cognitive Search | M... | 0 |
promptflow_repo/promptflow/docs/reference | promptflow_repo/promptflow/docs/reference/tools-reference/prompt-tool.md | # Prompt
## Introduction
The Prompt Tool in PromptFlow offers a collection of textual templates that serve as a starting point for creating prompts.
These templates, based on the Jinja2 template engine, facilitate the definition of prompts. The tool proves useful
when prompt tuning is required prior to feeding the p... | 0 |
promptflow_repo/promptflow/docs/reference | promptflow_repo/promptflow/docs/reference/tools-reference/embedding_tool.md | # Embedding
## Introduction
OpenAI's embedding models convert text into dense vector representations for various NLP tasks. See the [OpenAI Embeddings API](https://platform.openai.com/docs/api-reference/embeddings) for more information.
## Prerequisite
Create OpenAI resources:
- **OpenAI**
Sign up account [Open... | 0 |
promptflow_repo/promptflow/docs/reference | promptflow_repo/promptflow/docs/reference/tools-reference/aoai-gpt4-turbo-vision.md | # Azure OpenAI GPT-4 Turbo with Vision
## Introduction
Azure OpenAI GPT-4 Turbo with Vision tool enables you to leverage your AzureOpenAI GPT-4 Turbo with Vision model deployment to analyze images and provide textual responses to questions about them.
## Prerequisites
- Create AzureOpenAI resources
Create Azure... | 0 |
promptflow_repo/promptflow/docs/reference | promptflow_repo/promptflow/docs/reference/tools-reference/openai-gpt-4v-tool.md | # OpenAI GPT-4V
## Introduction
OpenAI GPT-4V tool enables you to leverage OpenAI's GPT-4 with vision, also referred to as GPT-4V or gpt-4-vision-preview in the API, to take images as input and answer questions about them.
## Prerequisites
- Create OpenAI resources
Sign up account [OpenAI website](https://opena... | 0 |
promptflow_repo/promptflow/docs/reference | promptflow_repo/promptflow/docs/reference/tools-reference/llm-tool.md | # LLM
## Introduction
Prompt flow LLM tool enables you to leverage widely used large language models like [OpenAI](https://platform.openai.com/) or [Azure OpenAI (AOAI)](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/overview) for natural language processing.
Prompt flow provides a few different ... | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/tutorials/index.md | # Tutorials
This section contains a collection of flow samples and step-by-step tutorials.
|Area|<div style="width:250px">Sample</div>|Description|
|--|--|--|
|SDK|[Getting started with prompt flow](https://github.com/microsoft/promptflow/blob/main/examples/tutorials/get-started/quickstart.ipynb)| A step by step guid... | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/concepts/concept-variants.md | With prompt flow, you can use variants to tune your prompt. In this article, you'll learn the prompt flow variants concept.
# Variants
A variant refers to a specific version of a tool node that has distinct settings. Currently, variants are supported only in the LLM tool. For example, in the LLM tool, a new variant c... | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/concepts/concept-flows.md | While how LLMs work may be elusive to many developers, how LLM apps work is not - they essentially involve a series of calls to external services such as LLMs/databases/search engines, or intermediate data processing, all glued together. Thus LLM apps are merely Directed Acyclic Graphs (DAGs) of function calls. These D... | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/concepts/concept-tools.md | Tools are the fundamental building blocks of a [flow](./concept-flows.md).
Each tool is an executable unit, basically a function to performs various tasks including but not limited to:
- Accessing LLMs for various purposes
- Querying databases
- Getting information from search engines
- Pre/post processing of data
# ... | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/concepts/concept-connections.md | In prompt flow, you can utilize connections to securely manage credentials or secrets for external services.
# Connections
Connections are for storing information about how to access external services like LLMs: endpoint, api keys etc.
- In your local development environment, the connections are persisted in your lo... | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/concepts/index.md | # Concepts
In this section, you will learn the basic concepts of prompt flow.
```{toctree}
:maxdepth: 1
concept-flows
concept-tools
concept-connections
concept-variants
design-principles
``` | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/concepts/design-principles.md | # Design principles
When we started this project, [LangChain](https://www.langchain.com/) already became popular esp. after the ChatGPT launch. One of the questions we’ve been asked is what’s the difference between prompt flow and LangChain. This article is to elucidate the reasons for building prompt flow and the del... | 0 |
promptflow_repo/promptflow/docs | promptflow_repo/promptflow/docs/cloud/index.md | # Cloud
Prompt flow streamlines the process of developing AI applications based on LLM, easing prompt engineering, prototyping, evaluating, and fine-tuning for high-quality products.
Transitioning to production, however, typically requires a comprehensive **LLMOps** process, LLMOps is short for large language model o... | 0 |
promptflow_repo/promptflow/docs/cloud | promptflow_repo/promptflow/docs/cloud/azureai/manage-flows.md | # Manage flows
:::{admonition} Experimental feature
This is an experimental feature, and may change at any time. Learn [more](../../how-to-guides/faq.md#stable-vs-experimental).
:::
This documentation will walk you through how to manage your flow with CLI and SDK on [Azure AI](https://learn.microsoft.com/en-us/azure/... | 0 |
promptflow_repo/promptflow/docs/cloud | promptflow_repo/promptflow/docs/cloud/azureai/quick-start.md | # Run prompt flow in Azure AI
:::{admonition} Experimental feature
This is an experimental feature, and may change at any time. Learn [more](../../how-to-guides/faq.md#stable-vs-experimental).
:::
Assuming you have learned how to create and run a flow following [Quick start](../../how-to-guides/quick-start.md). This ... | 0 |
promptflow_repo/promptflow/docs/cloud | promptflow_repo/promptflow/docs/cloud/azureai/deploy-to-azure-appservice.md | # Deploy to Azure App Service
[Azure App Service](https://learn.microsoft.com/azure/app-service/) is an HTTP-based service for hosting web applications, REST APIs, and mobile back ends.
The scripts (`deploy.sh` for bash and `deploy.ps1` for powershell) under [this folder](https://github.com/microsoft/promptflow/tree/m... | 0 |
End of preview. Expand in Data Studio
- Downloads last month
- 3