Skip to content

Commit

Permalink
ready for release
Browse files Browse the repository at this point in the history
  • Loading branch information
alexteusz committed Mar 21, 2024
1 parent 7732c75 commit c6de64a
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 166 deletions.
21 changes: 21 additions & 0 deletions extensions/microsoft-copilot/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
# Microsoft Copilot

Discover a groundbreaking synergy between human creativity and AI intelligence with the [Microsoft Copilot](https://www.microsoft.com/en/microsoft-copilot) Extension for Cognigy.AI, empowering you to redefine conversational AI development and innovation like never before.

## Connection

This Extension requires a a configured ["Direct Line"](https://learn.microsoft.com/en-us/microsoft-copilot-studio/publication-fundamentals-publish-channels?tabs=web#configure-channels) channel within the Microsoft Copilot Studio. Furthermore, make sure that under ["Security" -> "Authentication"](https://learn.microsoft.com/en-us/microsoft-copilot-studio/configuration-end-user-authentication#choose-an-authentication-option), there is "No Authentication" selected. Afterward, please click on the created "Direct Line" channel and copy the "Token Enpdoint" url which is required for the connection.

- Direct Line Token Endpoint

## Node: Run Copilot

This Flow Node executes the connected Microsoft Copilot by sending a text message. It waits for the answer and outputs it directly to the user. Furthermore, the `text` and `conversationId` are stored in the input or context object based on the selected storage location:

```json
{
"copilot": {
"conversationId": "...-eu",
"text": "What is Copilot?"
}
}
```
77 changes: 31 additions & 46 deletions extensions/microsoft-copilot/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions extensions/microsoft-copilot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"dependencies": {
"@cognigy/extension-tools": "^0.14.0",
"axios": "^0.21.1",
"tslint": "^5.16.0",
"ws": "^8.16.0"
"tslint": "^5.16.0"
},
"devDependencies": {
"@types/node": "^13.13.15",
Expand Down
Loading

0 comments on commit c6de64a

Please sign in to comment.