Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
Anish Prasad da252170ea
feat: Add support for Teams Adaptive cards in QnA Dialog (#4467)
* Add logic to qnaCardBuilder.ts to generate adaptive card for Teams

* Set adaptive card width to full

* Add optional bool variable for adaptive card and remove separate function

* Refactor new code into methods and add comments

* Fix linting issues

* Update botbuilder-ai.api.md

* Fix remaining linting issues

* Address requested changes

* Create qnaMakerDialogAdaptiveCard.test.js

* Update getSuggestionsCard to use adaptive card and update qna dialog tests to use the new parameter

* Update generated docs

* Update botbuilder-ai.api.md

---------

Co-authored-by: Anish Prasad <v-aniprasad@microsoft.com>
2023-05-30 11:51:46 -05:00
Steven Ickman a0370aca95 fixed refs ro botbuilder-core-extensions 2018-08-16 14:57:40 -07:00
Steven Gum 7a8f44ca7e remove fileStorage and tableStorage docs/references 2018-07-11 15:07:29 -07:00
Steven Gum c2fa8b13b0 add readme and bot files to all samples, add samples-level readme 2018-05-18 13:23:26 -07:00
Steven Ickman 22c2821e36
Stevenic/docs (#211)
* Reference docs for botbuilder-choices

* Updated botbuilder-prompts docs

* updated docs for dialogs and prompts

* updated dialog docs

* Updated composite control
2018-04-26 04:06:23 -07:00
Pablo Costantini 4bc3b429ed AzureTable Storage improvements (#182)
* Parameter Checks and Documentation

* Functional Tests

* Refactor TableStorage
- Store object properties into multiple columns
- Read EDM information and re-create JS object with proper types

* Docs update

* Avoid storing eTag as row column
2018-04-16 14:23:31 -07:00
Steven Ickman 5ee414f3b7 Update "botbuilder" package docs. 2018-04-13 02:23:18 -07:00
Pablo Costantini 5e70f55f3e CosmosDB Storage Provider - Feedback (#166)
* Add comment for CosmosDB Emulator credentials

* Select only required attributes

* Parameters validation

* Build update

* Move db/collection exists check to the provider instance (instead of global cache)

* Build update

* Rename CosmosDbSqlStorage to CosmosDbStorage

The same provider works with both DocumentDB and Graph APIs

* Remove eTag from persisted document node

* Docs update

* Address feedback and add comments to code

* Fixed bad merge
2018-04-12 17:46:31 -07:00
Enzo Cano 096fac09d9 Azure Blob Storage Provider (#172)
* AzureBlobStorage Provider

* Add AzureBlob storage provider tests

* Add check container name and blob name sanitizer

* Update documentation

* Add documentation

* Add documentation

* Use parallel update when using an Azure Blob Storage account
2018-04-12 17:23:12 -07:00
Pablo Costantini 1997a54e29 CosmosDB SQL (DocumentDB) Storage Provider (#165)
* CosmosDB SQL (DocumentDB) Storage Provider

* CosmosDB SQL (DocumentDB) Storage Provider - implement default operations

* CosmosDB SQL (DocumentDB) Storage Provider - Sanitize Keys

* CosmosDB SQL (DocumentDB) Storage Provider - Optional connectionPolicyConfigurator

(Allow DisableSSLVerification from tests)

* CosmosDB SQL (DocumentDB) Storage Provider - JS Docs

* Read all requested items using query instead of querying for each key

* Docs hash update

* Test for connectionPolicyConfigurator

* Add test for Constructor parameters
2018-04-06 07:42:33 -07:00
Steven Ickman b43c682c38 Updated botbuilder-ai reference docs 2018-03-26 17:35:42 -07:00
Steven Ickman a128d467d8
Generated new reference docs (#138)
Just updating reference docs
2018-03-22 16:13:39 -07:00
Steven Ickman a19f787657
M2 Integration (#132)
* botbuilder-core refactor with unit tests

* implementation of botbuilder-core-extensions

* updated unit tests

* Added conversation state unit tests

* Added support for middleware as an object

* Changed conversation state middleware to be a class

* Added UserState middleware and tests

* Added test for better code coverage.

* Added browser storage tests

* Added more unit tests

* Broke out separate BotState class

* Renamed TurnContext back to BotContext

* Added new BotStateSet class

* Added additional test to middlewareSet

* 100% code coverage on BotState, ConversationState, and UserState classes.

* 100% code coverage for BotStateSet

* updated test adapter to better support updateActivity() and deleteActivity()

* changed BotContext.sendActivities() to take a variable number of params.

* 100% code coverage for TestAdapter

* 100% code coverage on CardFactory

* 100% code coverage for MessageFactory

* Updated BotAdapter.deleteActivity to take a conversation reference instead of an id.

* 100% code coverage for BotFrameworkAdapter

* Implemented new style ConsoleAdapter

* updated botbuilder-core unit tests

* updated botbuilder-ai to use latest middleware pattern

* Updated UserState and ConversationState to add a property accessor to context object

* Updated BotContext to not be a generic

* new qna maker and file storage impl

* combined docs for botbuilder botbuilder-core botbuilder-core-extensions

* updated docs

* updated docs

* updated docs

* updated docs

* update docs

* update docs

* updated docs

* updated docs

* update docs

* update docs

* update docs

* updated docs

* updated docs

* updated docs

* update docs

* added BatchOutput class

* added BatchOutput middleware

* Updated botbuilder-azure to m2

* Updated botbuilder-choices to m2

* updated botbuilder-dialogs to m2

* updated docs

* updated echobot example

* updated echobot-es6 sample

* updated alarmbot sample

* fixed issue with recognizers-text dependency

* fixed broken recognizer-text refs

* fixed bug in waterfall

* updated alarm bot samples

* Added passing of locale through to recognizers

* botbuilder-prompts

* updated prompts for botbuilder-dialogs

* updated dialogs echobot sample

* updated dialogs alarmbot

* updated dialog samples to use async/await

* updated dialogs prompts sample

* removed un used import

* updated inside-middleware sample for dialogs

* updated echobot-ts sample to use async/await

* Updated alarmbot-es6 sample

* updated alarmbot-ts to use async/await

* cleaned up merge junk

* Added echobot-console-ts sample

* Updated console sample

* Added context to onSendActivity(), onUpdateActivity(), and onDeleteActivity()

* updated version num

* Fixed issue with connectors credential provider

* Added ability to pass a BotContext instnace into the constructor of anotehr BotContext

* Updated code coverage tests

* Tweak to simplify token refresh code

* removed inbound endOfConversation check as it wasn't working

* feat(DevTools): Improvements to Lerna and Developer Workflow. (#113)

Added npm postinstall scripts to automate lerna bootstrapping and make lerna transparent to the developer.
Added various npm run scripts to enable a single command to link botbuilder to the global node_modules folder to make it easier for developers to add their local cloned repo to a project.

* package files

* Added logic to return last call to end() as a DialogResult

* Added dialog based Control creation and sample

* Added support using symbols as keys off context cache

* sample update

* Updated DialogContext.endAll() to be fluent.

* updated BotState classes to use Symbols for cache keys

* Updated BatchOutput ot use Symbol based cache keys

* ListControl sample

* Updated sample

* Fixed build break

* fixed broken dialogs test

* Cleaned up control concept

- Created separate CompositControl and Control concepts.
- Both types of controls now automatically suport being used outside of Dialogs.
- Control usage is more consistant regardless of mode.
- Made state passed into DialogSet.createContext() more opaque.

* Stevenic/invoke (#122)

* Added support for 'invoke'

* added logic to cleanup saved invokeReponse entiries from map
2018-03-20 15:50:38 -07:00
Steven Ickman 538cb479b8
Stevenic/adapter fix (#96)
* removed post install step from connector package.

* Updated botframework-schema refs
2018-02-21 17:17:58 -08:00
Steven Ickman 91e96c4755
Stevenic/botbuilder-dialogs (#90)
* Initial implementation of botbuilder-dialogs library

* Added echo bot sample based on dialogs

* Added alarm sample for dialogs

* Added prompts sample and fixed a few bugs

* Added attachment prompt

* Added setting of inputHint from prompts.

* Updated inputHint casts

* Added middleware example of dialogs and fixed some typing issues

* Updated sample readme's

* Generate initial reference docs for botbuilder-dialogs

* trying different @example structure

* example style 2

* Added more usage examples

* Flushed out additional reference docs for prompts

* Added more samples and docs for generics

* Stubbed out unit tests

* Updated choices docs

* Tweaked choice prompt

- Removed DynamicChoices handler as it just added complexity.
- Added property for tweaking the recognizer options
2018-02-20 16:47:16 -08:00
Steven Ickman b4754eadb2
Fixed build breaks (#79)
* Fixed build breaks

- BotFrameworkAdapter was missing needed casts
- Changed a bunch of ConversationResourceResponse refs to be just ResourceResponse. Something changed around that with the new adapter schema.

* re-generated docs

* cleaned out dead files

* Updated all samples to use same version of restify

* updated botbuilder-schema dependencies

* Renamed build script for a couple of samples
2018-02-15 13:25:12 -08:00
Steven Ickman 80ecf6375e
Updated create options for QnA Maker and LUIS Recognizer (#72)
* Updated create options for QnA Maker and LUIS Recognizer

* Fixed bug in IntentRecognizerSet.hasExactMatch()
2018-02-14 00:17:45 -08:00
Steven Ickman a0e4c1c73f
Stevenic/m1 publish (#49)
* updated package.json version

* Small cleanup of core

- Removed dated methods off context
- Removed console logger middleware

* Updated reference docs

* Updated repository links in package.json

* added readme to libraries folder
2018-02-07 15:05:33 -08:00
Steven Ickman fb88c283fd
Stevenic/doc updates (#48)
* Doc updates

* fully qualified links

* renamed docs link

* Added doc links

* updated bold

* updated label
2018-02-07 11:26:46 -08:00
Kamran Iqbal 4221d5f761 Added sdk overview and updated readme (#38)
* Create overview.md

* Create bot-overview.png

* Add files via upload

* Update README.md

* Create FAQ.md

* Add files via upload
2018-02-02 12:43:09 -08:00
Steven Ickman ede2cfe967
Stevenic/build docs (#25)
* Added new build-docs script

* removed old doc building scripts
2018-01-29 18:02:23 -08:00
Steven Ickman 1925416286 Stubbed out folder structure 2018-01-10 15:18:46 -08:00