Skip to content

Add copilot endpoint - #20

Open
y1811 wants to merge 3 commits into
mainfrom
user/wuya/add-endpoint
Open

Add copilot endpoint#20
y1811 wants to merge 3 commits into
mainfrom
user/wuya/add-endpoint

Conversation

@y1811

@y1811 y1811 commented Sep 15, 2023

Copy link
Copy Markdown
Collaborator

Add copilot endpoint support. We can configure if use endpoint in [pfcopilot.env].

In this PR:

  • we separate original copilot_context.py into two files: copilot_management_context.py and copilot_gpt_context.py.
    • copilot_management_context.py is responsible for entire chat context, and have dump flow/read folder related logic.
    • copilot_gpt_context.py is responsible for communicating with gpt.
  • we support stream output in endpoint scenario.

Reference doc: https://microsoft.github.io/promptflow/how-to-guides/enable-streaming-mode.html#create-a-streaming-enabled-flow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant