Skip to content

Commit

Permalink
Issue microsoft#701 updated readme.md for webapi to make it clearer h…
Browse files Browse the repository at this point in the history
…ow one can include plugins in build output for publishing (microsoft#752)

### Motivation and Context

<!-- Thank you for your contribution to the chat-copilot repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required? Issue microsoft#701 
2. What problem does it solve? Not clear in readme that this step is
needed in order to publish plugins
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here. microsoft#701 
-->

### Description

Readme updated with example of what is required to include prompt.txt in
build output
  • Loading branch information
eamon-keane authored Jan 23, 2024
1 parent 14116fe commit 536fb43
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions webapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,14 @@ Alternatively,
</Content>
```

You will also need to include a line for each skprompt.txt file you have for you plugins to ensure they are included in the build output.

```xml
<None Update="Plugins\SemanticPlugins\{PluginName}\skprompt.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
```

3. Change the respective directory option to use an absolute path or a different base path, but make sure that the files are accessible from that location.

### Add Custom Setup to Chat Copilot's Kernel
Expand Down

0 comments on commit 536fb43

Please sign in to comment.