* Added CustomQABot and CustomQABotAllFeatures. (#3712)

* Added CustomQABot and CustomQABotAllFeatures.

* Updated configuration and removed model.

* Readme Updated.

* Readme heading updated.

* Models added and code refactored.

* Readme updated

* Readme updated.

* Updated Readme and renamed bot.

* Readme updated

* Readme updated.

* Updated readme.

* Updated .csproj and .sln

* Refactored code and comments added.

* Minor comment change.

* Addressed review comments and updated Readme.

* Updated Readme.

* Updated Readme.

* Updated Readme.

* Updated configuration names in appsettings.json.

* Renamed default.htm to default.html

* Updated Readme.

* Code refactored and readme updated.

* Reduced references in readme.

* Changed cognitiveModel file name.

* Updated ArgumentException for configuration.

* Updated ArgumentException for configuration

* Updated readme and refactored code.

* Added CustomQABot and CustomQABotAllFeatures (#3716)

* Added CustomQABot and CustomQABotAllFeatures.

* Updated .env file.

* Updated folder names.

* Added more functionality.

* Updated configuration names in .env.

* Used enum for qnaServiceType.

* Removed null check from index.js

* Updated Readme of both samples and added eslintrc

* Removed Typos from Readme. (#3733)

* Removed Typos from Readme.

* Updated line no. for filters.

* Changed card references to rootDialog.js

* Added link to rootDialog

* Updated Readme.

* Updated JS dependency version for BF

* Updated BF sdk references to 4.16.0
Consolidated timex expressions references to 1.7.0
Consolidated newtonsoft references to 3.1.1

* Updated old QnAamples readmes with deprecation notice

* Fixed links

* Updated JS readmes

* Update samples/csharp_dotnetcore/11.qnamaker/README.md

Co-authored-by: Jonathan Fingold <jonathan.m.fingold@gmail.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Jonathan Fingold <jonathan.m.fingold@gmail.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Jonathan Fingold <jonathan.m.fingold@gmail.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Jonathan Fingold <jonathan.m.fingold@gmail.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Jonathan Fingold <jonathan.m.fingold@gmail.com>

* Update samples/csharp_dotnetcore/11.qnamaker/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Jonathan Fingold <jonathan.m.fingold@gmail.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Jonathan Fingold <jonathan.m.fingold@gmail.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Jonathan Fingold <jonathan.m.fingold@gmail.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Jonathan Fingold <jonathan.m.fingold@gmail.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/12.customQABot/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Update samples/csharp_dotnetcore/48.customQABot-all-features/README.md

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>

* Addressed Jonathan's feedback

* Updated JS readmne for js sample 12 to match donet sample

* Updated readme to match dotnet readme

* Updated JS readme for sample 49 to align C# readme

Co-authored-by: Arsh Kashyap <60098300+Arsh-Kashyap@users.noreply.github.com>
Co-authored-by: tracyboehrer <tracyboehrer@users.noreply.github.com>
Co-authored-by: Jonathan Fingold <jonathan.m.fingold@gmail.com>
Co-authored-by: Sarah Eberhardt <94552194+eberhardts@users.noreply.github.com>
This commit is contained in:
Gabo Gilabert 2022-04-29 10:05:42 -04:00 коммит произвёл GitHub
Родитель b51d79f41d
Коммит 219034c6f3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
145 изменённых файлов: 5985 добавлений и 166 удалений

Просмотреть файл

@ -9,8 +9,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
</Project>

Просмотреть файл

@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -7,8 +7,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -7,8 +7,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -8,8 +8,8 @@
<ItemGroup>
<PackageReference Include="AdaptiveCards" Version="1.0.3" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -7,8 +7,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -1,10 +1,15 @@
# QnA Maker
Bot Framework v4 QnA Maker bot sample
**Important**: The QnA Maker service will retire on the 31st of March, 2025. A newer version of the question and answering capability is now available as part of Azure Cognitive Service for Language.
For question-and-answer capabilities within the Cognitive Services, see _question answering_. Starting 1st October, 2022 you wont be able to create new QnA Maker resources.
For information on migrating existing QnA Maker knowledge bases to question answering, consult the migration guide.
For an updated version of this sample that uses question answering, see the [CustomQABot sample](../12.customQABot).
This bot has been created using [Bot Framework](https://dev.botframework.com), it shows how to create a bot that uses the [QnA Maker Cognitive AI](https://www.qnamaker.ai) service.
The [QnA Maker Service](https://www.qnamaker.ai) enables you to build, train and publish a simple question and answer bot based on FAQ URLs, structured documents or editorial content in minutes. In this sample, we demonstrate how to use the QnA Maker service to answer questions based on a FAQ text file used as input.
Bot Framework v4 QnA Maker bot sample: This bot has been created using [Bot Framework](https://dev.botframework.com), it shows how to create a bot that uses the [QnA Maker Cognitive AI](https://www.qnamaker.ai) service.
The [QnA Maker Service](https://www.qnamaker.ai) enables you to build, train, and publish a simple question and answer bot based on FAQ URLs, structured documents, or editorial content in minutes. In this sample, we demonstrate how to use the QnA Maker service to answer questions based on a FAQ text file used as input.
## Prerequisites

Просмотреть файл

@ -0,0 +1,50 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Integration.AspNet.Core;
using Microsoft.Bot.Builder.TraceExtensions;
using Microsoft.Bot.Connector.Authentication;
using Microsoft.Extensions.Logging;
namespace Microsoft.BotBuilderSamples
{
public class AdapterWithErrorHandler : CloudAdapter
{
public AdapterWithErrorHandler(BotFrameworkAuthentication auth, ILogger<IBotFrameworkHttpAdapter> logger, ConversationState conversationState = default)
: base(auth, logger)
{
OnTurnError = async (turnContext, exception) =>
{
// Log any leaked exception from the application.
// NOTE: In production environment, you should consider logging this to
// Azure Application Insights. Visit https://aka.ms/bottelemetry to see how
// to add telemetry capture to your bot.
logger.LogError(exception, $"[OnTurnError] unhandled error : {exception.Message}");
// Send a message to the user
await turnContext.SendActivityAsync("The bot encountered an error or bug.");
await turnContext.SendActivityAsync("To continue to run this bot, please fix the bot source code.");
if (conversationState != null)
{
try
{
// Delete the conversationState for the current conversation to prevent the
// bot from getting stuck in a error-loop caused by being in a bad state.
// ConversationState should be thought of as similar to "cookie-state" in a Web pages.
await conversationState.DeleteAsync(turnContext);
}
catch (Exception e)
{
logger.LogError(e, $"Exception caught on attempting to Delete ConversationState : {e.Message}");
}
}
// Send a trace activity, which will be displayed in the Bot Framework Emulator
await turnContext.TraceActivityAsync("OnTurnError Trace", exception.Message, "https://www.botframework.com/schemas/error", "TurnError");
};
}
}
}

Просмотреть файл

@ -0,0 +1,134 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.AI.QnA;
using Microsoft.Bot.Builder.AI.QnA.Models;
using Microsoft.Bot.Schema;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Microsoft.BotBuilderSamples.Bots
{
public class CustomQABot : ActivityHandler
{
private readonly ILogger<CustomQABot> _logger;
private readonly IHttpClientFactory _httpClientFactory;
private readonly string _endpointKey;
private readonly string _hostname;
private readonly string _knowledgeBaseId;
private readonly string _defaultWelcome = "Hello and Welcome";
private readonly bool _enablePreciseAnswer;
private readonly bool _displayPreciseAnswerOnly;
public CustomQABot(IHttpClientFactory httpClientFactory, IConfiguration configuration, ILogger<CustomQABot> logger)
{
_logger = logger;
_httpClientFactory = httpClientFactory;
const string missingConfigError = "{0} is missing or empty in configuration.";
_hostname = configuration["LanguageEndpointHostName"];
if (string.IsNullOrEmpty(_hostname))
{
throw new ArgumentException(string.Format(missingConfigError, "LanguageEndpointHostName"));
}
_endpointKey = configuration["LanguageEndpointKey"];
if (string.IsNullOrEmpty(_endpointKey))
{
throw new ArgumentException(string.Format(missingConfigError, "LanguageEndpointKey"));
}
_knowledgeBaseId = configuration["ProjectName"];
if (string.IsNullOrEmpty(_knowledgeBaseId))
{
throw new ArgumentException(string.Format(missingConfigError, "ProjectName"));
}
var welcomeMsg = configuration["DefaultWelcomeMessage"];
if (!string.IsNullOrWhiteSpace(welcomeMsg))
{
_defaultWelcome = welcomeMsg;
}
_enablePreciseAnswer = bool.Parse(configuration["EnablePreciseAnswer"]);
_displayPreciseAnswerOnly = bool.Parse(configuration["DisplayPreciseAnswerOnly"]);
}
protected override async Task OnMessageActivityAsync(ITurnContext<IMessageActivity> turnContext, CancellationToken cancellationToken)
{
using var httpClient = _httpClientFactory.CreateClient();
var customQuestionAnswering = CreateCustomQuestionAnsweringClient(httpClient);
// Call Custom Question Answering service to get a response.
_logger.LogInformation("Calling Custom Question Answering");
var options = new QnAMakerOptions { Top = 1, EnablePreciseAnswer = _enablePreciseAnswer };
var response = await customQuestionAnswering.GetAnswersAsync(turnContext, options);
if (response.Length > 0)
{
var activities = new List<IActivity>();
// Create answer activity.
var answerText = response[0].Answer;
var answer = MessageFactory.Text(answerText, answerText);
// Answer span text has precise answer.
var preciseAnswerText = response[0].AnswerSpan?.Text;
if (string.IsNullOrEmpty(preciseAnswerText))
{
activities.Add(answer);
}
else
{
// Create precise answer activity.
var preciseAnswer = MessageFactory.Text(preciseAnswerText, preciseAnswerText);
activities.Add(preciseAnswer);
if (!_displayPreciseAnswerOnly)
{
// Add answer to the reply when it is configured.
activities.Add(answer);
}
}
await turnContext.SendActivitiesAsync(activities.ToArray(), cancellationToken).ConfigureAwait(false);
}
else
{
await turnContext.SendActivityAsync(MessageFactory.Text("No answers were found.", "No answers were found."), cancellationToken);
}
}
private CustomQuestionAnswering CreateCustomQuestionAnsweringClient(HttpClient httpClient)
{
// Create a new Custom Question Answering instance initialized with QnAMakerEndpoint.
return new CustomQuestionAnswering(new QnAMakerEndpoint
{
KnowledgeBaseId = _knowledgeBaseId,
EndpointKey = _endpointKey,
Host = _hostname,
QnAServiceType = ServiceType.Language
},
null,
httpClient);
}
protected override async Task OnMembersAddedAsync(IList<ChannelAccount> membersAdded, ITurnContext<IConversationUpdateActivity> turnContext, CancellationToken cancellationToken)
{
foreach (var member in membersAdded)
{
if (member.Id != turnContext.Activity.Recipient.Id)
{
await turnContext.SendActivityAsync(MessageFactory.Text(_defaultWelcome, _defaultWelcome), cancellationToken);
}
}
}
}
}

Просмотреть файл

@ -0,0 +1,157 @@
Question Answer Source Metadata SuggestedQuestions IsContextOnly Prompts QnaId SourceDisplayName
User Guide https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [{"DisplayOrder":0,"QnaId":27,"Qna":null,"DisplayText":"With Windows 10"},{"DisplayOrder":1,"QnaId":28,"Qna":null,"DisplayText":"✪ Meet Surface Book"},{"DisplayOrder":2,"QnaId":43,"Qna":null,"DisplayText":"Set up your Surface Book"},{"DisplayOrder":3,"QnaId":47,"Qna":null,"DisplayText":"The basics"},{"DisplayOrder":4,"QnaId":71,"Qna":null,"DisplayText":"Accounts and signing in"},{"DisplayOrder":5,"QnaId":78,"Qna":null,"DisplayText":"Get to know Windows 10"},{"DisplayOrder":6,"QnaId":84,"Qna":null,"DisplayText":"Keep your Surface Book up to date"},{"DisplayOrder":7,"QnaId":85,"Qna":null,"DisplayText":"Browse the Internet"},{"DisplayOrder":8,"QnaId":87,"Qna":null,"DisplayText":"Storage options"},{"DisplayOrder":9,"QnaId":90,"Qna":null,"DisplayText":"Surface Pen"},{"DisplayOrder":10,"QnaId":105,"Qna":null,"DisplayText":"Apps and the Windows Store"},{"DisplayOrder":11,"QnaId":112,"Qna":null,"DisplayText":"Connect devices and accessories"},{"DisplayOrder":12,"QnaId":125,"Qna":null,"DisplayText":"Surface audio features"},{"DisplayOrder":13,"QnaId":137,"Qna":null,"DisplayText":"Cameras and the Camera app"},{"DisplayOrder":14,"QnaId":146,"Qna":null,"DisplayText":"Personalization and settings"},{"DisplayOrder":15,"QnaId":153,"Qna":null,"DisplayText":"Accessibility"},{"DisplayOrder":16,"QnaId":169,"Qna":null,"DisplayText":"Clean and care for your Surface Book"},{"DisplayOrder":17,"QnaId":176,"Qna":null,"DisplayText":"Registration, repair, and warranty"},{"DisplayOrder":18,"QnaId":181,"Qna":null,"DisplayText":"More help"}] 26 Surface
With Windows 10 **With Windows 10**\n\nPublished: September 2016\n\nVersion 2.0\n\n✪\n\n© 2016 Microsoft. All rights reserved.\n\nBlueTrack Technology, Microsoft, OneNote, Outlook, PowerPoint, OneDrive, Windows, Xbox, and Xbox Live are registered trademarks of Microsoft Corporation.\n\nSurface and Skype are trademarks of Microsoft Corporation.\n\nBluetooth is a registered trademark of Bluetooth SIG, Inc.\n\nDolby and the double-D symbol are registered trademarks of Dolby Laboratories.\n\nThis document is provided “as-is.” Information in this document, including URL and other Internet website references, may change without notice. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 27 Surface
✪ Meet Surface Book **✪ Meet Surface Book**\n\nGet to know Surface Book, the ultra-thin, high-performance laptop with exceptional power and versatility. Use this guide to get started with your Surface Book. For more details and how-to info, go online to Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [{"ClusterHead":"book","TotalAutoSuggestedCount":3,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"book","AutoSuggestedCount":3,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":29,"Qna":null,"DisplayText":"Surface Book features"}] 28 Surface
Surface Book features **Surface Book features**\n\n| Power button | Press the power button to turn your Surface Book on. You can also use the power button to put your Surface Book to sleep and wake it when youre ready to start working again. |\n| --- | --- |\n| Clipboard | Detach the thin, light Clipboard from the keyboard for mobile computing and easy presentation in tablet mode. Use the 13.5” full HD display, with its 3:2 aspect ratio and 3000 x 2000 resolution display, to watch HD movies, browse the web, and use your favorite apps. |\n\n| | The 10-point multi-touch touchscreen lets you use your fingers to select, zoom, and move things around. |\n| --- | --- |\n| Keyboard | Mechanical friction attaches the Clipboard to the keyboard. The keyboard features a standard layout and backlit keys, with special shortcut and function keys to help you do common tasks more quickly. |\n| Surface Pen | Write naturally with the included Surface Pen. Quickly jot down notes or capture screenshots in OneNote, even while your Surface is locked. |\n| Wi-Fi and Bluetooth | Surface Book supports standard Wi-Fi protocols (802.11a/b/g/n/ac) and Bluetooth® 4.0. Connect to a wireless network and use Bluetooth devices such as mice, printers, and headsets. |\n| Cameras | Surface Book features an 8-megapixel rear camera with autofocus and a 5-megapixel, fixed-focus front camera. Both cameras are high resolution and record video in 1080p, with a 16:9 aspect ratio (widescreen). Surface Book is also Windows Hello compatible with an infrared (IR) face-detection camera built in. |\n| Microphones | Two noise-canceling microphones ensure accurate audio recording and enhanced call quality. |\n| Stereo speakers | Two front-facing stereo speakers with Dolby® enhanced sound provide an immersive playback experience for all your music, podcasts, and audio books. |\n\n| Ports and connectors | Surface Book has the ports you expect from a full-feature laptop. Two full-size USB 3.0 ports Connect a USB accessory like a mouse, printer, Ethernet adapter, USB drive, or smartphone. SD card slot Use the full-size SD card slot with an SD card (sold separately) for extra storage and transferring files. Mini DisplayPort version 1.2a Share whats on your Surface screen by connecting it to an HDTV, monitor, or projector. (Video adapters are sold separately.) 3.5 mm headset jack Plug in your favorite headset for a little more privacy when listening to music or conference calls. |\n| --- | --- |\n| Software | Windows 10 operating system Windows 10 provides a variety of options for entertainment and productivity whether youre at school, at home, or on the go. |\n\n| | Apps Surface Book comes with great built-in apps, and you can find more apps in the [Windows Store](http://windows.microsoft.com/en-us/windows-10/getstarted-explore-the-store) . You can also use your favorite desktop apps on Surface Book. |\n| --- | --- |\n| Processor | The 6th Gen Intel® Core™ i5 or i7 processor provides the speed and power you need for smooth, fast performance. |\n| Memory and storage | Choose from various configurations up to 16 GB of RAM with 512 GB storage. |\n| Sensors | Six sensors—magnetometer, ambient light sensor, accelerometer, gyroscope, Hall effect, and Wi-Fi SAR—let apps do things like track motion and determine location. | https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface book features [] False [{"DisplayOrder":0,"QnaId":30,"Qna":null,"DisplayText":"Power button"},{"DisplayOrder":1,"QnaId":31,"Qna":null,"DisplayText":"Clipboard"},{"DisplayOrder":2,"QnaId":32,"Qna":null,"DisplayText":"Keyboard"},{"DisplayOrder":3,"QnaId":33,"Qna":null,"DisplayText":"Surface Pen"},{"DisplayOrder":4,"QnaId":34,"Qna":null,"DisplayText":"Wi-Fi and Bluetooth"},{"DisplayOrder":5,"QnaId":35,"Qna":null,"DisplayText":"Cameras"},{"DisplayOrder":6,"QnaId":36,"Qna":null,"DisplayText":"Microphones"},{"DisplayOrder":7,"QnaId":37,"Qna":null,"DisplayText":"Stereo speakers"},{"DisplayOrder":8,"QnaId":38,"Qna":null,"DisplayText":"Ports and connectors"},{"DisplayOrder":9,"QnaId":39,"Qna":null,"DisplayText":"Software"},{"DisplayOrder":10,"QnaId":40,"Qna":null,"DisplayText":"Processor"},{"DisplayOrder":11,"QnaId":41,"Qna":null,"DisplayText":"Memory and storage"},{"DisplayOrder":12,"QnaId":42,"Qna":null,"DisplayText":"Sensors"}] 29 Surface
Power button ** Power button**\nis Press the power button to turn your Surface Book on. You can also use the power button to put your Surface Book to sleep and wake it when youre ready to start working again. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 30 Surface
Clipboard ** Clipboard**\nis Detach the thin, light Clipboard from the keyboard for mobile computing and easy presentation in tablet mode. Use the 13.5” full HD display, with its 3:2 aspect ratio and 3000 x 2000 resolution display, to watch HD movies, browse the web, and use your favorite apps. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 31 Surface
Keyboard ** Keyboard**\nis Mechanical friction attaches the Clipboard to the keyboard. The keyboard features a standard layout and backlit keys, with special shortcut and function keys to help you do common tasks more quickly. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 32 Surface
Surface Pen ** Surface Pen**\nis Write naturally with the included Surface Pen. Quickly jot down notes or capture screenshots in OneNote, even while your Surface is locked. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 33 Surface
Wi-Fi and Bluetooth ** Wi-Fi and Bluetooth**\nis Surface Book supports standard Wi-Fi protocols (802.11a/b/g/n/ac) and Bluetooth® 4.0. Connect to a wireless network and use Bluetooth devices such as mice, printers, and headsets. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 34 Surface
Cameras ** Cameras**\nis Surface Book features an 8-megapixel rear camera with autofocus and a 5-megapixel, fixed-focus front camera. Both cameras are high resolution and record video in 1080p, with a 16:9 aspect ratio (widescreen). Surface Book is also Windows Hello compatible with an infrared (IR) face-detection camera built in. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 35 Surface
Microphones ** Microphones**\nis Two noise-canceling microphones ensure accurate audio recording and enhanced call quality. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 36 Surface
Stereo speakers ** Stereo speakers**\nis Two front-facing stereo speakers with Dolby® enhanced sound provide an immersive playback experience for all your music, podcasts, and audio books. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 37 Surface
Ports and connectors ** Ports and connectors**\nis Surface Book has the ports you expect from a full-feature laptop. Two full-size USB 3.0 ports Connect a USB accessory like a mouse, printer, Ethernet adapter, USB drive, or smartphone. SD card slot Use the full-size SD card slot with an SD card (sold separately) for extra storage and transferring files. Mini DisplayPort version 1.2a Share whats on your Surface screen by connecting it to an HDTV, monitor, or projector. (Video adapters are sold separately.) 3.5 mm headset jack Plug in your favorite headset for a little more privacy when listening to music or conference calls. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [{"ClusterHead":"sdk","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"sdk","AutoSuggestedCount":1,"UserSuggestedCount":0}]}] False [] 38 Surface
Software ** Software**\nis Windows 10 operating system Windows 10 provides a variety of options for entertainment and productivity whether youre at school, at home, or on the go. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 39 Surface
Processor ** Processor**\nis The 6th Gen Intel® Core™ i5 or i7 processor provides the speed and power you need for smooth, fast performance. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 40 Surface
Memory and storage ** Memory and storage**\nis Choose from various configurations up to 16 GB of RAM with 512 GB storage. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 41 Surface
Sensors ** Sensors**\nis Six sensors—magnetometer, ambient light sensor, accelerometer, gyroscope, Hall effect, and Wi-Fi SAR—let apps do things like track motion and determine location. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 42 Surface
Set up your Surface Book **Set up your Surface Book**\n\nBefore you start, make sure a wireless network is available and you have the network password.\n\nIf you have a [Microsoft account](http://windows.microsoft.com/en-us/windows-10/getstarted-microsoft-account) , use it to set up your Surface Book. A Microsoft account is an email address and password you use to sign in to other Microsoft services like Xbox, Outlook.com, OneDrive, Skype, or Windows Phone. If you dont already have a Microsoft account, you can create one during setup. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set up your surface book [{"ClusterHead":"setup surface","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"setup surface","AutoSuggestedCount":1,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":44,"Qna":null,"DisplayText":"Charge your Surface Book"},{"DisplayOrder":1,"QnaId":45,"Qna":null,"DisplayText":"Set up Windows"},{"DisplayOrder":2,"QnaId":46,"Qna":null,"DisplayText":"Choose a mode to work in"}] 43 Surface
Charge your Surface Book **Charge your Surface Book**\n\n1. Connect the two parts of the power cord.\n2. Connect the power cord securely to the charging port on your Surface Book. A light appears at the end of the connector when your Surface is getting power.✪\n3. Plug the power supply into an electrical outlet. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:charge your surface book [{"ClusterHead":"book","TotalAutoSuggestedCount":3,"TotalUserSuggestedCount":1,"AlternateQuestionList":[{"Question":"book","AutoSuggestedCount":3,"UserSuggestedCount":1}]}] False [] 44 Surface
Set up Windows **Set up Windows**\n\nPress the power button to turn on your Surface Book.\n\nWindows starts and guides you through the setup process. During setup youll connect to a wireless network and choose a language, color scheme, and name for your Surface. ✪\n\nFor more info, see [Set up your Surface](http://www.microsoft.com/surface/support/getting-started/set-up-your-surface) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set up windows [] False [] 45 Surface
Choose a mode to work in **Choose a mode to work in**\n\nYou can configure your Surface Book to suit whatever youre doing at the moment. With the Clipboard attached to the full-size backlit keyboard, Surface Book is a high-performance laptop. ✪\n\nThe keyboard attaches to the Clipboard with a friction mechanism. You can detach the keyboard and reattach it in the position you want.\n\nTo detach the keyboard:\n\n1. Press and hold the Detach key , or select Detach in the taskbar, until the LED on the key glows red, then green.✪ ✪\n2. When the light turns green, pull the Clipboard away from the keyboard.\n\n| With the Clipboard detached from the keyboard, Surface Book becomes a thin, light tablet that works perfectly with OneNote and Surface Pen. It even has its own battery, giving you several hours of use with the keyboard detached. | |\n| --- | --- |\n| To reattach the keyboard, align the keyboard and Clipboard and bring them together until they click into place. | |\n| Turn the Clipboard around and reattach it to use Surface Book like a creative canvas. By reconnecting it to the keyboard, you have access to the USB ports and the DisplayPort and you have more battery time. | |\n| Show your screen to other people in the room by attaching the Clipboard to the keyboard so youre looking at the back of the Clipboard as you type. | |\n\n✪\n\n✪\n\n✪\n\nNote: Surface Book uses battery power to release the Clipboard. If the battery is too low, the green light wont come on and you wont be able to detach the keyboard from the Clipboard. Charge your Surface Book until you have enough power to disable the friction mechanism. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:choose a mode to work in [] False [] 46 Surface
The basics **The basics**\n\nHere are a few basic things to know about your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:the basics [] False [{"DisplayOrder":0,"QnaId":48,"Qna":null,"DisplayText":"Power and charging"},{"DisplayOrder":1,"QnaId":52,"Qna":null,"DisplayText":"Power states: On, off, sleep, and restart"},{"DisplayOrder":2,"QnaId":57,"Qna":null,"DisplayText":"Touch, keyboard, pen, and mouse"}] 47 Surface
Power and charging **Power and charging**\n\nSurface Book has two batteries—one in the keyboard and one in the Clipboard. It takes two to four hours to charge Surface Book fully from an empty state. It can take longer if youre using your Surface Book for power-intensive activities like gaming or video streaming while youre charging it.\n\nYou can use the USB port on your power supply to charge other devices, like a phone, while your Surface Book charges. Note that the USB port on the power supply is only for charging, not for data transfer. If you want to use a USB device, plug it into the USB port on your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:power and charging [{"ClusterHead":"power and charging","TotalAutoSuggestedCount":27,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"power and charging","AutoSuggestedCount":27,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":49,"Qna":null,"DisplayText":"Check the battery level"},{"DisplayOrder":1,"QnaId":51,"Qna":null,"DisplayText":"Making your battery last"}] 48 Surface
Check the battery level **Check the battery level**\n\nYou can check the battery level from the lock screen or on the desktop. Lock screen\n\nWhen you wake your Surface Book, the battery status appears in the lower-right corner of the lock screen. ✪ https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:check the battery level [{"ClusterHead":"Check the battery level","TotalAutoSuggestedCount":7,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"Check the battery level","AutoSuggestedCount":7,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":50,"Qna":null,"DisplayText":"Desktop taskbar"}] 49 Surface
Desktop taskbar **Desktop taskbar**\n\nOn the desktop, select the battery status icon on the right side of the taskbar. The battery status pane shows the charging level for both batteries. ✪\n\nWhen your Surface Book is fully charged, it should last up to 10 hours for web browsing. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 50 Surface
Making your battery last **Making your battery last**\n\nTo learn ways to conserve power and make your battery last longer, see [Surface battery and power](https://www.microsoft.com/surface/support/hardware-and-drivers/battery-and-power-pro) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:making your battery last [] False [] 51 Surface
Power states: On, off, sleep, and restart **Power states: On, off, sleep, and restart**\n\nHere's how to turn your Surface Book on, shut it down, restart and wake it, and put it into a power-saving state. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:power states: on, off, sleep, and restart [] False [{"DisplayOrder":0,"QnaId":53,"Qna":null,"DisplayText":"On or wake"}] 52 Surface
On or wake **On or wake**\n\nPress and release the power button on Surface Book. Or, press the top button on your Surface Pen to wake up your Surface Book.\n\nIf nothing happens, connect the power supply and press the power button again.\n\nIf your Surface still doesnt turn on, see [Surface wont turn on, Windows won't](http://www.microsoft.com/surface/support/warranty-service-and-recovery/surface-wont-turn-on) [start, or the battery won't charge](http://www.microsoft.com/surface/support/warranty-service-and-recovery/surface-wont-turn-on) on Surface.com.\n\n| Off or shut down | Go to Start , and select Power > Shut down. |\n| --- | --- |\n| InstantGo | Do any of the following:  Press and release the power button on the top edge of your Surface.  Dont use your Surface for a few minutes.  Go to Start , and select Power > Sleep.  Close the keyboard. |\n| Restart | Go to Start , and select Power > Restart. |\n\n* ✪\n\nFor more info, see [Surface power states](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-power-sleep-and-wake) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [{"DisplayOrder":0,"QnaId":54,"Qna":null,"DisplayText":"Off or shut down"},{"DisplayOrder":1,"QnaId":55,"Qna":null,"DisplayText":"InstantGo"},{"DisplayOrder":2,"QnaId":56,"Qna":null,"DisplayText":"Restart"}] 53 Surface
Off or shut down ** Off or shut down**\nis Go to Start , and select Power > Shut down. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 54 Surface
InstantGo ** InstantGo**\nis Do any of the following:  Press and release the power button on the top edge of your Surface.  Dont use your Surface for a few minutes.  Go to Start , and select Power > Sleep.  Close the keyboard. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 55 Surface
Restart ** Restart**\nis Go to Start , and select Power > Restart. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 56 Surface
Touch, keyboard, pen, and mouse **Touch, keyboard, pen, and mouse**\n\nWith Surface Book, you can switch easily between using the touchscreen, the keyboard, a mouse, or a pen. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:touch, keyboard, pen, and mouse [] False [{"DisplayOrder":0,"QnaId":58,"Qna":null,"DisplayText":"Touchscreen"},{"DisplayOrder":1,"QnaId":59,"Qna":null,"DisplayText":"Keyboard"},{"DisplayOrder":2,"QnaId":69,"Qna":null,"DisplayText":"Touchpad or mouse"},{"DisplayOrder":3,"QnaId":70,"Qna":null,"DisplayText":"Surface Pen (Surface Pro 4 version)"}] 57 Surface
Touchscreen **Touchscreen**\n\nYou can use your fingers on the touchscreen just as you would on a smartphone. For example, drag your finger across the screen to scroll. For info about ways you can interact with the touchscreen, see Using touch with Surface Book in [Get started with Surface Book](http://www.microsoft.com/surface/support/getting-started/get-started-with-surface-book) on Surface.com.\n\nTheres also a built-in on-screen keyboard you can use. For more info, see [How to use the Surface](http://www.microsoft.com/surface/support/touch-mouse-and-search/how-to-use-the-on-screen-keyboard) [touch keyboard](http://www.microsoft.com/surface/support/touch-mouse-and-search/how-to-use-the-on-screen-keyboard) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:touchscreen [] False [] 58 Surface
Keyboard **Keyboard**\n\nThe Surface Book keyboard has a standard layout and includes backlit keys. Special shortcut keys and function keys help you do common tasks quickly. Keys on the top row double as function keys—hold down the Fn key while you press a top-row key. The Fn key also works in combination with other keys to do certain things.\n\nHere are some of the basic shortcut keys and the special Fn key combinations on the Surface Book keyboard.\n\nKey icon What it does\n\n Decreases keyboard backlighting\n\n| | Increases keyboard backlighting |\n| --- | --- |\n| | Plays or pauses audio or video |\n| | Turns audio muting on or off |\n| | Turns the volume down |\n| | Turns the volume up |\n| | Lets you separate the keyboard from the Clipboard |\n| | Opens Start |\n| | Opens a contextual menu (right-click menu) |\n| PrtScn | Takes a screen shot |\n| Home | Depends on the app youre using. For example, in Word, it goes to the beginning of a line. |\n| End | Depends on the app youre using. For example, in Word, it goes to the end of a line. |\n| Ins | Toggles between insert and overtype mode |\n| PgUp | Goes up a page |\n| PgDn | Goes down a page |\n| Fn+Del | Increases screen brightness |\n| Fn+Backspace | Decreases screen brightness |\n| Fn+Spacebar | Places a screenshot of the entire screen or screens onto your Windows clipboard |\n\nSee Using the Surface Book touchpad and keyboard in [Get started with Surface Book](http://www.microsoft.com/surface/support/getting-started/get-started-with-surface-book) on Surface.com for more info. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:keyboard [] False [{"DisplayOrder":0,"QnaId":60,"Qna":null,"DisplayText":"PrtScn"},{"DisplayOrder":1,"QnaId":61,"Qna":null,"DisplayText":"Home"},{"DisplayOrder":2,"QnaId":62,"Qna":null,"DisplayText":"End"},{"DisplayOrder":3,"QnaId":63,"Qna":null,"DisplayText":"Ins"},{"DisplayOrder":4,"QnaId":64,"Qna":null,"DisplayText":"PgUp"},{"DisplayOrder":5,"QnaId":65,"Qna":null,"DisplayText":"PgDn"},{"DisplayOrder":6,"QnaId":66,"Qna":null,"DisplayText":"Fn+Del"},{"DisplayOrder":7,"QnaId":67,"Qna":null,"DisplayText":"Fn+Backspace"},{"DisplayOrder":8,"QnaId":68,"Qna":null,"DisplayText":"Fn+Spacebar"}] 59 Surface
PrtScn ** PrtScn**\nis Takes a screen shot https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 60 Surface
Home ** Home**\nis Depends on the app youre using. For example, in Word, it goes to the beginning of a line. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 61 Surface
End ** End**\nis Depends on the app youre using. For example, in Word, it goes to the end of a line. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 62 Surface
Ins ** Ins**\nis Toggles between insert and overtype mode https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 63 Surface
PgUp ** PgUp**\nis Goes up a page https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 64 Surface
PgDn ** PgDn**\nis Goes down a page https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 65 Surface
Fn+Del ** Fn+Del**\nis Increases screen brightness https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 66 Surface
Fn+Backspace ** Fn+Backspace**\nis Decreases screen brightness https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 67 Surface
Fn+Spacebar ** Fn+Spacebar**\nis Places a screenshot of the entire screen or screens onto your Windows clipboard https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 68 Surface
Touchpad or mouse **Touchpad or mouse**\n\nYou can use the keyboard touchpad on Surface Book or connect a USB or Bluetooth mouse. For more info about ways you can interact with the keyboard and touchpad, see Using the Surface Book touchpad and keyboard in [Get started with Surface Book](http://www.microsoft.com/surface/support/getting-started/get-started-with-surface-book) on Surface.com.\n\nAlso see these pages on Surface.com:\n\n* [Touchpad use and settings](http://www.microsoft.com/surface/support/hardware-and-drivers/touchpad-a-builtin-mouse) \n* [Connect a USB mouse, printer, and more](http://www.microsoft.com/surface/support/hardware-and-drivers/connect-a-usb-phone-camera-mouse-and-more) \n* [Add a Bluetooth device](http://www.microsoft.com/surface/support/hardware-and-drivers/add-a-bluetooth-device) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:touchpad or mouse [] False [] 69 Surface
Surface Pen (Surface Pro 4 version) **Surface Pen (Surface Pro 4 version)**\n\nUse the Surface Pen included with your Surface Book to open OneNote and Cortana, take screenshots, mark up presentations, sign documents, and enjoy art apps.\n\nClick the top of the Surface Pen and start writing a Quick Note—like a yellow sticky that youll never lose. You dont even need to unlock your Surface. Click again to write another note or press the power button on your Surface to put the screen back to sleep.\n\nWhile youre signed in on your Surface, click the top of the pen to open your most recent notes. While youre using OneNote, click the top of the pen to open a new Quick Note. ✪\n\nYour notes are saved automatically in OneNote and synced to your [OneDrive](http://www.microsoft.com/surface/support/storage-files-and-folders/onedrive-on-surface) (online cloud storage) so you can keep your notes, clippings, sketches, photos, and files organized and accessible from anywhere.\n\nSee Surface Pen later in this guide for more info about using the Surface Pen with your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface pen (surface pro 4 version) [] False [] 70 Surface
Accounts and signing in **Accounts and signing in**\n\nThe account you use to sign in on your Surface Book stores your settings, preferences, and more. For the best experience, use a Microsoft account (an email address and password) to sign in. A Microsoft account gives you seamless access to your Windows apps and social media and backs up your files and photos in the cloud.\n\nYou can create additional accounts for family and friends on your Surface Book. That way each person using it can set it up just the way he or she likes. For more info, see [All about accounts](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:accounts and signing in [] False [{"DisplayOrder":0,"QnaId":72,"Qna":null,"DisplayText":"First account on your Surface"},{"DisplayOrder":1,"QnaId":73,"Qna":null,"DisplayText":"Sign in to your Surface"},{"DisplayOrder":2,"QnaId":74,"Qna":null,"DisplayText":"Use Windows Hello"},{"DisplayOrder":3,"QnaId":75,"Qna":null,"DisplayText":"Change your password, picture, and other account settings"},{"DisplayOrder":4,"QnaId":76,"Qna":null,"DisplayText":"Add an account to your Surface"},{"DisplayOrder":5,"QnaId":77,"Qna":null,"DisplayText":"Create a child account on your Surface"}] 71 Surface
First account on your Surface **First account on your Surface**\n\nWhen you set up your Surface, an account is created for you based on information you supply. The first account is set up as an administrator account. From this account, you can create, modify, or remove other accounts on your Surface. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:first account on your surface [] False [] 72 Surface
Sign in to your Surface **Sign in to your Surface**\n\n1. Turn on or wake Surface by pressing the power button.\n2. Swipe up on the screen or tap a key on the keyboard.\n3. If you see your account name and account picture, enter your password and select the right arrow or press Enter on your keyboard.\n4. If you see a different account name, select the left arrow. Then select your own account, enter your password, and select the right arrow or press Enter on your keyboard. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:sign in to your surface [] False [] 73 Surface
Use Windows Hello **Use Windows Hello**\n\nSince Surface Book includes an infrared (IR) camera, you can set it up to recognize your face and sign you in automatically.\n\nTo set up Windows Hello, go to Start , and select Settings > Accounts > Sign-in options. Under Windows Hello, you'll see available sign-in options.\n\nFor more info, see [What is Windows Hello?](http://windows.microsoft.com/en-us/windows-10/getstarted-what-is-hello) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:use windows hello [] False [] 74 Surface
Change your password, picture, and other account settings **Change your password, picture, and other account settings**\n\nYou can change your password, add or change the picture for your account, and connect to or disconnect from a Microsoft account. Heres how:\n\n* 1. Go to Start , select your profile picture, and select Change account settings. \n 2. Change your account settings by selecting one of the options on the left:\n * Your account: You can you can add or create an account picture, connect or disconnect from a Microsoft account, and access other account settings online.\n * Sign-in options: You can change your password, create a picture password or PIN, and choose whether a password is required when waking your Surface from sleep. To make these changes, youll need your account password. If you dont have a password, you can create one here.\n * Work or school: If you have an account on a network that you sign in to for work or school, you can connect your Surface to that network. Ask your network administrator or IT department for the info youll need to join that network.\n * Sync your settings: Your Microsoft account makes it easy to have the same theme, apps, and browser settings on all your devices. If youd rather that some of these settings be unique to your Surface, you can turn off sync here. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change your password, picture, and other account settings [] False [] 75 Surface
Add an account to your Surface **Add an account to your Surface**\n\n1. Sign in with an administrator account.✪\n2. Go to Start , select your profile picture, and select Change account settings. \n3. Select Family & other users > Add someone else to this PC. \n4. Follow the on-screen instructions to set up the account.\n\nYou can change account levels after you set up an account. To learn how, see [Change another](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts?os=windows-10#canichangeW10) [users account type](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts?os=windows-10#canichangeW10) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:add an account to your surface [] False [] 76 Surface
Create a child account on your Surface **Create a child account on your Surface**\n\n1. Sign in with an administrator account.✪\n2. Go to Start , select your profile picture, and select Change account settings. \n3. Select Family & other users. \n4. Under Your family, select Add a family member > Add a child and choose one of the following:\n * To use the child's existing Microsoft account email address, enter the child's email address and select Next. \n * To create a Microsoft account for the child, select The person I want to invite doesnt have an email address. Follow the on-screen instructions to either associate the new Microsoft account with an email account that the child currently uses or set up a new account.\n\nYou can limit your child's computer time or limit the apps, websites, and games your child can access. See [Set up your family](http://windows.microsoft.com/en-us/windows-10/getstarted-set-up-your-family) on Windows.com to learn how to turn on Family Safety features that are built into Windows.\n\nFor more info on adding, removing, and managing your accounts or your kids accounts, see [All](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts) [about accounts](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:create a child account on your surface [] False [] 77 Surface
Get to know Windows 10 **Get to know Windows 10**\n\nNew to Windows 10? Get acquainted with new features like task view and custom desktops, the improved Start menu, and more. See [Get Started with Windows 10](http://windows.microsoft.com/en-us/windows-10/get-to-know-windows-10) on Windows.com for more info. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:get to know windows 10 [] False [{"DisplayOrder":0,"QnaId":79,"Qna":null,"DisplayText":"Go to Start"},{"DisplayOrder":1,"QnaId":80,"Qna":null,"DisplayText":"Action center"},{"DisplayOrder":2,"QnaId":81,"Qna":null,"DisplayText":"Search"},{"DisplayOrder":3,"QnaId":82,"Qna":null,"DisplayText":"Task view and virtual desktops"},{"DisplayOrder":4,"QnaId":83,"Qna":null,"DisplayText":"Settings in Windows 10"}] 78 Surface
Go to Start **Go to Start**\n\nSelect Start in the taskbar or press the Start key on your keyboard to open the Start menu.\n\n* ✪\n * In the lower-left corner, you'll find quick links to File Explorer, Settings, Power (shut down, sleep, and restart), and All apps. \n * The apps you've used most often appear at the upper left.\n * Your name and profile picture appear at the top left. Select them to change your account settings, lock the screen, or sign out.\n\nTiles on Start act as quick links to apps. You can rearrange, resize, add, and remove tiles whenever you want. For more info, see [Love it? Pin it](http://windows.microsoft.com/en-us/windows-10/getstarted-love-it-pin-it) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:go to start [{"ClusterHead":"go sdk","TotalAutoSuggestedCount":32,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"go sdk","AutoSuggestedCount":32,"UserSuggestedCount":0}]}] False [] 79 Surface
Action center **Action center**\n\n* Swipe in from the right edge of the screen or select Action center in the taskbar to open the Action center.\n\nHere, you can adjust common settings like Wi-Fi connections or screen brightness, open OneNote, create a wireless connection to another screen, and more. If there are notifications waiting for you, they appear at the top of the Action center.\n\nFor more info, see [Take action instantly](http://windows.microsoft.com/en-us/windows-10/getstarted-take-action) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:action center [] False [] 80 Surface
Search **Search**\n\nSearch is always ready for you. Select the search box in the taskbar. Learn more at [Search for](http://windows.microsoft.com/en-us/windows-10/getstarted-search-for-anything-cortana) [anything, anywhere](http://windows.microsoft.com/en-us/windows-10/getstarted-search-for-anything-cortana) on Windows.com.\n\n✪\n\nOr, go to Start , and select Cortana . For more info, including tips on personalizing Cortana, see [What is Cortana?](http://windows.microsoft.com/en-us/windows-10/getstarted-what-is-cortana) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:search [] False [] 81 Surface
Task view and virtual desktops **Task view and virtual desktops**\n\nSwipe in from the left edge of the screen or select Task view in the taskbar to see all your open apps. Select an app to focus on or close an app by clicking the X in the upper-right corner of the app.\n\nWhile you're in Task view, you can create a new virtual desktop by selecting New desktop in the lower-right corner. Each virtual desktop can have its own set of open apps. To switch between desktops, open Task view and select a desktop.\n\nFor more info, see [Group apps into desktops](http://windows.microsoft.com/en-us/windows-10/getstarted-group-apps) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:task view and virtual desktops [] False [] 82 Surface
Settings in Windows 10 **Settings in Windows 10**\n\nGo to Start , and select Settings for access to all your settings.\n\n✪\n\nFor info on personalizing your Windows 10 experience, see Personalization and settings in this guide. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:settings in windows 10 [] False [] 83 Surface
Keep your Surface Book up to date **Keep your Surface Book up to date**\n\nKeep your Surface Book performing its best by getting the latest performance and security updates.\n\nMicrosoft releases updates to improve Windows software security and reliability, and system and hardware updates (also known as firmware updates) to help improve the stability and performance of your Surface hardware.\n\nWhen updates become available, theyre installed automatically on your Surface over Wi-Fi. Windows notifies you if you need to restart your Surface to finish installing an update.\n\nFor info on keeping your Surface up to date, see [Install Surface and Windows updates](http://www.microsoft.com/surface/support/performance-and-maintenance/install-software-updates-for-surface) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:keep your surface book up to date [] False [] 84 Surface
Browse the Internet **Browse the Internet**\n\n Microsoft Edge works with Cortana to help you get the most from the Internet, and you can use your Surface Pen or touch to create Web Notes that you can save or share.\n\n✪ To open Microsoft Edge, select it from Start or the taskbar. Or, go to Start , and select All apps > Microsoft Edge. \n\nThe first time you start Microsoft Edge, youll see the default start page with the address bar in the center.\n\nEnter a web address or search term in the address bar and press Enter. \n\nUse the arrows in the upper-left corner to return to sites youve visited during a browsing session or select the address bar to see sites you visit often. ✪\n\nSelect Share to share webpages with friends. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:browse the internet [] False [{"DisplayOrder":0,"QnaId":86,"Qna":null,"DisplayText":"Browsing tips"}] 85 Surface
Browsing tips **Browsing tips**\n\n✪\n\n* Select Add to favorites and reading list to add a page to your reading list or a favorites folder.✪ ✪ ✪ ✪\n* Select Hub to view items in your Favorites , Reading list , History , or Downloads .✪✪\n* Select Reading view to clear away everything but the article youre reading. Select it again to view the entire page.\n\nFor more info, see [Microsoft Edge](http://windows.microsoft.com/en-us/windows-10/microsoft-edge) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:browsing tips [] False [] 86 Surface
Storage options **Storage options**\n\nSurface Book is available with up to 16 GB of RAM and 512 GB storage. You can extend your storage options by using OneDrive, USB drives, and SD cards.\n\nNote: Pre-installed software and apps use a significant amount of space. See [Surface storage](https://www.microsoft.com/surface/support/storage) on Surface.com for details about formatted storage capacity. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:storage options [] False [{"DisplayOrder":0,"QnaId":88,"Qna":null,"DisplayText":"OneDrive: Cloud storage"},{"DisplayOrder":1,"QnaId":89,"Qna":null,"DisplayText":"Removable storage options"}] 87 Surface
OneDrive: Cloud storage **OneDrive: Cloud storage**\n\nOneDrive is online storage that comes with your Microsoft account. Save your documents, photos, and other files to the OneDrive folder on your Surface and they'll be synced to OneDrive in the cloud whenever you have an Internet connection. The copy in the cloud is available to you from any web-connected device. You can share folders in your OneDrive with others or send someone a link to just one page. For more info, see [Using OneDrive on Surface](http://www.microsoft.com/surface/support/storage-files-and-folders/Onedrive-on-surface) on Surface.com.\n\nTo save space on your Surface, you can choose not to sync some of your OneDrive folders. You can still access your files on the Internet by signing in to [OneDrive.com](http://onedrive.com/) , but they won't be available in File Explorer. You can add them back at any time.\n\nHere's how to choose which folders to sync:\n\n1. Select File Explorer in the taskbar and open the OneDrive folder.\n2. Right-click any folder in OneDrive and select Choose OneDrive folders to sync to produce a list of all the folders in your OneDrive account.\n3. Select the folders you want to sync to your Surface and select OK. \n\nTo save a file from a desktop app directly to OneDrive, choose OneDrive in the left panel of the Save As screen. Then navigate to the folder where you want to save the file. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:onedrive: cloud storage [] False [] 88 Surface
Removable storage options **Removable storage options**\n\nYou can use USB storage or a full-size SD card with your Surface Book to store your documents, music, videos, and pictures.\n\nFor the locations of the USB port and microSD card slot on your Surface, see Surface Book features in this guide.\n\nTo open files from an external device:\n\n1. Insert a USB flash drive or other USB storage device into the USB port or insert an SD card into the card slot on your Surface.\n2. Select the notification that appears in the lower-right corner of the screen.\n3. Select Open device to view files or Sync digital media files to this device. \n\nFor more info about internal and removable storage options, see [Surface storage options](http://www.microsoft.com/surface/support/storage-files-and-folders/surface-storage-options) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:removable storage options [{"ClusterHead":"sdk","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"sdk","AutoSuggestedCount":1,"UserSuggestedCount":0}]},{"ClusterHead":"adaptive cards","TotalAutoSuggestedCount":10,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"adaptive cards","AutoSuggestedCount":10,"UserSuggestedCount":0}]},{"ClusterHead":"Removable storage options","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"Removable storage options","AutoSuggestedCount":1,"UserSuggestedCount":0}]}] False [] 89 Surface
Surface Pen **Surface Pen**\n\nYou can use the Surface Pen included with your Surface Book to open OneNote and Cortana, take screenshots, mark up presentations, sign documents, and use art apps.\n\n| Magnetic surface | Use the magnet on the flat side of the cap to attach your Surface Pen to the side of your Surface Book or to any convenient magnetic surface. |\n| --- | --- |\n| LED | When the pen is in pairing mode, the LED glows white. When the battery is low, the LED glows red. |\n| Top button | Bluetooth® technology links your Surface Pen to your Surface Book:  Click and hold the top button to wake up Cortana or Search and then enter your question on the screen. |\n\n| | * Click the top button to open OneNote.  Double-click to take a screenshot and paste it into OneNote. To erase, flip the pen over and use the top as an eraser. |\n| --- | --- |\n| Right-click button | The tip end of the raised area on the flat side of the pen works as a right-click button in many apps. Hold the button down as you tap the screen. In some apps, the right-click button may behave differently |\n| Tip | Choose your favorite tip from the Pen Tip Kit (sold separately). The tips work with the Palm Block technology and multi-point sensitivity built into your Surface to let you write and draw naturally. | https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface pen [{"ClusterHead":"surface","TotalAutoSuggestedCount":2,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"surface","AutoSuggestedCount":2,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":91,"Qna":null,"DisplayText":"Pair your pen with Surface Book"},{"DisplayOrder":1,"QnaId":92,"Qna":null,"DisplayText":"Use features built into the top button"},{"DisplayOrder":2,"QnaId":96,"Qna":null,"DisplayText":"Customize your Surface Pen"},{"DisplayOrder":3,"QnaId":100,"Qna":null,"DisplayText":"Magnetic surface"},{"DisplayOrder":4,"QnaId":101,"Qna":null,"DisplayText":"LED"},{"DisplayOrder":5,"QnaId":102,"Qna":null,"DisplayText":"Top button"},{"DisplayOrder":6,"QnaId":103,"Qna":null,"DisplayText":"Right-click button"},{"DisplayOrder":7,"QnaId":104,"Qna":null,"DisplayText":"Tip"}] 90 Surface
Pair your pen with Surface Book **Pair your pen with Surface Book**\n\nBefore you use your Surface Pen, youll need to pair it with your Surface Book. You may have paired the Surface Pen while setting up your Surface Book. If you didnt pair your pen during setup, you can do it manually. See [Using Surface Pen](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-pen-pro-4) on Surface.com to learn how.\n\nIf you have problems using or pairing your pen, see [Troubleshoot Surface Pen](http://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-surface-pen-pro-4) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:pair your pen with surface book [] False [] 91 Surface
Use features built into the top button **Use features built into the top button**\n\nThe top button connects you to OneNote and Windows 10 features on your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:use features built into the top button [] False [{"DisplayOrder":0,"QnaId":93,"Qna":null,"DisplayText":"Click and hold to open Cortana or Search"},{"DisplayOrder":1,"QnaId":94,"Qna":null,"DisplayText":"Click to open a Quick Note in OneNote"},{"DisplayOrder":2,"QnaId":95,"Qna":null,"DisplayText":"Save screenshots in OneNote"}] 92 Surface
Click and hold to open Cortana or Search **Click and hold to open Cortana or Search**\n\nWhen you click and hold the top button, Cortana opens (or Search opens if Cortana is not set up). Enter your question on the screen.\n\nNote: To use this feature, your Surface needs to be nearby and turned on. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:click and hold to open cortana or search [] False [] 93 Surface
Click to open a Quick Note in OneNote **Click to open a Quick Note in OneNote**\n\nOneNote is a free app that you can use on any of your devices, even Mac, iOS, and Android devices. Your data is stored in the cloud and synced across all your devices. OneNote is a great way to find, capture, organize, and share information. Click the top button on your pen while your Surface is asleep and you can jot a note or sketch immediately, without unlocking the screen. When youre using your Surface, click the top button to open OneNote.\n\nNote: While your Surface is locked, you can use only the top button. The right-click button wont work until after you unlock your Surface by signing in.\n\nFor more info, see [Using OneNote on Surface](https://www.microsoft.com/surface/support/office-apps/take-notes-with-onenote) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:click to open a quick note in onenote [] False [] 94 Surface
Save screenshots in OneNote **Save screenshots in OneNote**\n\nYou can use your Surface Pen to take a screenshot and copy it to OneNote. Here's how:\n\n1. Display what you want to copy. It can be a webpage, a photo, or anything else you see on your screen.\n2. Double-click the top button on your Surface Pen.\n3. Select what you want to capture in the screenshot by dragging the tip of the pen from one corner of the portion you want to capture to the opposite corner. When you lift the pen tip, your selection appears in a new page in OneNote.\n\nNow you can mark up the screenshot with the pen, move it to any of your OneNote notebooks, or share it with others. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:save screenshots in onenote [] False [] 95 Surface
Customize your Surface Pen https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:customize your surface pen [] False [{"DisplayOrder":0,"QnaId":97,"Qna":null,"DisplayText":"Set left or right handedness"},{"DisplayOrder":1,"QnaId":98,"Qna":null,"DisplayText":"Adjust pressure sensitivity"},{"DisplayOrder":2,"QnaId":99,"Qna":null,"DisplayText":"Change pen tips"}] 96 Surface
Set left or right handedness **Set left or right handedness**\n\nYou can change where menus appear on your Surface screen by indicating which hand you write with. Heres how:\n\n1. Select the search box in the taskbar, enter hand, and in the search results, select Specify which hand you write with. \n2. Under Tablet PC Settings, select Right-handed or Left-handed > Apply > OK. \n\nFor more info, see [Using Surface Pen](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-pen-pro-4) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set left or right handedness [] False [] 97 Surface
Adjust pressure sensitivity **Adjust pressure sensitivity**\n\nUse the Surface app to set the pressure sensitivity to suit your writing style. The app is free from the Windows Store. For more info, see [Install and use the Surface app](http://www.microsoft.com/surface/support/apps-and-windows-store/surface-app) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:adjust pressure sensitivity [] False [] 98 Surface
Change pen tips **Change pen tips**\n\nThe Pen Tip Kit (sold separately) contains a tip removal tool and four tips: 2H (very low friction), H (low friction), HB (medium friction), and B (high friction). Choose the tip thats best for the way you write. You can get the kit at a Microsoft Store or [online](http://www.microsoftstore.com/) .\n\nHeres how to change tips:\n\n1. Grasp the tip thats in the pen and pull the tip straight out.If you have trouble grasping the tip, use the tip removal tool included with the tip kit.\n2. Insert the base of the tip into the pen opening and push the tip in until it locks into place. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change pen tips [] False [] 99 Surface
Magnetic surface ** Magnetic surface**\nis Use the magnet on the flat side of the cap to attach your Surface Pen to the side of your Surface Book or to any convenient magnetic surface. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 100 Surface
LED ** LED**\nis When the pen is in pairing mode, the LED glows white. When the battery is low, the LED glows red. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 101 Surface
Top button ** Top button**\nis Bluetooth® technology links your Surface Pen to your Surface Book:  Click and hold the top button to wake up Cortana or Search and then enter your question on the screen. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 102 Surface
Right-click button ** Right-click button**\nis The tip end of the raised area on the flat side of the pen works as a right-click button in many apps. Hold the button down as you tap the screen. In some apps, the right-click button may behave differently https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 103 Surface
Tip ** Tip**\nis Choose your favorite tip from the Pen Tip Kit (sold separately). The tips work with the Palm Block technology and multi-point sensitivity built into your Surface to let you write and draw naturally. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 104 Surface
Apps and the Windows Store **Apps and the Windows Store**\n\nYour Surface Book comes with pre-installed apps to help you stay connected, entertained, informed, and productive. To see a list of installed apps, go to Start , and select All apps. Select an app to open it.\n\nTo pin an app you use frequently to Start or the taskbar, press and hold the app in the All apps list and then release it. Or, right-click the app in the All apps list. Then select Pin to Start or Pin to taskbar. For more info, see [Start, find, and close apps on Surface](http://microsoft.com/surface/support/apps-and-windows-store/start-and-close-apps) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:apps and the windows store [] False [{"DisplayOrder":0,"QnaId":106,"Qna":null,"DisplayText":"Apps on Surface Book"},{"DisplayOrder":1,"QnaId":111,"Qna":null,"DisplayText":"Get more apps from the Windows Store"}] 105 Surface
Apps on Surface Book **Apps on Surface Book**\n\nHere are some of the apps that come ready to go on your new Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:apps on surface book [] False [{"DisplayOrder":0,"QnaId":107,"Qna":null,"DisplayText":"OneNote"},{"DisplayOrder":1,"QnaId":108,"Qna":null,"DisplayText":"Microsoft Edge"},{"DisplayOrder":2,"QnaId":109,"Qna":null,"DisplayText":"Groove Music"},{"DisplayOrder":3,"QnaId":110,"Qna":null,"DisplayText":"Movies & TV"}] 106 Surface
OneNote **OneNote**\n\nYou can use the OneNote app on your Surface to take notes and store them in the cloud. With OneNote, youll have your notes whenever you need them—on your computer, phone, or the web. If you have the Bluetooth-enabled Surface Pen, you can open OneNote with a click of the pens top button. For more info, see [Using OneNote on Surface](http://www.microsoft.com/surface/support/office-apps/take-notes-with-onenote) on Surface.com.\n\n Mail \n\nMail automatically organizes your inbox. You can add multiple accounts and access them through this single point. You can also flag, archive, or delete messages by swiping to the left or right, or mark messages as read or unread. See [Set up and use email](http://www.microsoft.com/surface/support/email-and-communication/mail) on Surface.com to get started.\n\n Calendar \n\nUse Calendar to manage your busy schedule. Use the What's next view to see whats on the schedule, or look at entire days, weeks, workweeks, or months.\n\n People \n\nThe People app brings all your contacts together in a single place. See each contacts email address, phone number, website, and other information at a glance. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 107 Surface
Microsoft Edge **Microsoft Edge**\n\nMicrosoft Edge gives you fast and fluid access to the Internet. Open pages in Reading View, save them to your reading list, or take notes right on the page using inking. Check out [Get to know](http://windows.microsoft.com/en-us/windows-10/getstarted-get-to-know-microsoft-edge) [Microsoft Edge](http://windows.microsoft.com/en-us/windows-10/getstarted-get-to-know-microsoft-edge) on Windows.com for details. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 108 Surface
Groove Music **Groove Music**\n\nGroove Music lets you access your music collection and more from your Surface.\n\n Camera \n\nThe Camera app lets you take regular photos, photo bursts, or video using either the front or back camera on your Surface. See [Take photos and videos with Surface](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras) on Surface.com for how-to info.\n\n Photos \n\nEdit and organize your photos using the Photos app. Crop, enhance, and add effects to your images and set them to be the lock screen background. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 109 Surface
Movies & TV **Movies & TV**\n\nMovies & TV brings you the latest movies and TV shows as well as featured hits. It offers recommendations based on what youve watched, making it easier to find something new that youll like. Check out [Watch TV shows, movies, and videos](http://www.microsoft.com/surface/support/music-photos-and-video/watch-tv-shows-movies-and-videos) on Surface.com to get started.\n\n News \n\nGet the latest breaking stories as well as more in-depth coverage. You can customize the coverage to add more local information or highlight the topics you choose.\n\n Weather \n\nThe Weather app offers hourly, daily, and 10-day forecasts as well as historical information and annual weather trends. You can also add locations, so you can see not only the information for where you are but for where you might be heading.\n\n Money \n\nMoney not only covers the fast-moving market conditions but lets you track your portfolio, browse financial news articles, and access tools and calculators for common financial tasks.\n\n Sports \n\nSports brings you scoreboards, schedules, videos, slide shows, and news headlines and stories to help you keep up to date with the world of sports and your favorite teams.\n\n Maps \n\nMaps lets you see your current location, zoom in for greater detail, zoom out for a bigger picture, scroll or search for new locations, get directions, and more.\n\n Surface\n\nGet the most out of your Surface. The Surface app provides you with customization options and ways to learn more about your Surface. Give feedback on your experience so we can keep making it better. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 110 Surface
Get more apps from the Windows Store **Get more apps from the Windows Store**\n\nReady to get even more apps? You can install more apps and programs from the Windows Store, websites, or a CD or DVD. To learn more, see [Install and uninstall apps on Surface](http://www.microsoft.com/surface/support/apps-and-windows-store/install-apps-and-programs) on Surface.com.\n\nFor more info about the Windows Store, see [Explore the Store](http://windows.microsoft.com/en-us/windows-10/getstarted-explore-the-store) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:get more apps from the windows store [] False [] 111 Surface
Connect devices and accessories **Connect devices and accessories**\n\nYou can make photos, videos, and presentations bigger by connecting your Surface Book to a TV, monitor, or projector. Or, connect to an HDTV and watch movies on a big screen.\n\nYou can connect monitors, accessories, and other devices directly to your Surface Book using the USB ports, Mini DisplayPorts, or Bluetooth. Or, connect everything to a Surface Dock (sold separately). Surface Dock lets you transform your Surface Book into a full desktop PC using a single cable. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect devices and accessories [] False [{"DisplayOrder":0,"QnaId":113,"Qna":null,"DisplayText":"Set up your workspace with Surface Dock"},{"DisplayOrder":1,"QnaId":114,"Qna":null,"DisplayText":"Connect a USB accessory (printer, mouse, and more)"},{"DisplayOrder":2,"QnaId":115,"Qna":null,"DisplayText":"Connect to a TV, monitor, or projector"},{"DisplayOrder":3,"QnaId":122,"Qna":null,"DisplayText":"Add a Bluetooth accessory"},{"DisplayOrder":4,"QnaId":123,"Qna":null,"DisplayText":"Add audio accessories"}] 112 Surface
Set up your workspace with Surface Dock **Set up your workspace with Surface Dock**\n\nSurface Dock supports high-speed transfer of video, audio, and data. Its compact design gives you flexibility and keeps your desktop clutter-free. The external power supply recharges your Surface and provides plenty of additional power to charge connected USB devices.\n\nHere's how to set up your Surface Dock:\n\n1. Plug the AC end of the Surface Dock power cord into an electrical outlet or power strip and plug the other end into the power port on your Surface Dock.\n2. If you want to use a wired network connection, connect a network cable to the Ethernet port on your Surface Dock.\n3. Connect your computer peripherals to the USB ports on your Surface Dock.\n4. Connect a cable from your monitor to a Mini DisplayPort on your Surface Dock.If your monitor cable doesnt have a Mini DisplayPort connector, youll need to buy another cable or an adapter. For more info on adapters, see [Connect Surface to a TV, monitor, or](http://www.microsoft.com/surface/support/music-photos-and-video/connect-surface-to-a-tv-display-or-projector) [projector](http://www.microsoft.com/surface/support/music-photos-and-video/connect-surface-to-a-tv-display-or-projector) on Surface.com.\n5. Connect any audio accessories like speakers or headphones.Without external speakers, you may not hear audio when youre using your Surface. If this is the case, see [Troubleshoot Surface Dock](https://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-docking-station-surface-dock) on Surface.com to learn how to switch to the built-in speakers on your Surface.\n6. Unplug the Surface power supply and remove any attached accessories from your Surface. You can leave an SD card in the SD card slot.\n7. Connect your Surface Dock to the charging port of your Surface, using the cable provided.\n\nFor more info, see [Using Surface Dock](http://www.microsoft.com/surface/support/hardware-and-drivers/docking-station-surface-dock) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set up your workspace with surface dock [] False [] 113 Surface
Connect a USB accessory (printer, mouse, and more) **Connect a USB accessory (printer, mouse, and more)**\n\nYou can connect a USB accessory like a printer, camera, music player, smartphone, mouse, or external hard drive directly to your Surface Book. ✪\n\nThe USB port is on the side of the keyboard.\n\nThe included power supply also has a USB charging port you can use to power other USB devices while youre charging your Surface.\n\nTo install a USB accessory:\n\n1. If your USB accessory has a power cord, plug it in to an electrical outlet.\n2. Plug the USB cable attached to the accessory into your Surface.\n3. Turn on your accessory (if needed). The first time you plug in a USB accessory, Windows installs any software the accessory requires.\n\nFor more info, see [Connect a USB mouse, printer, and more](http://www.microsoft.com/surface/support/hardware-and-drivers/connect-a-usb-phone-camera-mouse-and-more) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect a usb accessory (printer, mouse, and more) [] False [] 114 Surface
Connect to a TV, monitor, or projector You can connect your Surface Book to another screen, or connect to an HDTV and watch movies on a big screen. You can even connect to some displays wirelessly. Surface video adapters are available in the [Accessories](http://www.microsoft.com/surface/accessories/home#adapters) area on Surface.com and in the [Microsoft Store](http://surface.microsoftstore.com/) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect to a tv, monitor, or projector [] False [{"DisplayOrder":0,"QnaId":116,"Qna":null,"DisplayText":"HDTV:"},{"DisplayOrder":1,"QnaId":117,"Qna":null,"DisplayText":"Projector or monitor:"},{"DisplayOrder":2,"QnaId":118,"Qna":null,"DisplayText":"Wireless:"},{"DisplayOrder":3,"QnaId":119,"Qna":null,"DisplayText":"Connect to a wired display"},{"DisplayOrder":4,"QnaId":120,"Qna":null,"DisplayText":"Connect to a wireless display"},{"DisplayOrder":5,"QnaId":121,"Qna":null,"DisplayText":"Set up your screens"}] 115 Surface
HDTV: If your TV has an HDMI port, youll need an HDMI cable and a Mini DisplayPort to HD AV adapter or an HDMI to Mini DisplayPort cable. (Both are sold separately on Surface.com.) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 116 Surface
Projector or monitor: If your monitor has a DisplayPort, you can connect it to your Surface using a DisplayPort to Mini DisplayPort cable (sold separately). If your monitor doesnt have a\n\nDisplayPort or HDMI port, use a VGA cable and the Mini DisplayPort to VGA Adapter. A VGA adapter or cable is for video only. Audio will play from your Surface speakers unless youve connected external speakers. For more info, see [Surface sound, volume, and audio accessories](http://www.microsoft.com/surface/support/hardware-and-drivers/sound-volume-and-speakers) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 117 Surface
Wireless: You can connect to wireless displays when Windows detects one nearby. Or, use a Microsoft Wireless Display Adapter (sold separately) to connect to a screen using Miracast. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 118 Surface
Connect to a wired display **Connect to a wired display**\n\n1. Connect an HDMI or VGA cable to the HDMI, DisplayPort, or VGA port on your TV, monitor, or projector.\n2. Connect the other end of the cable to a Surface video adapter or the Mini DisplayPort on your Surface or to your docking station.✪ ✪Mini DisplayPort on Surface BookMini DisplayPort on Surface Dock\n3. If youre using an adapter, plug it into the Mini DisplayPort on your Surface or your docking station. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect to a wired display [] False [] 119 Surface
Connect to a wireless display **Connect to a wireless display**\n\n1. On your Surface, swipe in from the right edge of the screen or select Action center in the taskbar.\n2. Select Connect, and in the list of displays, select the name of the wireless display.\n\nIf you have problems connecting your Surface or have questions about screen resolution, see [Trouble connecting Surface to a second screen?](http://www.microsoft.com/surface/support/music-photos-and-video/trouble-connecting-surface-to-second-screen) on Surface.com.\n\nIf youre using a Microsoft Wireless Display Adapter to connect to a screen using Miracast, see [Using the Microsoft Wireless Display Adapter with Surface](http://www.microsoft.com/surface/support/music-photos-and-video/wireless-display-adapter) on Surface.com for more info. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect to a wireless display [] False [] 120 Surface
Set up your screens **Set up your screens**\n\nOnce you connect to another screen or screens, you can choose what to display on each screen. Heres how:\n\n1. Select the search box in the taskbar, enter project to a second screen, and in the search results, select Project to a second screen. \n2. Choose one of the following options:\n * PC screen only: Youll see everything on your Surface screen. (When you're connected to a wireless projector, this option changes to Disconnect.) \n * Duplicate: Youll see the same things on all screens.\n * Extend: You'll see everything spread over all screens, and you can drag and move items between them.\n * Second screen only: Youll see everything on the connected screen or screens, and your Surface screen will be blank.\n\nFor more info, including how to daisy chain monitors and move apps between screens, see [Connect Surface to a TV, monitor, or projector](http://www.microsoft.com/surface/support/music-photos-and-video/connect-surface-pro-to-a-tv-display-or-projector) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set up your screens [] False [] 121 Surface
Add a Bluetooth accessory **Add a Bluetooth accessory**\n\nYou can also connect devices that use Bluetooth wireless technology to your Surface.\n\n Turn on the Bluetooth device and make it discoverable.\n\n1. To learn how to do this, check the info that came with your Bluetooth device or go to the manufacturers website.\n2. Go to Start , and select Settings > Devices > Bluetooth. ✪\n3. Under Manage Bluetooth devices, make sure the slider is set to On and wait while Windows searches for Bluetooth devices.\n4. In the list of Bluetooth devices, select the device you want to pair with your Surface and select Pair. \n5. Follow the on-screen instructions to finish pairing your device.\n\nIf the accessory requires a pass code, (sometimes called a pairing code), youll be prompted for it. If you dont know the pass code, check the info that came with your device or the manufacturers website.\n\nFor more info, see [Add a Bluetooth device](http://www.microsoft.com/surface/support/hardware-and-drivers/add-a-bluetooth-device) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:add a bluetooth accessory [] False [] 122 Surface
Add audio accessories **Add audio accessories**\n\nYou can connect external USB speakers, headphones, or a headset to the full-size USB port. Or go wireless by using Bluetooth headphones or speakers with your Surface.\n\nTo get the best sound from USB or Bluetooth speakers, turn up the volume on your Surface and in the app, if it has its own sound control, and then adjust the volume on the external USB or Bluetooth speakers. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:add audio accessories [] False [{"DisplayOrder":0,"QnaId":124,"Qna":null,"DisplayText":"Set the default audio device"}] 123 Surface
Set the default audio device **Set the default audio device**\n\n1. Select the search box in the taskbar, enter sound, and in the search results, select Change system sounds. \n2. Do either or both of the following:\n * Select the Playback tab, select the device you want to use for playback—for example, the built-in speakers on Surface, external speakers, or a headset—and select Set Default. \n * Select the Recording tab, select the device you want to use for recording—for example, the built-in mic or an external mic—and select Set Default. \n3. After you've selected your default devices, select OK. \n\nFor more info, see [Surface sound, volume, and audio accessories](http://www.microsoft.com/surface/support/hardware-and-drivers/sound-volume-and-speakers) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set the default audio device [] False [] 124 Surface
Surface audio features **Surface audio features**\n\nUse the built-in stereo speakers and mic or your favorite audio accessories to listen to music, make phone calls, record audio, and more. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface audio features [] False [{"DisplayOrder":0,"QnaId":126,"Qna":null,"DisplayText":"Use your favorite audio accessories"},{"DisplayOrder":1,"QnaId":127,"Qna":null,"DisplayText":"Adjust the volume"},{"DisplayOrder":2,"QnaId":133,"Qna":null,"DisplayText":"Record audio"}] 125 Surface
Use your favorite audio accessories **Use your favorite audio accessories**\n\nThe stereo speakers and microphones built into Surface let you listen to music and videos, make phone calls, and record audio. Or, you can connect your favorite USB and Bluetooth accessories like speakers, a mic, or a headset. For more info on connecting accessories, see [Connect a USB mouse,](http://www.microsoft.com/surface/support/hardware-and-drivers/connect-a-usb-phone-camera-mouse-and-more) [printer, and more](http://www.microsoft.com/surface/support/hardware-and-drivers/connect-a-usb-phone-camera-mouse-and-more) and [Add a Bluetooth device](http://www.microsoft.com/surface/support/hardware-and-drivers/add-a-bluetooth-device) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:use your favorite audio accessories [] False [] 126 Surface
Adjust the volume You can control the volume on your Surface in several places: https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:adjust the volume [] False [{"DisplayOrder":0,"QnaId":128,"Qna":null,"DisplayText":"Volume button:"},{"DisplayOrder":1,"QnaId":129,"Qna":null,"DisplayText":"Keyboard:"},{"DisplayOrder":2,"QnaId":130,"Qna":null,"DisplayText":"Desktop taskbar:"},{"DisplayOrder":3,"QnaId":131,"Qna":null,"DisplayText":"Audio accessories:"},{"DisplayOrder":4,"QnaId":132,"Qna":null,"DisplayText":"Apps:"}] 127 Surface
Volume button: Press the volume button on the Clipboard to adjust the volume up or down. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 128 Surface
Keyboard: Press the volume-down, volume-up, or mute keys on the keyboard. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 129 Surface
Desktop taskbar: In the desktop taskbar, select Speakers , and adjust the volume up or down. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 130 Surface
Audio accessories: Adjust the volume on the headset, speakers, or other audio accessory, or in the software included with the accessory. To learn more, check the info that came with your accessory or visit the manufacturer's website. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 131 Surface
Apps: Some apps have a volume control within the app. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 132 Surface
Record audio **Record audio**\n\nYou can use the Voice Recorder app to record audio. To open the app:\n\n Go to Start , and select All apps > Voice Recorder. \n\n✪ ✪ https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:record audio [] False [{"DisplayOrder":0,"QnaId":134,"Qna":null,"DisplayText":"Adjust microphone settings"},{"DisplayOrder":1,"QnaId":135,"Qna":null,"DisplayText":"Change which sounds play"},{"DisplayOrder":2,"QnaId":136,"Qna":null,"DisplayText":"Audio problems"}] 133 Surface
Adjust microphone settings **Adjust microphone settings**\n\n1. Select the search box in the taskbar, enter sound, and in the search results, select Change system sounds. \n2. Select the Recording tab, select the mic you want, and select Properties. Be sure to select a mic that's enabled and connected to your Surface.\n3. Select the Levels tab. Youll see two sliders:\n * Microphone: Controls the mics volume\n * Microphone Boost: Controls the strength of the mic's signal\n4. Adjust the sliders until your mic is recording at the levels you want.\n\nThe levels you'll use will vary depending on the amount of background noise and on whether you're using the mic thats built into your Surface or an external mic. A good starting point is to set Microphone to 50 and Microphone Boost to +24.0 dB. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:adjust microphone settings [] False [] 134 Surface
Change which sounds play **Change which sounds play**\n\nYou can choose which sounds play for notifications and system events—for example, the sound that plays when you get a new message. Here's how:\n\n1. Select the search box in the taskbar, enter sound, and in the search results, select Change system sounds. \n2. Select the Sounds tab, and under Program Events, select an event (for example, Calendar Reminder). \n3. Under Sounds, choose the sound you want to play for that event.\n4. To hear the sound you've picked, select Test. \n5. Select Apply to change the sound for the event, and select OK. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change which sounds play [] False [] 135 Surface
Audio problems **Audio problems**\n\nIf the sound quality coming from your speakers or an audio accessory isn't good, it's possible the audio recording itself isn't of good quality. Try listening to the same recording on a different device.\n\nFor help with audio problems, see [Troubleshoot Surface sound and audio accessories](http://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-surface-audio) on Surface.com.\n\nTo learn more about audio on Surface Book, see [Surface sound, volume, and audio accessories](http://www.microsoft.com/surface/support/hardware-and-drivers/sound-volume-and-speakers) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:audio problems [] False [] 136 Surface
Cameras and the Camera app **Cameras and the Camera app**\n\nSurface Book has a front-facing camera and a rear-facing camera. You can use the front camera to video chat with a friend, and the back camera to record meetings and events. You can also use either camera to take photos. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:cameras and the camera app [] False [{"DisplayOrder":0,"QnaId":138,"Qna":null,"DisplayText":"Take photos and record videos"},{"DisplayOrder":1,"QnaId":139,"Qna":null,"DisplayText":"Using autofocus on Surface Book"},{"DisplayOrder":2,"QnaId":140,"Qna":null,"DisplayText":"Change camera options"},{"DisplayOrder":3,"QnaId":145,"Qna":null,"DisplayText":"View photos and videos"}] 137 Surface
Take photos and record videos **Take photos and record videos**\n\nBy default, the built-in Camera app is ready to take photos, but you can easily switch between photo and video mode.\n\nTo take a photo or record a video:\n\n Go to Start , and select Camera. \n\n1. To pin the Camera app to Start, select All Apps, press and hold (or right-click) the Camera app, and select Pin to Start. ✪ ✪\n2. Select the on-screen Camera button or Video button to activate the camera you want to use, and select the button again to take a picture or start recording video.\n\nA small privacy light appears near the active camera when youre using it. The privacy light cant be turned off. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:take photos and record videos [] False [] 138 Surface
Using autofocus on Surface Book **Using autofocus on Surface Book**\n\nTo help you improve the sharpness of your photos and videos, the rear-facing camera on Surface Book features an autofocus lens that detects a face in the scene automatically and focuses on it. If it doesnt detect a face, it will focus on the main subject in the center of the screen. It also lets you spot adjust the focus before you take a picture or while recording a video.\n\nYou can adjust and lock the focus on a different location by tapping the screen on that spot. If youre recording a video, you can spot adjust the focus without stopping the recording. When you tap the screen to adjust the focus, the focus is locked on that spot until you tap the screen again. The focus will adjust automatically and remain focused on that spot as you move the camera.\n\nTo adjust the focus:\n\n* Photos: Tap the screen to focus on that spot, then tap the Camera button to take the picture.\n* Videos: While youre recording video, tap the screen to spot adjust the focus.\n\nAutofocus is available only on the rear-facing camera. The front-facing camera has a fixed-focus lens. To learn more, see [Using autofocus on Surface 3, Surface Pro 4, and Surface Book](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras-autofocus) [on](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras-autofocus) [Surface.com.](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras-autofocus) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:using autofocus on surface book [] False [] 139 Surface
Change camera options **Change camera options**\n\nUse the Camera app to switch between the front and back camera or manually set camera options. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change camera options [] False [{"DisplayOrder":0,"QnaId":141,"Qna":null,"DisplayText":"Change between the front and back camera"},{"DisplayOrder":1,"QnaId":142,"Qna":null,"DisplayText":"Set the timer"},{"DisplayOrder":2,"QnaId":143,"Qna":null,"DisplayText":"Change camera settings"},{"DisplayOrder":3,"QnaId":144,"Qna":null,"DisplayText":"Turn off the camera shutter sound"}] 140 Surface
Change between the front and back camera **Change between the front and back camera**\n\n✪\n\nAt the top of the screen, select either the Front camera or Back camera icon, depending on which camera youre currently using. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change between the front and back camera [] False [] 141 Surface
Set the timer **Set the timer**\n\nSelect More options in the upper-right corner and select Self timer. \n\nSelect the Delay that you want to set (two, five, or 10 seconds) and select the check mark at the bottom. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set the timer [] False [] 142 Surface
Change camera settings **Change camera settings**\n\nYou can also modify the photo aspect ratio, show or hide framing grid lines, adjust video settings, and change what happens when you press and hold the camera button.\n\nHeres how to change camera settings:\n\nIn the Camera app, select More options in the upper-right corner, select Settings, and change the settings you want.\n\nTo learn how to adjust settings to get better results in your photos and videos, see [Improve photo](http://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-photo-and-video-quality) [and video quality](http://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-photo-and-video-quality) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change camera settings [] False [] 143 Surface
Turn off the camera shutter sound **Turn off the camera shutter sound**\n\nYou can turn off the shutter sound the camera makes by muting the volume on your Surface. This turns off all Surface sounds.\n\nIn the taskbar, select Volume and adjust the slider all the way down to mute the sound. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:turn off the camera shutter sound [] False [] 144 Surface
View photos and videos **View photos and videos**\n\nBy default, your photos and videos are saved to the Camera roll on your Surface. You can choose to save your pictures to OneDrive so you can access them from any web-connected device. For more info, see [Using OneDrive on Surface](http://www.microsoft.com/surface/support/storage-files-and-folders/Onedrive-on-surface) .\n\nThere are a few ways to look through your photos and videos:\n\n* Camera app: Select Photos in the upper-left corner to open the Photos app and view the most recent picture or video taken. Swipe right to see others in your collection.✪\n* Photos app: Select View collection in the upper-left corner to see other photos and videos in your collection.\n* File Explorer or OneDrive app. Go to your Pictures library and open your Camera roll.\n\nTo change where your pictures are saved:\n\n1. In the Camera app, select More options > Settings. ✪\n2. Select Manage save location and OneDrive uploads, select Yes to open Settings, and select Storage. \n3. Under Save locations, change the option under New pictures will save to. \n\nFor more info on using the cameras, see [Take photos and videos with Surface](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 145 Surface
Personalization and settings **Personalization and settings**\n\nSettings control nearly everything about how your Surface Book looks and works. By adjusting settings, you can customize your Surface to work the way you want. Here are a few different ways to find and change your settings. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:personalization and settings [] False [{"DisplayOrder":0,"QnaId":147,"Qna":null,"DisplayText":"Windows Settings"},{"DisplayOrder":1,"QnaId":148,"Qna":null,"DisplayText":"Action center"},{"DisplayOrder":2,"QnaId":149,"Qna":null,"DisplayText":"Cortana"},{"DisplayOrder":3,"QnaId":150,"Qna":null,"DisplayText":"Surface app"},{"DisplayOrder":4,"QnaId":151,"Qna":null,"DisplayText":"Sync your settings"},{"DisplayOrder":5,"QnaId":152,"Qna":null,"DisplayText":"Change settings in Windows apps"}] 146 Surface
Windows Settings **Windows Settings**\n\n1. Go to Start , and select Settings. ✪\n2. Select the type of settings you want to change or view.\n\n✪\n\nFor more info, see [A new look for settings](http://windows.microsoft.com/en-us/windows-10/getstarted-a-new-look-for-settings) on Windows.com.\n\nYou can enter the setting you want to change in the Find a setting box and choose a setting from the list. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:windows settings [] False [] 147 Surface
Action center **Action center**\n\nYou can change common settings like airplane mode and WiFi on the fly from the Action center in the taskbar. For more info, see [Take action instantly](http://windows.microsoft.com/en-us/windows-10/getstarted-take-action) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:action center [] False [] 148 Surface
Cortana **Cortana**\n\n1. Open Cortana by selecting the search box in the taskbar.✪\n2. Ask your question and select an answer under Settings. \n\nFor more info, see [What is Cortana?](http://windows.microsoft.com/en-us/windows-10/getstarted-what-is-cortana) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:cortana [] False [] 149 Surface
Surface app **Surface app**\n\nOpen the Surface app to adjust settings for the Surface Pen, OneNote, and more.\n\nFor info, see [Install and use the Surface app](http://www.microsoft.com/surface/support/apps-and-windows-store/surface-app) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface app [{"ClusterHead":"surface","TotalAutoSuggestedCount":27,"TotalUserSuggestedCount":2,"AlternateQuestionList":[{"Question":"surface","AutoSuggestedCount":27,"UserSuggestedCount":2}]},{"ClusterHead":"surfac","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"surfac","AutoSuggestedCount":1,"UserSuggestedCount":0}]}] False [] 150 Surface
Sync your settings **Sync your settings**\n\nTo learn how to sync your settings across devices, see [About sync settings in Windows 10](http://windows.microsoft.com/en-us/windows-10/about-sync-settings-in-windows-10) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:sync your settings [] False [] 151 Surface
Change settings in Windows apps **Change settings in Windows apps**\n\nYou can use settings in an app to change your preferences, find help, and add accounts.\n\n1. Open the app and select Menu > Settings. ✪\n2. Select Options and make the changes you want. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change settings in windows apps [] False [] 152 Surface
Accessibility **Accessibility**\n\nEase of Access features let you use your Surface the way you want. To see what features are available:\n\n Go to Start , and select Settings > Ease of Access. \n\n✪\n\nFor more info about Ease of Access features, see [Make your PC easier to use](http://windows.microsoft.com/en-us/windows-10/getstarted-make-your-pc-easier-to-use) on Windows.com. (Some of these options may not be available on your Surface Book.) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:accessibility [] False [{"DisplayOrder":0,"QnaId":154,"Qna":null,"DisplayText":"Ease of Access options for Surface"},{"DisplayOrder":1,"QnaId":161,"Qna":null,"DisplayText":"Other options"},{"DisplayOrder":2,"QnaId":168,"Qna":null,"DisplayText":"Customize the sign-in screen"}] 153 Surface
Ease of Access options for Surface Your Surface Book offers the following features. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:ease of access options for surface [] False [{"DisplayOrder":0,"QnaId":155,"Qna":null,"DisplayText":"Narrator:"},{"DisplayOrder":1,"QnaId":156,"Qna":null,"DisplayText":"Magnifier:"},{"DisplayOrder":2,"QnaId":157,"Qna":null,"DisplayText":"High contrast:"},{"DisplayOrder":3,"QnaId":158,"Qna":null,"DisplayText":"Closed captions:"},{"DisplayOrder":4,"QnaId":159,"Qna":null,"DisplayText":"Keyboard:"},{"DisplayOrder":5,"QnaId":160,"Qna":null,"DisplayText":"Mouse:"}] 154 Surface
Narrator: Reads the text on your screen aloud. For more info, see [Hear text read aloud with](http://windows.microsoft.com/en-us/windows-10/getstarted-hear-text-read-aloud) [Narrator](http://windows.microsoft.com/en-us/windows-10/getstarted-hear-text-read-aloud) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 155 Surface
Magnifier: Enlarges your screen or parts of it to make words and images easier to see. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 156 Surface
High contrast: Lets you use a high-contrast theme that makes items easier to read on your Surface.\n\n* To use a high-contrast theme, under Choose a theme, select any high-contrast theme, select any color to change that type of text or background color, and select Apply. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 157 Surface
Closed captions: Lets you control fonts and other features related to closed captions. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 158 Surface
Keyboard: Lets you control your Surface by using a touch keyboard. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 159 Surface
Mouse: Allows you to change the size and color of the mouse pointer and use the numeric keypad to control the mouse. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 160 Surface
Other options These options make Surface easier to use: https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:other options [] False [{"DisplayOrder":0,"QnaId":162,"Qna":null,"DisplayText":"Play animations in Windows:"},{"DisplayOrder":1,"QnaId":163,"Qna":null,"DisplayText":"Show Windows background:"},{"DisplayOrder":2,"QnaId":164,"Qna":null,"DisplayText":"Show notifications for:"},{"DisplayOrder":3,"QnaId":165,"Qna":null,"DisplayText":"Cursor thickness:"},{"DisplayOrder":4,"QnaId":166,"Qna":null,"DisplayText":"Show visual feedback when I touch the screen:"},{"DisplayOrder":5,"QnaId":167,"Qna":null,"DisplayText":"Use darker, larger visual feedback (ideal for presentations):"}] 161 Surface
Play animations in Windows: To see animations whenever you open and switch apps, select On. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 162 Surface
Show Windows background: To see a background image instead of a black background on the Desktop, select On. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 163 Surface
Show notifications for: If notifications appear and disappear too quickly, choose a time (five, seven, 15, or 30 seconds; one or five minutes) to change how long theyre visible. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 164 Surface
Cursor thickness: If the curser is too hard to see, you can change its thickness. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 165 Surface
Show visual feedback when I touch the screen: To see a gray animation wherever you touch the screen, select On. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 166 Surface
Use darker, larger visual feedback (ideal for presentations): To see a larger, darker animation wherever you touch the screen, select On. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 167 Surface
Customize the sign-in screen **Customize the sign-in screen**\n\nGo to Start , and select Settings > Ease of Access to make any of the following settings available every time Surface starts:\n\n* Narrator\n* Magnifier\n* High contrast\n* Closed captions\n* Keyboard\n* Mouse https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:customize the sign-in screen [] False [] 168 Surface
Clean and care for your Surface Book **Clean and care for your Surface Book**\n\nTo keep your Surface Book looking and working great, follow these simple steps. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:clean and care for your surface book [] False [{"DisplayOrder":0,"QnaId":170,"Qna":null,"DisplayText":"Touchscreen care"},{"DisplayOrder":1,"QnaId":174,"Qna":null,"DisplayText":"Cover and keyboard care"},{"DisplayOrder":2,"QnaId":175,"Qna":null,"DisplayText":"Power cord care"}] 169 Surface
Touchscreen care Scratches, oil, dust, chemicals, and ultraviolet light can affect the performance of your touchscreen. Here are some things you can do to help protect the screen: https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:touchscreen care [] False [{"DisplayOrder":0,"QnaId":171,"Qna":null,"DisplayText":"Clean it frequently."},{"DisplayOrder":1,"QnaId":172,"Qna":null,"DisplayText":"Keep it covered."},{"DisplayOrder":2,"QnaId":173,"Qna":null,"DisplayText":"Keep it out of the sun."}] 170 Surface
Clean it frequently. The Surface Book touchscreen has been coated to make it easier to clean. You dont need to rub hard to remove fingerprints or oily spots. To avoid scratches, use a soft, lint-free cloth to gently wipe the screen. You can dampen the cloth with water or an eyeglass cleaner, but dont apply liquids directly to your Surface. Dont use window cleaner or other chemical cleaners on your Surface. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 171 Surface
Keep it covered. Close the keyboard while youre in transit or not using your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 172 Surface
Keep it out of the sun. Do not leave your Surface Book in direct sunlight for a long time. Ultraviolet light and excessive heat can damage the display. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 173 Surface
Cover and keyboard care **Cover and keyboard care**\n\nThe Surface Book keyboard requires minimal care to function well. To clean the keyboard, wipe it with a lint-free cloth dampened in mild soap and water. Dont apply liquids directly to your Surface.\n\nFor more info about safely cleaning and caring for Surface, see [Safety and regulatory information](http://www.microsoft.com/surface/support/hardware-and-drivers/safety-and-regulatory-information) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:cover and keyboard care [] False [] 174 Surface
Power cord care **Power cord care**\n\nPower cords, like any other metal wire or cable, can be weakened or damaged if repeatedly twisted or bent in the same spot. Here are some things you can do to keep your power cord from being damaged:\n\n* Avoid twisting or pinching your power cord.\n* Dont wrap your power cord too tightly, especially around the power brick. Instead, wrap it using loose coils rather than tight angles.\n* Inspect your power cord regularly, especially where it joins the power brick.\n* Avoid pulling on the power cord when unplugging your Surface. Gently removing the connector from the charging connector can help prevent damage.\n\nFor more info, see [Clean and care for your Surface](http://www.microsoft.com/surface/support/performance-and-maintenance/clean-and-care-for-your-surface) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:power cord care [] False [] 175 Surface
Registration, repair, and warranty https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:registration, repair, and warranty [] False [{"DisplayOrder":0,"QnaId":177,"Qna":null,"DisplayText":"Register your Surface Book"},{"DisplayOrder":1,"QnaId":178,"Qna":null,"DisplayText":"Repair"},{"DisplayOrder":2,"QnaId":179,"Qna":null,"DisplayText":"Warranty"},{"DisplayOrder":3,"QnaId":180,"Qna":null,"DisplayText":"Safety and regulatory information"}] 176 Surface
Register your Surface Book **Register your Surface Book**\n\nIf you havent already registered your Surface Book and other Surface products, you can do so at [microsoft.com/surface/support/register](http://www.microsoft.com/surface/support/register) . Youll need your Microsoft account (the email address and password that you use to sign in to your Surface and to download apps from the Windows Store), and the serial number of your Surface Book keyboard or Clipboard.\n\nFor more info, see [Find the serial number on Surface](http://www.microsoft.com/surface/support/warranty-service-and-recovery/find-the-serial-number-on-surface) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:register your surface book [] False [] 177 Surface
Repair **Repair**\n\nBefore sending your Surface Book in for service, check out the [Surface troubleshooting articles](http://www.microsoft.com/surface/support/troubleshoot) on Surface.com. If you cant solve the problem with troubleshooting, [contact us](http://www.microsoft.com/surface/support/contact-us) through Surface.com.\n\nIf you continue to have a problem with your Surface, you can open a service request and send your product in for service.\n\nBefore you send your Surface in for service, see [How to prepare your Surface for service](http://www.microsoft.com/surface/support/warranty-service-and-recovery/how-to-get-your-surface-ready-for-service) . Then go to [Send my Surface in for service](http://www.microsoft.com/surface/support/service-order) on Surface.com, sign in with your Microsoft account, and follow the on-screen instructions. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:repair [] False [] 178 Surface
Warranty **Warranty**\n\nFor warranty info, see [Surface warranty](http://www.microsoft.com/surface/support/warranty-service-and-recovery/surface-warranty) and [Surface warranty documents](http://www.microsoft.com/surface/support/documents) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:warranty [] False [] 179 Surface
Safety and regulatory information **Safety and regulatory information**\n\nSee [Safety and regulatory information](https://www.microsoft.com/surface/support/hardware-and-drivers/safety-and-regulatory-information) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:safety and regulatory information [] False [] 180 Surface
More help **More help**\n\nFor more how-to info and help for Surface Book, go to [www.surface.com/support](http://www.surface.com/support) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:more help [] False [] 181 Surface
Не удается отобразить этот файл, потому что он содержит неожиданный символ в строке 2 и столбце 139.

Просмотреть файл

@ -0,0 +1,35 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Integration.AspNet.Core;
namespace Microsoft.BotBuilderSamples.Controllers
{
// This ASP Controller is created to handle a request. Dependency Injection will provide the Adapter and IBot
// implementation at runtime. Multiple different IBot implementations running at different endpoints can be
// achieved by specifying a more specific type for the bot constructor argument.
[Route("api/messages")]
[ApiController]
public class BotController : ControllerBase
{
private readonly IBotFrameworkHttpAdapter _adapter;
private readonly IBot _bot;
public BotController(IBotFrameworkHttpAdapter adapter, IBot bot)
{
_adapter = adapter;
_bot = bot;
}
[HttpPost, HttpGet]
public async Task PostAsync()
{
// Delegate the processing of the HTTP POST to the adapter.
// The adapter will invoke the bot.
await _adapter.ProcessAsync(Request, Response, _bot);
}
}
}

Просмотреть файл

@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>
<Content Update="appsettings.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>

Просмотреть файл

@ -0,0 +1,54 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"groupLocation": {
"value": ""
},
"groupName": {
"value": ""
},
"appId": {
"value": ""
},
"appSecret": {
"value": ""
},
"appType": {
"value": "MultiTenant"
},
"botId": {
"value": ""
},
"botSku": {
"value": ""
},
"newAppServicePlanName": {
"value": ""
},
"newAppServicePlanSku": {
"value": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
}
},
"newAppServicePlanLocation": {
"value": ""
},
"newWebAppName": {
"value": ""
},
"tenantId": {
"value": ""
},
"existingUserAssignedMSIName": {
"value": ""
},
"existingUserAssignedMSIResourceGroupName": {
"value": ""
}
}
}

Просмотреть файл

@ -0,0 +1,51 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"appId": {
"value": ""
},
"appSecret": {
"value": ""
},
"appType": {
"value": "MultiTenant"
},
"botId": {
"value": ""
},
"botSku": {
"value": ""
},
"newAppServicePlanName": {
"value": ""
},
"newAppServicePlanSku": {
"value": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
}
},
"appServicePlanLocation": {
"value": ""
},
"existingAppServicePlan": {
"value": ""
},
"newWebAppName": {
"value": ""
},
"tenantId": {
"value": ""
},
"existingUserAssignedMSIName": {
"value": ""
},
"existingUserAssignedMSIResourceGroupName": {
"value": ""
}
}
}

Просмотреть файл

@ -0,0 +1,259 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"groupLocation": {
"type": "string",
"metadata": {
"description": "Specifies the location of the Resource Group."
}
},
"groupName": {
"type": "string",
"metadata": {
"description": "Specifies the name of the Resource Group."
}
},
"appId": {
"type": "string",
"metadata": {
"description": "Active Directory App ID or User-Assigned Managed Identity Client ID, set as MicrosoftAppId in the Web App's Application Settings."
}
},
"appSecret": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Active Directory App Password, set as MicrosoftAppPassword in the Web App's Application Settings. Required for MultiTenant and SingleTenant app types. Defaults to \"\"."
}
},
"appType": {
"type": "string",
"defaultValue": "MultiTenant",
"allowedValues": [
"MultiTenant",
"SingleTenant",
"UserAssignedMSI"
],
"metadata": {
"description": "Type of Bot Authentication. set as MicrosoftAppType in the Web App's Application Settings. Allowed values are: MultiTenant, SingleTenant, UserAssignedMSI. Defaults to \"MultiTenant\"."
}
},
"botId": {
"type": "string",
"metadata": {
"description": "The globally unique and immutable bot ID. Also used to configure the displayName of the bot, which is mutable."
}
},
"botSku": {
"type": "string",
"metadata": {
"description": "The pricing tier of the Bot Service Registration. Acceptable values are F0 and S1."
}
},
"newAppServicePlanName": {
"type": "string",
"metadata": {
"description": "The name of the App Service Plan."
}
},
"newAppServicePlanSku": {
"type": "object",
"defaultValue": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
},
"metadata": {
"description": "The SKU of the App Service Plan. Defaults to Standard values."
}
},
"newAppServicePlanLocation": {
"type": "string",
"metadata": {
"description": "The location of the App Service Plan. Defaults to \"westus\"."
}
},
"newWebAppName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The globally unique name of the Web App. Defaults to the value passed in for \"botId\"."
}
},
"tenantId": {
"type": "string",
"defaultValue": "[subscription().tenantId]",
"metadata": {
"description": "The Azure AD Tenant ID to use as part of the Bot's Authentication. Only used for SingleTenant and UserAssignedMSI app types. Defaults to \"Subscription Tenant ID\"."
}
},
"existingUserAssignedMSIName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The User-Assigned Managed Identity Resource used for the Bot's Authentication. Defaults to \"\"."
}
},
"existingUserAssignedMSIResourceGroupName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The User-Assigned Managed Identity Resource Group used for the Bot's Authentication. Defaults to \"\"."
}
}
},
"variables": {
"appServicePlanName": "[parameters('newAppServicePlanName')]",
"resourcesLocation": "[parameters('newAppServicePlanLocation')]",
"webAppName": "[if(empty(parameters('newWebAppName')), parameters('botId'), parameters('newWebAppName'))]",
"siteHost": "[concat(variables('webAppName'), '.azurewebsites.net')]",
"botEndpoint": "[concat('https://', variables('siteHost'), '/api/messages')]",
"resourceGroupId": "[concat(subscription().id, '/resourceGroups/', parameters('groupName'))]",
"msiResourceId": "[concat(subscription().id, '/resourceGroups/', parameters('existingUserAssignedMSIResourceGroupName'), '/providers/', 'Microsoft.ManagedIdentity/userAssignedIdentities/', parameters('existingUserAssignedMSIName'))]",
"appTypeDef": {
"MultiTenant": {
"tenantId": "",
"msiResourceId": "",
"identity": { "type": "None" }
},
"SingleTenant": {
"tenantId": "[parameters('tenantId')]",
"msiResourceId": "",
"identity": { "type": "None" }
},
"UserAssignedMSI": {
"tenantId": "[parameters('tenantId')]",
"msiResourceId": "[variables('msiResourceId')]",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"[variables('msiResourceId')]": {}
}
}
}
},
"appType": {
"tenantId": "[variables('appTypeDef')[parameters('appType')].tenantId]",
"msiResourceId": "[variables('appTypeDef')[parameters('appType')].msiResourceId]",
"identity": "[variables('appTypeDef')[parameters('appType')].identity]"
}
},
"resources": [
{
"name": "[parameters('groupName')]",
"type": "Microsoft.Resources/resourceGroups",
"apiVersion": "2018-05-01",
"location": "[parameters('groupLocation')]",
"properties": {}
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2018-05-01",
"name": "storageDeployment",
"resourceGroup": "[parameters('groupName')]",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups/', parameters('groupName'))]"
],
"properties": {
"mode": "Incremental",
"template": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {},
"resources": [
{
"comments": "Create a new App Service Plan",
"type": "Microsoft.Web/serverfarms",
"name": "[variables('appServicePlanName')]",
"apiVersion": "2018-02-01",
"location": "[variables('resourcesLocation')]",
"sku": "[parameters('newAppServicePlanSku')]",
"properties": {
"name": "[variables('appServicePlanName')]"
}
},
{
"comments": "Create a Web App using the new App Service Plan",
"type": "Microsoft.Web/sites",
"apiVersion": "2015-08-01",
"location": "[variables('resourcesLocation')]",
"kind": "app",
"dependsOn": [
"[concat(variables('resourceGroupId'), '/providers/Microsoft.Web/serverfarms/', variables('appServicePlanName'))]"
],
"name": "[variables('webAppName')]",
"identity": "[variables('appType').identity]",
"properties": {
"name": "[variables('webAppName')]",
"serverFarmId": "[variables('appServicePlanName')]",
"siteConfig": {
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "10.14.1"
},
{
"name": "MicrosoftAppType",
"value": "[parameters('appType')]"
},
{
"name": "MicrosoftAppId",
"value": "[parameters('appId')]"
},
{
"name": "MicrosoftAppPassword",
"value": "[parameters('appSecret')]"
},
{
"name": "MicrosoftAppTenantId",
"value": "[variables('appType').tenantId]"
}
],
"cors": {
"allowedOrigins": [
"https://botservice.hosting.portal.azure.net",
"https://hosting.onecloud.azure-test.net/"
]
},
"webSocketsEnabled": true
}
}
},
{
"apiVersion": "2021-03-01",
"type": "Microsoft.BotService/botServices",
"name": "[parameters('botId')]",
"location": "global",
"kind": "azurebot",
"sku": {
"name": "[parameters('botSku')]"
},
"properties": {
"name": "[parameters('botId')]",
"displayName": "[parameters('botId')]",
"iconUrl": "https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png",
"endpoint": "[variables('botEndpoint')]",
"msaAppId": "[parameters('appId')]",
"msaAppTenantId": "[variables('appType').tenantId]",
"msaAppMSIResourceId": "[variables('appType').msiResourceId]",
"msaAppType": "[parameters('appType')]",
"luisAppIds": [],
"schemaTransformationVersion": "1.3",
"isCmekEnabled": false,
"isIsolated": false
},
"dependsOn": [
"[concat(variables('resourceGroupId'), '/providers/Microsoft.Web/sites/', variables('webAppName'))]"
]
}
],
"outputs": {}
}
}
}
]
}

Просмотреть файл

@ -0,0 +1,230 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"appId": {
"type": "string",
"metadata": {
"description": "Active Directory App ID or User-Assigned Managed Identity Client ID, set as MicrosoftAppId in the Web App's Application Settings."
}
},
"appSecret": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Active Directory App Password, set as MicrosoftAppPassword in the Web App's Application Settings. Required for MultiTenant and SingleTenant app types. Defaults to \"\"."
}
},
"appType": {
"type": "string",
"defaultValue": "MultiTenant",
"allowedValues": [
"MultiTenant",
"SingleTenant",
"UserAssignedMSI"
],
"metadata": {
"description": "Type of Bot Authentication. set as MicrosoftAppType in the Web App's Application Settings. Allowed values are: MultiTenant, SingleTenant, UserAssignedMSI. Defaults to \"MultiTenant\"."
}
},
"botId": {
"type": "string",
"metadata": {
"description": "The globally unique and immutable bot ID. Also used to configure the displayName of the bot, which is mutable."
}
},
"botSku": {
"defaultValue": "F0",
"type": "string",
"metadata": {
"description": "The pricing tier of the Bot Service Registration. Acceptable values are F0 and S1."
}
},
"newAppServicePlanName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The name of the new App Service Plan."
}
},
"newAppServicePlanSku": {
"type": "object",
"defaultValue": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
},
"metadata": {
"description": "The SKU of the App Service Plan. Defaults to Standard values."
}
},
"appServicePlanLocation": {
"type": "string",
"metadata": {
"description": "The location of the App Service Plan."
}
},
"existingAppServicePlan": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Name of the existing App Service Plan used to create the Web App for the bot."
}
},
"newWebAppName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The globally unique name of the Web App. Defaults to the value passed in for \"botId\"."
}
},
"tenantId": {
"type": "string",
"defaultValue": "[subscription().tenantId]",
"metadata": {
"description": "The Azure AD Tenant ID to use as part of the Bot's Authentication. Only used for SingleTenant and UserAssignedMSI app types. Defaults to \"Subscription Tenant ID\"."
}
},
"existingUserAssignedMSIName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The User-Assigned Managed Identity Resource used for the Bot's Authentication. Defaults to \"\"."
}
},
"existingUserAssignedMSIResourceGroupName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The User-Assigned Managed Identity Resource Group used for the Bot's Authentication. Defaults to \"\"."
}
}
},
"variables": {
"defaultAppServicePlanName": "[if(empty(parameters('existingAppServicePlan')), 'createNewAppServicePlan', parameters('existingAppServicePlan'))]",
"useExistingAppServicePlan": "[not(equals(variables('defaultAppServicePlanName'), 'createNewAppServicePlan'))]",
"servicePlanName": "[if(variables('useExistingAppServicePlan'), parameters('existingAppServicePlan'), parameters('newAppServicePlanName'))]",
"resourcesLocation": "[parameters('appServicePlanLocation')]",
"webAppName": "[if(empty(parameters('newWebAppName')), parameters('botId'), parameters('newWebAppName'))]",
"siteHost": "[concat(variables('webAppName'), '.azurewebsites.net')]",
"botEndpoint": "[concat('https://', variables('siteHost'), '/api/messages')]",
"msiResourceId": "[concat(subscription().id, '/resourceGroups/', parameters('existingUserAssignedMSIResourceGroupName'), '/providers/', 'Microsoft.ManagedIdentity/userAssignedIdentities/', parameters('existingUserAssignedMSIName'))]",
"appTypeDef": {
"MultiTenant": {
"tenantId": "",
"msiResourceId": "",
"identity": { "type": "None" }
},
"SingleTenant": {
"tenantId": "[parameters('tenantId')]",
"msiResourceId": "",
"identity": { "type": "None" }
},
"UserAssignedMSI": {
"tenantId": "[parameters('tenantId')]",
"msiResourceId": "[variables('msiResourceId')]",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"[variables('msiResourceId')]": {}
}
}
}
},
"appType": {
"tenantId": "[variables('appTypeDef')[parameters('appType')].tenantId]",
"msiResourceId": "[variables('appTypeDef')[parameters('appType')].msiResourceId]",
"identity": "[variables('appTypeDef')[parameters('appType')].identity]"
}
},
"resources": [
{
"comments": "Create a new App Service Plan if no existing App Service Plan name was passed in.",
"type": "Microsoft.Web/serverfarms",
"condition": "[not(variables('useExistingAppServicePlan'))]",
"name": "[variables('servicePlanName')]",
"apiVersion": "2018-02-01",
"location": "[variables('resourcesLocation')]",
"sku": "[parameters('newAppServicePlanSku')]",
"properties": {
"name": "[variables('servicePlanName')]"
}
},
{
"comments": "Create a Web App using an App Service Plan",
"type": "Microsoft.Web/sites",
"apiVersion": "2015-08-01",
"location": "[variables('resourcesLocation')]",
"kind": "app",
"dependsOn": [
"[resourceId('Microsoft.Web/serverfarms', variables('servicePlanName'))]"
],
"name": "[variables('webAppName')]",
"identity": "[variables('appType').identity]",
"properties": {
"name": "[variables('webAppName')]",
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('servicePlanName'))]",
"siteConfig": {
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "10.14.1"
},
{
"name": "MicrosoftAppType",
"value": "[parameters('appType')]"
},
{
"name": "MicrosoftAppId",
"value": "[parameters('appId')]"
},
{
"name": "MicrosoftAppPassword",
"value": "[parameters('appSecret')]"
},
{
"name": "MicrosoftAppTenantId",
"value": "[variables('appType').tenantId]"
}
],
"cors": {
"allowedOrigins": [
"https://botservice.hosting.portal.azure.net",
"https://hosting.onecloud.azure-test.net/"
]
},
"webSocketsEnabled": true
}
}
},
{
"apiVersion": "2021-03-01",
"type": "Microsoft.BotService/botServices",
"name": "[parameters('botId')]",
"location": "global",
"kind": "azurebot",
"sku": {
"name": "[parameters('botSku')]"
},
"properties": {
"name": "[parameters('botId')]",
"displayName": "[parameters('botId')]",
"iconUrl": "https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png",
"endpoint": "[variables('botEndpoint')]",
"msaAppId": "[parameters('appId')]",
"msaAppTenantId": "[variables('appType').tenantId]",
"msaAppMSIResourceId": "[variables('appType').msiResourceId]",
"msaAppType": "[parameters('appType')]",
"luisAppIds": [],
"schemaTransformationVersion": "1.3",
"isCmekEnabled": false,
"isIsolated": false
},
"dependsOn": [
"[resourceId('Microsoft.Web/sites/', variables('webAppName'))]"
]
}
]
}

Просмотреть файл

@ -0,0 +1,29 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Microsoft.BotBuilderSamples
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.ConfigureLogging((logging) =>
{
logging.AddDebug();
logging.AddConsole();
});
webBuilder.UseStartup<Startup>();
});
}
}

Просмотреть файл

@ -0,0 +1,28 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:3978",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
".NET Core": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:3979;http://localhost:3978",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

Просмотреть файл

@ -0,0 +1,91 @@
# Custom Question Answering
Bot Framework v4 Custom question answering bot sample.
This bot has been created using the [Bot Framework SDK][BF], it shows how to create a bot that uses [Cognitive Services' question answering feature][Quickstart].
[Question answering][LS] lets you to build, train and publish a simple question and answer bot based on FAQ URLs, structured and unstructured documents, or editorial content in minutes. In this sample, we demonstrate how to use question answering to answer questions based on an FAQ text file used as input.
## Prerequisites
- This project requires a [Language service resource](https://aka.ms/create-language-resource) with Custom question answering enabled.
### Configure knowledge base of the project
- See the [quickstart][Quickstart] to create a Custom question answering project. You will need this project's name to be used as `ProjectName` in [appsettings.json](appsettings.json).
- Go to [Language Studio][LS] and open the created project.
- Go to `Edit knowledge base` > `...` > `Import questions and answers` > `Import as TSV`.
- Import the [SampleForCQA.tsv](CognitiveModels/SampleForCQA.tsv) file.
- You can test your knowledge base by clicking on `Test` option.
- Go to `Deploy knowledge base` and click on `Deploy`.
### Connect your bot to the project
Follow these steps to update [appsettings.json](appsettings.json):
- In the [Azure Portal][Azure], go to your resource.
- Under Resource Management, go to `Keys and Endpoint`.
- Copy and paste the following values into their respective variables in [appsettings.json](appsettings.json):
- One of the keys: `LanguageEndpointKey`
- Endpoint: `LanguageEndpointHostName`
- `ProjectName` is the name of the project created in [Language Studio][LS].
## Try this sample
- Install the Bot Framework Emulator version 4.14.0 or greater from [here][BFE]
- Clone the repository
```bash
git clone https://github.com/Microsoft/botbuilder-samples.git
```
- In a terminal, navigate to `samples/csharp_dotnetcore/12.customQABot`
- Run the bot, either from a terminal or from Visual Studio, using the appropriate steps below:
A) From a terminal
```bash
# run the bot
dotnet run
```
B) Or from Visual Studio
- Launch Visual Studio
- File -> Open -> Project/Solution
- Navigate to `samples/csharp_dotnetcore/12.customQABot` folder
- Select `CustomQABot.csproj` file
- Press `F5` to run the project
- Connect to the bot using Bot Framework Emulator
1. Launch Bot Framework Emulator
2. File -> Open Bot
3. Enter a Bot URL of `http://localhost:3978/api/messages`
## Try precise answering
- Try the following utterances:
1. Accessibility
2. Register
- You should see a short answer returned, along with a long answer.
- If you're testing in [Language Studio][LS], you might have to check `Include short answer response` at the top.
- You can disable precise answering by setting `EnablePreciseAnswer` to false in [appsettings.json](appsettings.json).
- To only see precise answers in the response, set `DisplayPreciseAnswerOnly` to true in [appsettings.json](appsettings.json).
- To learn more, see [precise answering][PA].
## Deploy the bot to Azure
See [Deploy your C# bot to Azure][50] for instructions.
The deployment process assumes you have an account on Microsoft Azure and are able to log into the [Microsoft Azure Portal][Azure].
If you are new to Microsoft Azure, please refer to [Getting started with Azure][70] for guidance on how to get started on Azure.
## Further reading
- [How bots work](https://docs.microsoft.com/azure/bot-service/bot-builder-basics)
- [Question Answering Documentation](https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/overview)
- [Channels and Bot Connector Service](https://docs.microsoft.com/azure/bot-service/bot-concepts)
[50]: https://docs.microsoft.com/azure/bot-service/bot-builder-howto-deploy-azure
[70]: https://azure.microsoft.com/get-started/
[LS]: https://language.cognitive.azure.com/
[PA]: https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/concepts/precise-answering
[BF]: https://dev.botframework.com/
[Quickstart]: https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/quickstart/sdk
[Azure]: https://portal.azure.com
[BFE]: https://github.com/Microsoft/BotFramework-Emulator/releases

Просмотреть файл

@ -0,0 +1,53 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Integration.AspNet.Core;
using Microsoft.Bot.Connector.Authentication;
using Microsoft.BotBuilderSamples.Bots;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace Microsoft.BotBuilderSamples
{
public class Startup
{
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddHttpClient().AddControllers().AddNewtonsoftJson();
// Create the Bot Framework Authentication to be used with the Bot Adapter.
services.AddSingleton<BotFrameworkAuthentication, ConfigurationBotFrameworkAuthentication>();
// Create the Bot Adapter with error handling enabled.
services.AddSingleton<IBotFrameworkHttpAdapter, AdapterWithErrorHandler>();
// Create the bot as a transient. In this case the ASP Controller is expecting an IBot.
services.AddTransient<IBot, CustomQABot>();
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
app.UseDefaultFiles()
.UseStaticFiles()
.UseWebSockets()
.UseRouting()
.UseAuthorization()
.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
});
// app.UseHttpsRedirection();
}
}
}

Просмотреть файл

@ -0,0 +1,12 @@
{
"MicrosoftAppType": "",
"MicrosoftAppId": "",
"MicrosoftAppPassword": "",
"MicrosoftAppTenantId": "",
"ProjectName": "",
"LanguageEndpointKey": "",
"LanguageEndpointHostName": "",
"DefaultWelcomeMessage": "",
"EnablePreciseAnswer": "true",
"DisplayPreciseAnswerOnly": "false"
}

Просмотреть файл

@ -0,0 +1,417 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CustomQABot</title>
<style>
body {
margin: 0px;
padding: 0px;
font-family: Segoe UI;
}
html,
body {
height: 100%;
}
header {
background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 4638.9 651.6' style='enable-background:new 0 0 4638.9 651.6;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%2355A0E0;%7D .st1%7Bfill:none;%7D .st2%7Bfill:%230058A8;%7D .st3%7Bfill:%23328BD8;%7D .st4%7Bfill:%23B6DCF1;%7D .st5%7Bopacity:0.2;fill:url(%23SVGID_1_);enable-background:new ;%7D%0A%3C/style%3E%3Crect y='1.1' class='st0' width='4640' height='646.3'/%3E%3Cpath class='st1' d='M3987.8,323.6L4310.3,1.1h-65.6l-460.1,460.1c-17.5,17.5-46.1,17.5-63.6,0L3260.9,1.1H0v646.3h3660.3 L3889,418.7c17.5-17.5,46.1-17.5,63.6,0l228.7,228.7h66.6l-260.2-260.2C3970.3,369.8,3970.3,341.1,3987.8,323.6z'/%3E%3Cpath class='st2' d='M3784.6,461.2L4244.7,1.1h-983.9l460.1,460.1C3738.4,478.7,3767.1,478.7,3784.6,461.2z'/%3E%3Cpath class='st3' d='M4640,1.1h-329.8l-322.5,322.5c-17.5,17.5-17.5,46.1,0,63.6l260.2,260.2H4640L4640,1.1L4640,1.1z'/%3E%3Cpath class='st4' d='M3889,418.8l-228.7,228.7h521.1l-228.7-228.7C3935.2,401.3,3906.5,401.3,3889,418.8z'/%3E%3ClinearGradient id='SVGID_1_' gradientUnits='userSpaceOnUse' x1='3713.7576' y1='438.1175' x2='3911.4084' y2='14.2535' gradientTransform='matrix(1 0 0 -1 0 641.3969)'%3E%3Cstop offset='0' style='stop-color:%23FFFFFF;stop-opacity:0.5'/%3E%3Cstop offset='1' style='stop-color:%23FFFFFF'/%3E%3C/linearGradient%3E%3Cpath class='st5' d='M3952.7,124.5c-17.5-17.5-46.1-17.5-63.6,0l-523,523h1109.6L3952.7,124.5z'/%3E%3C/svg%3E%0A");
background-repeat: no-repeat;
background-size: 100%;
background-position: right;
background-color: #55A0E0;
width: 100%;
font-size: 44px;
height: 120px;
color: white;
padding: 30px 0 40px 0px;
display: inline-block;
}
.header-icon {
background-image: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%0A%09%20viewBox%3D%220%200%20150.2%20125%22%20style%3D%22enable-background%3Anew%200%200%20150.2%20125%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cstyle%20type%3D%22text/css%22%3E%0A%09.st0%7Bfill%3Anone%3B%7D%0A%09.st1%7Bfill%3A%23FFFFFF%3B%7D%0A%3C/style%3E%0A%3Crect%20x%3D%220.5%22%20class%3D%22st0%22%20width%3D%22149.7%22%20height%3D%22125%22/%3E%0A%3Cg%3E%0A%09%3Cpath%20class%3D%22st1%22%20d%3D%22M59%2C102.9L21.8%2C66c-3.5-3.5-3.5-9.1%2C0-12.5l37-36.5l2.9%2C3l-37%2C36.4c-1.8%2C1.8-1.8%2C4.7%2C0%2C6.6l37.2%2C37L59%2C102.9z%22%0A%09%09/%3E%0A%3C/g%3E%0A%3Cg%3E%0A%09%3Cpath%20class%3D%22st1%22%20d%3D%22M92.5%2C102.9l-3-3l37.2-37c0.9-0.9%2C1.4-2%2C1.4-3.3c0-1.2-0.5-2.4-1.4-3.3L89.5%2C20l2.9-3l37.2%2C36.4%0A%09%09c1.7%2C1.7%2C2.6%2C3.9%2C2.6%2C6.3s-0.9%2C4.6-2.6%2C6.3L92.5%2C102.9z%22/%3E%0A%3C/g%3E%0A%3Cg%3E%0A%09%3Cpath%20class%3D%22st1%22%20d%3D%22M90.1%2C68.4c-4.5%2C0-8-3.5-8-8.1c0-4.5%2C3.5-8.1%2C8-8.1c4.4%2C0%2C8%2C3.7%2C8%2C8.1C98.1%2C64.7%2C94.4%2C68.4%2C90.1%2C68.4z%0A%09%09%20M90.1%2C56.5c-2.2%2C0-3.8%2C1.7-3.8%2C3.9c0%2C2.2%2C1.7%2C3.9%2C3.8%2C3.9c1.9%2C0%2C3.8-1.6%2C3.8-3.9S91.9%2C56.5%2C90.1%2C56.5z%22/%3E%0A%3C/g%3E%0A%3Cg%3E%0A%09%3Cpath%20class%3D%22st1%22%20d%3D%22M61.4%2C68.4c-4.5%2C0-8-3.5-8-8.1c0-4.5%2C3.5-8.1%2C8-8.1c4.4%2C0%2C8%2C3.7%2C8%2C8.1C69.5%2C64.7%2C65.8%2C68.4%2C61.4%2C68.4z%0A%09%09%20M61.4%2C56.5c-2.2%2C0-3.8%2C1.7-3.8%2C3.9c0%2C2.2%2C1.7%2C3.9%2C3.8%2C3.9c1.9%2C0%2C3.8-1.6%2C3.8-3.9S63.3%2C56.5%2C61.4%2C56.5z%22/%3E%0A%3C/g%3E%0A%3C/svg%3E%0A");
background-repeat: no-repeat;
float: left;
height: 140px;
width: 140px;
display: inline-block;
vertical-align: middle;
}
.header-text {
padding-left: 1%;
color: #FFFFFF;
font-family: "Segoe UI";
font-size: 72px;
font-weight: 300;
letter-spacing: 0.35px;
line-height: 96px;
display: inline-block;
vertical-align: middle;
}
.header-inner-container {
min-width: 480px;
max-width: 1366px;
margin-left: auto;
margin-right: auto;
vertical-align: middle;
}
.header-inner-container::after {
content: "";
clear: both;
display: table;
}
.main-content-area {
padding-left: 30px;
}
.content-title {
color: #000000;
font-family: "Segoe UI";
font-size: 46px;
font-weight: 300;
line-height: 62px;
}
.main-text {
color: #808080;
font-size: 24px;
font-family: "Segoe UI";
font-size: 24px;
font-weight: 200;
line-height: 32px;
}
.main-text-p1{
padding-top: 48px;
padding-bottom: 28px;
}
.endpoint {
height: 32px;
width: 571px;
color: #808080;
font-family: "Segoe UI";
font-size: 24px;
font-weight: 200;
line-height: 32px;
padding-top: 28px;
}
.how-to-build-section {
padding-top: 20px;
padding-left: 30px;
}
.how-to-build-section>h3 {
font-size: 16px;
font-weight: 600;
letter-spacing: 0.35px;
line-height: 22px;
margin: 0 0 24px 0;
text-transform: uppercase;
}
.step-container {
display: flex;
align-items: stretch;
position: relative;
}
.step-container dl {
border-left: 1px solid #A0A0A0;
display: block;
padding: 0 24px;
margin: 0;
}
.step-container dl>dt::before {
background-color: white;
border: 1px solid #A0A0A0;
border-radius: 100%;
content: '';
left: 47px;
height: 11px;
position: absolute;
width: 11px;
}
.step-container dl>.test-bullet::before {
background-color: blue;
}
.step-container dl>dt {
display: block;
font-size: inherit;
font-weight: bold;
line-height: 20px;
}
.step-container dl>dd {
font-size: inherit;
line-height: 20px;
margin-left: 0;
padding-bottom: 32px;
}
.step-container:last-child dl {
border-left: 1px solid transparent;
}
.ctaLink {
background-color: transparent;
border: 1px solid transparent;
color: #006AB1;
cursor: pointer;
font-weight: 600;
padding: 0;
white-space: normal;
}
.ctaLink:focus {
outline: 1px solid #00bcf2;
}
.ctaLink:hover {
text-decoration: underline;
}
.step-icon {
display: flex;
height: 38px;
margin-right: 15px;
width: 38px;
}
.step-icon>div {
height: 30px;
width: 30px;
background-repeat: no-repeat;
}
.ms-logo-container {
min-width: 580px;
max-width: 980px;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
transition: bottom 400ms;
}
.ms-logo {
float: right;
background-image: url("data:image/svg+xml;utf8,%0A%3Csvg%20version%3D%221.1%22%20id%3D%22MS-symbol%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%0A%09%20viewBox%3D%220%200%20400%20120%22%20style%3D%22enable-background%3Anew%200%200%20400%20120%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cstyle%20type%3D%22text/css%22%3E%0A%09.st0%7Bfill%3Anone%3B%7D%0A%09.st1%7Bfill%3A%23737474%3B%7D%0A%09.st2%7Bfill%3A%23D63F26%3B%7D%0A%09.st3%7Bfill%3A%23167D3E%3B%7D%0A%09.st4%7Bfill%3A%232E76BC%3B%7D%0A%09.st5%7Bfill%3A%23FDB813%3B%7D%0A%3C/style%3E%0A%3Crect%20x%3D%220.6%22%20class%3D%22st0%22%20width%3D%22398.7%22%20height%3D%22119%22/%3E%0A%3Cpath%20class%3D%22st1%22%20d%3D%22M171.3%2C38.4v43.2h-7.5V47.7h-0.1l-13.4%2C33.9h-5l-13.7-33.9h-0.1v33.9h-6.9V38.4h10.8l12.4%2C32h0.2l13.1-32H171.3%0A%09z%20M177.6%2C41.7c0-1.2%2C0.4-2.2%2C1.3-3c0.9-0.8%2C1.9-1.2%2C3.1-1.2c1.3%2C0%2C2.4%2C0.4%2C3.2%2C1.3c0.8%2C0.8%2C1.3%2C1.8%2C1.3%2C3c0%2C1.2-0.4%2C2.2-1.3%2C3%0A%09c-0.9%2C0.8-1.9%2C1.2-3.2%2C1.2s-2.3-0.4-3.1-1.2C178%2C43.8%2C177.6%2C42.8%2C177.6%2C41.7z%20M185.7%2C50.6v31h-7.3v-31H185.7z%20M207.8%2C76.3%0A%09c1.1%2C0%2C2.3-0.3%2C3.6-0.8c1.3-0.5%2C2.5-1.2%2C3.6-2v6.8c-1.2%2C0.7-2.5%2C1.2-4%2C1.5c-1.5%2C0.3-3.1%2C0.5-4.9%2C0.5c-4.6%2C0-8.3-1.4-11.1-4.3%0A%09c-2.9-2.9-4.3-6.6-4.3-11c0-5%2C1.5-9.1%2C4.4-12.3c2.9-3.2%2C7-4.8%2C12.4-4.8c1.4%2C0%2C2.7%2C0.2%2C4.1%2C0.5c1.4%2C0.4%2C2.5%2C0.8%2C3.3%2C1.2v7%0A%09c-1.1-0.8-2.3-1.5-3.4-1.9c-1.2-0.5-2.4-0.7-3.6-0.7c-2.9%2C0-5.2%2C0.9-7%2C2.8c-1.8%2C1.9-2.7%2C4.4-2.7%2C7.6c0%2C3.1%2C0.8%2C5.6%2C2.5%2C7.3%0A%09C202.6%2C75.4%2C204.9%2C76.3%2C207.8%2C76.3z%20M235.7%2C50.1c0.6%2C0%2C1.1%2C0%2C1.6%2C0.1s0.9%2C0.2%2C1.2%2C0.3v7.4c-0.4-0.3-0.9-0.5-1.7-0.8%0A%09c-0.7-0.3-1.6-0.4-2.7-0.4c-1.8%2C0-3.3%2C0.8-4.5%2C2.3c-1.2%2C1.5-1.9%2C3.8-1.9%2C7v15.6h-7.3v-31h7.3v4.9h0.1c0.7-1.7%2C1.7-3%2C3-4%0A%09C232.2%2C50.6%2C233.8%2C50.1%2C235.7%2C50.1z%20M238.9%2C66.6c0-5.1%2C1.4-9.2%2C4.3-12.2c2.9-3%2C6.9-4.5%2C12.1-4.5c4.8%2C0%2C8.6%2C1.4%2C11.3%2C4.3%0A%09c2.7%2C2.9%2C4.1%2C6.8%2C4.1%2C11.7c0%2C5-1.4%2C9-4.3%2C12c-2.9%2C3-6.8%2C4.5-11.8%2C4.5c-4.8%2C0-8.6-1.4-11.4-4.2C240.3%2C75.3%2C238.9%2C71.4%2C238.9%2C66.6z%0A%09%20M246.5%2C66.3c0%2C3.2%2C0.7%2C5.7%2C2.2%2C7.4c1.5%2C1.7%2C3.6%2C2.6%2C6.3%2C2.6c2.7%2C0%2C4.7-0.9%2C6.1-2.6c1.4-1.7%2C2.1-4.2%2C2.1-7.6c0-3.3-0.7-5.8-2.2-7.5%0A%09c-1.4-1.7-3.4-2.5-6-2.5c-2.7%2C0-4.7%2C0.9-6.2%2C2.7C247.2%2C60.5%2C246.5%2C63%2C246.5%2C66.3z%20M281.5%2C58.8c0%2C1%2C0.3%2C1.9%2C1%2C2.5%0A%09c0.7%2C0.6%2C2.1%2C1.3%2C4.4%2C2.2c2.9%2C1.2%2C5%2C2.5%2C6.1%2C3.9c1.2%2C1.5%2C1.8%2C3.2%2C1.8%2C5.3c0%2C2.9-1.1%2C5.3-3.4%2C7c-2.2%2C1.8-5.3%2C2.7-9.1%2C2.7%0A%09c-1.3%2C0-2.7-0.2-4.3-0.5c-1.6-0.3-2.9-0.7-4-1.2v-7.2c1.3%2C0.9%2C2.8%2C1.7%2C4.3%2C2.2c1.5%2C0.5%2C2.9%2C0.8%2C4.2%2C0.8c1.6%2C0%2C2.9-0.2%2C3.6-0.7%0A%09c0.8-0.5%2C1.2-1.2%2C1.2-2.3c0-1-0.4-1.9-1.2-2.5c-0.8-0.7-2.4-1.5-4.6-2.4c-2.7-1.1-4.6-2.4-5.7-3.8c-1.1-1.4-1.7-3.2-1.7-5.4%0A%09c0-2.8%2C1.1-5.1%2C3.3-6.9c2.2-1.8%2C5.1-2.7%2C8.6-2.7c1.1%2C0%2C2.3%2C0.1%2C3.6%2C0.4c1.3%2C0.2%2C2.5%2C0.6%2C3.4%2C0.9v6.9c-1-0.6-2.1-1.2-3.4-1.7%0A%09c-1.3-0.5-2.6-0.7-3.8-0.7c-1.4%2C0-2.5%2C0.3-3.2%2C0.8C281.9%2C57.1%2C281.5%2C57.8%2C281.5%2C58.8z%20M297.9%2C66.6c0-5.1%2C1.4-9.2%2C4.3-12.2%0A%09c2.9-3%2C6.9-4.5%2C12.1-4.5c4.8%2C0%2C8.6%2C1.4%2C11.3%2C4.3c2.7%2C2.9%2C4.1%2C6.8%2C4.1%2C11.7c0%2C5-1.4%2C9-4.3%2C12c-2.9%2C3-6.8%2C4.5-11.8%2C4.5%0A%09c-4.8%2C0-8.6-1.4-11.4-4.2C299.4%2C75.3%2C297.9%2C71.4%2C297.9%2C66.6z%20M305.5%2C66.3c0%2C3.2%2C0.7%2C5.7%2C2.2%2C7.4c1.5%2C1.7%2C3.6%2C2.6%2C6.3%2C2.6%0A%09c2.7%2C0%2C4.7-0.9%2C6.1-2.6c1.4-1.7%2C2.1-4.2%2C2.1-7.6c0-3.3-0.7-5.8-2.2-7.5c-1.4-1.7-3.4-2.5-6-2.5c-2.7%2C0-4.7%2C0.9-6.2%2C2.7%0A%09C306.3%2C60.5%2C305.5%2C63%2C305.5%2C66.3z%20M353.9%2C56.6h-10.9v25h-7.4v-25h-5.2v-6h5.2v-4.3c0-3.3%2C1.1-5.9%2C3.2-8c2.1-2.1%2C4.8-3.1%2C8.1-3.1%0A%09c0.9%2C0%2C1.7%2C0%2C2.4%2C0.1c0.7%2C0.1%2C1.3%2C0.2%2C1.8%2C0.4V42c-0.2-0.1-0.7-0.3-1.3-0.5c-0.6-0.2-1.3-0.3-2.1-0.3c-1.5%2C0-2.7%2C0.5-3.5%2C1.4%0A%09s-1.2%2C2.4-1.2%2C4.2v3.7h10.9v-7l7.3-2.2v9.2h7.4v6h-7.4v14.5c0%2C1.9%2C0.3%2C3.3%2C1%2C4c0.7%2C0.8%2C1.8%2C1.2%2C3.3%2C1.2c0.4%2C0%2C0.9-0.1%2C1.5-0.3%0A%09c0.6-0.2%2C1.1-0.4%2C1.6-0.7v6c-0.5%2C0.3-1.2%2C0.5-2.3%2C0.7c-1.1%2C0.2-2.1%2C0.3-3.2%2C0.3c-3.1%2C0-5.4-0.8-6.9-2.5c-1.5-1.6-2.3-4.1-2.3-7.4%0A%09V56.6z%22/%3E%0A%3Cg%3E%0A%09%3Crect%20x%3D%2231%22%20y%3D%2224%22%20class%3D%22st2%22%20width%3D%2234.2%22%20height%3D%2234.2%22/%3E%0A%09%3Crect%20x%3D%2268.8%22%20y%3D%2224%22%20class%3D%22st3%22%20width%3D%2234.2%22%20height%3D%2234.2%22/%3E%0A%09%3Crect%20x%3D%2231%22%20y%3D%2261.8%22%20class%3D%22st4%22%20width%3D%2234.2%22%20height%3D%2234.2%22/%3E%0A%09%3Crect%20x%3D%2268.8%22%20y%3D%2261.8%22%20class%3D%22st5%22%20width%3D%2234.2%22%20height%3D%2234.2%22/%3E%0A%3C/g%3E%0A%3C/svg%3E%0A");
}
.ms-logo-container>div {
min-height: 60px;
width: 150px;
background-repeat: no-repeat;
}
.row {
padding: 90px 0px 0 20px;
min-width: 480px;
max-width: 1366px;
margin-left: auto;
margin-right: auto;
}
.column {
float: left;
width: 45%;
padding-right: 20px;
}
.row:after {
content: "";
display: table;
clear: both;
}
a {
text-decoration: none;
}
.download-the-emulator {
height: 20px;
color: #0063B1;
font-size: 15px;
line-height: 20px;
padding-bottom: 70px;
}
.how-to-iframe {
max-width: 700px !important;
min-width: 650px !important;
height: 700px !important;
}
.remove-frame-height {
height: 10px;
}
@media only screen and (max-width: 1300px) {
.ms-logo {
padding-top: 30px;
}
.header-text {
font-size: 40px;
}
.column {
float: none;
padding-top: 30px;
width: 100%;
}
.ms-logo-container {
padding-top: 30px;
min-width: 480px;
max-width: 650px;
margin-left: auto;
margin-right: auto;
}
.row {
padding: 20px 0px 0 20px;
min-width: 480px;
max-width: 650px;
margin-left: auto;
margin-right: auto;
}
}
@media only screen and (max-width: 1370px) {
header {
background-color: #55A0E0;
background-size: auto 200px;
}
}
@media only screen and (max-width: 1230px) {
header {
background-color: #55A0E0;
background-size: auto 200px;
}
.header-text {
font-size: 44px;
}
.header-icon {
height: 120px;
width: 120px;
}
}
@media only screen and (max-width: 1000px) {
header {
background-color: #55A0E0;
background-image: none;
}
}
@media only screen and (max-width: 632px) {
.header-text {
font-size: 32px;
}
.row {
padding: 10px 0px 0 10px;
max-width: 490px !important;
min-width: 410px !important;
}
.endpoint {
font-size: 25px;
}
.main-text {
font-size: 20px;
}
.step-container dl>dd {
font-size: 14px;
}
.column {
padding-right: 5px;
}
.header-icon {
height: 110px;
width: 110px;
}
.how-to-iframe {
max-width: 480px !important;
min-width: 400px !important;
height: 650px !important;
overflow: hidden;
}
}
.remove-frame-height {
max-height: 10px;
}
</style>
<script>
document.addEventListener('DOMContentLoaded', function () {
loadFrame();
});
var loadFrame = function () {
var iframe = document.createElement('iframe');
iframe.setAttribute("id", "iframe");
var offLineHTMLContent = "";
var frameElement = document.getElementById("how-to-iframe");
if (window.navigator.onLine) {
iframe.src = 'https://docs.botframework.com/static/abs/pages/f5.htm';
iframe.setAttribute("scrolling", "no");
iframe.setAttribute("frameborder", "0");
iframe.setAttribute("width", "100%");
iframe.setAttribute("height", "100%");
var frameDiv = document.getElementById("how-to-iframe");
frameDiv.appendChild(iframe);
} else {
frameElement.classList.add("remove-frame-height");
}
};
</script>
</head>
<body>
<header class="header">
<div class="header-inner-container">
<div class="header-icon" style="display: inline-block"></div>
<div class="header-text" style="display: inline-block">CustomQABot</div>
</div>
</header>
<div class="row">
<div class="column main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Bot Service</a> to register your bot and add it to<br />
various channels. The bot's endpoint URL typically looks
like this:</div>
<div class="endpoint">https://<i>your_bots_hostname</i>/api/messages</div>
</div>
<div class="column how-to-iframe" id="how-to-iframe"></div>
</div>
<div class="ms-logo-container">
<div class="ms-logo"></div>
</div>
</body>
</html>

Просмотреть файл

@ -24,8 +24,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Testing" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Testing" Version="4.16.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.1.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">

Просмотреть файл

@ -15,9 +15,9 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
<PackageReference Include="Microsoft.Recognizers.Text.DataTypes.TimexExpression" Version="1.7.0" />
</ItemGroup>

Просмотреть файл

@ -14,9 +14,9 @@
<ItemGroup>
<PackageReference Include="Microsoft.Bot.Builder.AI.Orchestrator" Version="4.15.0" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.15.0" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.15.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.0" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -7,8 +7,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Recognizers.Text.DataTypes.TimexExpression" Version="1.3.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
<PackageReference Include="Microsoft.Recognizers.Text.DataTypes.TimexExpression" Version="1.7.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -8,7 +8,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.17.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
<PackageReference Include="System.Text.Encodings.Web" Version="4.7.2" />
</ItemGroup>

Просмотреть файл

@ -7,8 +7,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -7,8 +7,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -15,12 +15,12 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.15.0" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.ApplicationInsights" Version="4.15.0" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.0" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.15.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.0" />
<PackageReference Include="Microsoft.Recognizers.Text.DataTypes.TimexExpression" Version="1.3.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
<PackageReference Include="Microsoft.Recognizers.Text.DataTypes.TimexExpression" Version="1.7.0" />
</ItemGroup>
</Project>

Просмотреть файл

@ -8,8 +8,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -8,8 +8,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Graph" Version="1.21.0" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -15,8 +15,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Recognizers.Text.DataTypes.TimexExpression" Version="1.3.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
<PackageReference Include="Microsoft.Recognizers.Text.DataTypes.TimexExpression" Version="1.7.0" />
<PackageReference Include="Microsoft.Recognizers.Text.DateTime" Version="1.3.2" />
</ItemGroup>

Просмотреть файл

@ -8,8 +8,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="9.4.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -7,9 +7,9 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Recognizers.Text.DataTypes.TimexExpression" Version="1.3.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
<PackageReference Include="Microsoft.Recognizers.Text.DataTypes.TimexExpression" Version="1.7.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -8,7 +8,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
<PackageReference Include="Microsoft.Recognizers.Text" Version="1.3.2" />
<PackageReference Include="Microsoft.Recognizers.Text.DateTime" Version="1.3.2" />
</ItemGroup>

Просмотреть файл

@ -9,7 +9,7 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Azure" Version="4.15.0" />
<PackageReference Include="Microsoft.Bot.Builder.Azure.Blobs" Version="4.15.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -9,8 +9,8 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" />
<PackageReference Include="Microsoft.Graph" Version="1.21.0" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
</Project>

Просмотреть файл

@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -0,0 +1,51 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Net.Http;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Integration.AspNet.Core;
using Microsoft.Bot.Builder.TraceExtensions;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Microsoft.BotBuilderSamples
{
public class AdapterWithErrorHandler : CloudAdapter
{
public AdapterWithErrorHandler(IConfiguration configuration, IHttpClientFactory httpClientFactory, ILogger<IBotFrameworkHttpAdapter> logger, ConversationState conversationState = default)
: base(configuration, httpClientFactory, logger)
{
OnTurnError = async (turnContext, exception) =>
{
// Log any leaked exception from the application.
// NOTE: In production environment, you should consider logging this to
// Azure Application Insights. Visit https://aka.ms/bottelemetry to see how
// to add telemetry capture to your bot.
logger.LogError(exception, $"[OnTurnError] unhandled error : {exception.Message}");
// Send a message to the user
await turnContext.SendActivityAsync("The bot encountered an error or bug.");
await turnContext.SendActivityAsync("To continue to run this bot, please fix the bot source code.");
if (conversationState != null)
{
try
{
// Delete the conversationState for the current conversation to prevent the
// bot from getting stuck in a error-loop caused by being in a bad state.
// ConversationState should be thought of as similar to "cookie-state" in a Web pages.
await conversationState.DeleteAsync(turnContext);
}
catch (Exception e)
{
logger.LogError(e, $"Exception caught on attempting to Delete ConversationState : {e.Message}");
}
}
// Send a trace activity, which will be displayed in the Bot Framework Emulator
await turnContext.TraceActivityAsync("OnTurnError Trace", exception.Message, "https://www.botframework.com/schemas/error", "TurnError");
};
}
}
}

Просмотреть файл

@ -0,0 +1,63 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Schema;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Microsoft.BotBuilderSamples.Bots
{
public class CustomQABot<T> : ActivityHandler where T : Dialog
{
private readonly BotState _conversationState;
private readonly Dialog _dialog;
private readonly BotState _userState;
private readonly ILogger _logger;
private readonly string _defaultWelcome = "Hello and Welcome";
public CustomQABot(IConfiguration configuration, ConversationState conversationState, UserState userState, T dialog, ILogger<CustomQABot<T>> logger)
{
var welcomeMsg = configuration["DefaultWelcomeMessage"];
if (!string.IsNullOrWhiteSpace(welcomeMsg))
{
_defaultWelcome = welcomeMsg;
}
_conversationState = conversationState;
_userState = userState;
_dialog = dialog;
_logger = logger;
}
public override async Task OnTurnAsync(ITurnContext turnContext, CancellationToken cancellationToken = default)
{
await base.OnTurnAsync(turnContext, cancellationToken);
// Save any state changes that might have occurred during the turn.
await _conversationState.SaveChangesAsync(turnContext, false, cancellationToken);
await _userState.SaveChangesAsync(turnContext, false, cancellationToken);
}
protected override async Task OnMessageActivityAsync(ITurnContext<IMessageActivity> turnContext, CancellationToken cancellationToken)
{
// Run the Dialog with the new message Activity.
await _dialog.RunAsync(turnContext, _conversationState.CreateProperty<DialogState>(nameof(DialogState)), cancellationToken);
}
protected override async Task OnMembersAddedAsync(IList<ChannelAccount> membersAdded, ITurnContext<IConversationUpdateActivity> turnContext, CancellationToken cancellationToken)
{
foreach (var member in membersAdded)
{
if (member.Id != turnContext.Activity.Recipient.Id)
{
await turnContext.SendActivityAsync(MessageFactory.Text(_defaultWelcome), cancellationToken);
}
}
}
}
}

Просмотреть файл

@ -0,0 +1,157 @@
Question Answer Source Metadata SuggestedQuestions IsContextOnly Prompts QnaId SourceDisplayName
User Guide https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [{"DisplayOrder":0,"QnaId":27,"Qna":null,"DisplayText":"With Windows 10"},{"DisplayOrder":1,"QnaId":28,"Qna":null,"DisplayText":"✪ Meet Surface Book"},{"DisplayOrder":2,"QnaId":43,"Qna":null,"DisplayText":"Set up your Surface Book"},{"DisplayOrder":3,"QnaId":47,"Qna":null,"DisplayText":"The basics"},{"DisplayOrder":4,"QnaId":71,"Qna":null,"DisplayText":"Accounts and signing in"},{"DisplayOrder":5,"QnaId":78,"Qna":null,"DisplayText":"Get to know Windows 10"},{"DisplayOrder":6,"QnaId":84,"Qna":null,"DisplayText":"Keep your Surface Book up to date"},{"DisplayOrder":7,"QnaId":85,"Qna":null,"DisplayText":"Browse the Internet"},{"DisplayOrder":8,"QnaId":87,"Qna":null,"DisplayText":"Storage options"},{"DisplayOrder":9,"QnaId":90,"Qna":null,"DisplayText":"Surface Pen"},{"DisplayOrder":10,"QnaId":105,"Qna":null,"DisplayText":"Apps and the Windows Store"},{"DisplayOrder":11,"QnaId":112,"Qna":null,"DisplayText":"Connect devices and accessories"},{"DisplayOrder":12,"QnaId":125,"Qna":null,"DisplayText":"Surface audio features"},{"DisplayOrder":13,"QnaId":137,"Qna":null,"DisplayText":"Cameras and the Camera app"},{"DisplayOrder":14,"QnaId":146,"Qna":null,"DisplayText":"Personalization and settings"},{"DisplayOrder":15,"QnaId":153,"Qna":null,"DisplayText":"Accessibility"},{"DisplayOrder":16,"QnaId":169,"Qna":null,"DisplayText":"Clean and care for your Surface Book"},{"DisplayOrder":17,"QnaId":176,"Qna":null,"DisplayText":"Registration, repair, and warranty"},{"DisplayOrder":18,"QnaId":181,"Qna":null,"DisplayText":"More help"}] 26 Surface
With Windows 10 **With Windows 10**\n\nPublished: September 2016\n\nVersion 2.0\n\n✪\n\n© 2016 Microsoft. All rights reserved.\n\nBlueTrack Technology, Microsoft, OneNote, Outlook, PowerPoint, OneDrive, Windows, Xbox, and Xbox Live are registered trademarks of Microsoft Corporation.\n\nSurface and Skype are trademarks of Microsoft Corporation.\n\nBluetooth is a registered trademark of Bluetooth SIG, Inc.\n\nDolby and the double-D symbol are registered trademarks of Dolby Laboratories.\n\nThis document is provided “as-is.” Information in this document, including URL and other Internet website references, may change without notice. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 27 Surface
✪ Meet Surface Book **✪ Meet Surface Book**\n\nGet to know Surface Book, the ultra-thin, high-performance laptop with exceptional power and versatility. Use this guide to get started with your Surface Book. For more details and how-to info, go online to Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [{"ClusterHead":"book","TotalAutoSuggestedCount":3,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"book","AutoSuggestedCount":3,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":29,"Qna":null,"DisplayText":"Surface Book features"}] 28 Surface
Surface Book features **Surface Book features**\n\n| Power button | Press the power button to turn your Surface Book on. You can also use the power button to put your Surface Book to sleep and wake it when youre ready to start working again. |\n| --- | --- |\n| Clipboard | Detach the thin, light Clipboard from the keyboard for mobile computing and easy presentation in tablet mode. Use the 13.5” full HD display, with its 3:2 aspect ratio and 3000 x 2000 resolution display, to watch HD movies, browse the web, and use your favorite apps. |\n\n| | The 10-point multi-touch touchscreen lets you use your fingers to select, zoom, and move things around. |\n| --- | --- |\n| Keyboard | Mechanical friction attaches the Clipboard to the keyboard. The keyboard features a standard layout and backlit keys, with special shortcut and function keys to help you do common tasks more quickly. |\n| Surface Pen | Write naturally with the included Surface Pen. Quickly jot down notes or capture screenshots in OneNote, even while your Surface is locked. |\n| Wi-Fi and Bluetooth | Surface Book supports standard Wi-Fi protocols (802.11a/b/g/n/ac) and Bluetooth® 4.0. Connect to a wireless network and use Bluetooth devices such as mice, printers, and headsets. |\n| Cameras | Surface Book features an 8-megapixel rear camera with autofocus and a 5-megapixel, fixed-focus front camera. Both cameras are high resolution and record video in 1080p, with a 16:9 aspect ratio (widescreen). Surface Book is also Windows Hello compatible with an infrared (IR) face-detection camera built in. |\n| Microphones | Two noise-canceling microphones ensure accurate audio recording and enhanced call quality. |\n| Stereo speakers | Two front-facing stereo speakers with Dolby® enhanced sound provide an immersive playback experience for all your music, podcasts, and audio books. |\n\n| Ports and connectors | Surface Book has the ports you expect from a full-feature laptop. Two full-size USB 3.0 ports Connect a USB accessory like a mouse, printer, Ethernet adapter, USB drive, or smartphone. SD card slot Use the full-size SD card slot with an SD card (sold separately) for extra storage and transferring files. Mini DisplayPort version 1.2a Share whats on your Surface screen by connecting it to an HDTV, monitor, or projector. (Video adapters are sold separately.) 3.5 mm headset jack Plug in your favorite headset for a little more privacy when listening to music or conference calls. |\n| --- | --- |\n| Software | Windows 10 operating system Windows 10 provides a variety of options for entertainment and productivity whether youre at school, at home, or on the go. |\n\n| | Apps Surface Book comes with great built-in apps, and you can find more apps in the [Windows Store](http://windows.microsoft.com/en-us/windows-10/getstarted-explore-the-store) . You can also use your favorite desktop apps on Surface Book. |\n| --- | --- |\n| Processor | The 6th Gen Intel® Core™ i5 or i7 processor provides the speed and power you need for smooth, fast performance. |\n| Memory and storage | Choose from various configurations up to 16 GB of RAM with 512 GB storage. |\n| Sensors | Six sensors—magnetometer, ambient light sensor, accelerometer, gyroscope, Hall effect, and Wi-Fi SAR—let apps do things like track motion and determine location. | https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface book features [] False [{"DisplayOrder":0,"QnaId":30,"Qna":null,"DisplayText":"Power button"},{"DisplayOrder":1,"QnaId":31,"Qna":null,"DisplayText":"Clipboard"},{"DisplayOrder":2,"QnaId":32,"Qna":null,"DisplayText":"Keyboard"},{"DisplayOrder":3,"QnaId":33,"Qna":null,"DisplayText":"Surface Pen"},{"DisplayOrder":4,"QnaId":34,"Qna":null,"DisplayText":"Wi-Fi and Bluetooth"},{"DisplayOrder":5,"QnaId":35,"Qna":null,"DisplayText":"Cameras"},{"DisplayOrder":6,"QnaId":36,"Qna":null,"DisplayText":"Microphones"},{"DisplayOrder":7,"QnaId":37,"Qna":null,"DisplayText":"Stereo speakers"},{"DisplayOrder":8,"QnaId":38,"Qna":null,"DisplayText":"Ports and connectors"},{"DisplayOrder":9,"QnaId":39,"Qna":null,"DisplayText":"Software"},{"DisplayOrder":10,"QnaId":40,"Qna":null,"DisplayText":"Processor"},{"DisplayOrder":11,"QnaId":41,"Qna":null,"DisplayText":"Memory and storage"},{"DisplayOrder":12,"QnaId":42,"Qna":null,"DisplayText":"Sensors"}] 29 Surface
Power button ** Power button**\nis Press the power button to turn your Surface Book on. You can also use the power button to put your Surface Book to sleep and wake it when youre ready to start working again. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 30 Surface
Clipboard ** Clipboard**\nis Detach the thin, light Clipboard from the keyboard for mobile computing and easy presentation in tablet mode. Use the 13.5” full HD display, with its 3:2 aspect ratio and 3000 x 2000 resolution display, to watch HD movies, browse the web, and use your favorite apps. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 31 Surface
Keyboard ** Keyboard**\nis Mechanical friction attaches the Clipboard to the keyboard. The keyboard features a standard layout and backlit keys, with special shortcut and function keys to help you do common tasks more quickly. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 32 Surface
Surface Pen ** Surface Pen**\nis Write naturally with the included Surface Pen. Quickly jot down notes or capture screenshots in OneNote, even while your Surface is locked. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 33 Surface
Wi-Fi and Bluetooth ** Wi-Fi and Bluetooth**\nis Surface Book supports standard Wi-Fi protocols (802.11a/b/g/n/ac) and Bluetooth® 4.0. Connect to a wireless network and use Bluetooth devices such as mice, printers, and headsets. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 34 Surface
Cameras ** Cameras**\nis Surface Book features an 8-megapixel rear camera with autofocus and a 5-megapixel, fixed-focus front camera. Both cameras are high resolution and record video in 1080p, with a 16:9 aspect ratio (widescreen). Surface Book is also Windows Hello compatible with an infrared (IR) face-detection camera built in. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 35 Surface
Microphones ** Microphones**\nis Two noise-canceling microphones ensure accurate audio recording and enhanced call quality. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 36 Surface
Stereo speakers ** Stereo speakers**\nis Two front-facing stereo speakers with Dolby® enhanced sound provide an immersive playback experience for all your music, podcasts, and audio books. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 37 Surface
Ports and connectors ** Ports and connectors**\nis Surface Book has the ports you expect from a full-feature laptop. Two full-size USB 3.0 ports Connect a USB accessory like a mouse, printer, Ethernet adapter, USB drive, or smartphone. SD card slot Use the full-size SD card slot with an SD card (sold separately) for extra storage and transferring files. Mini DisplayPort version 1.2a Share whats on your Surface screen by connecting it to an HDTV, monitor, or projector. (Video adapters are sold separately.) 3.5 mm headset jack Plug in your favorite headset for a little more privacy when listening to music or conference calls. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [{"ClusterHead":"sdk","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"sdk","AutoSuggestedCount":1,"UserSuggestedCount":0}]}] False [] 38 Surface
Software ** Software**\nis Windows 10 operating system Windows 10 provides a variety of options for entertainment and productivity whether youre at school, at home, or on the go. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 39 Surface
Processor ** Processor**\nis The 6th Gen Intel® Core™ i5 or i7 processor provides the speed and power you need for smooth, fast performance. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 40 Surface
Memory and storage ** Memory and storage**\nis Choose from various configurations up to 16 GB of RAM with 512 GB storage. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 41 Surface
Sensors ** Sensors**\nis Six sensors—magnetometer, ambient light sensor, accelerometer, gyroscope, Hall effect, and Wi-Fi SAR—let apps do things like track motion and determine location. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 42 Surface
Set up your Surface Book **Set up your Surface Book**\n\nBefore you start, make sure a wireless network is available and you have the network password.\n\nIf you have a [Microsoft account](http://windows.microsoft.com/en-us/windows-10/getstarted-microsoft-account) , use it to set up your Surface Book. A Microsoft account is an email address and password you use to sign in to other Microsoft services like Xbox, Outlook.com, OneDrive, Skype, or Windows Phone. If you dont already have a Microsoft account, you can create one during setup. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set up your surface book [{"ClusterHead":"setup surface","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"setup surface","AutoSuggestedCount":1,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":44,"Qna":null,"DisplayText":"Charge your Surface Book"},{"DisplayOrder":1,"QnaId":45,"Qna":null,"DisplayText":"Set up Windows"},{"DisplayOrder":2,"QnaId":46,"Qna":null,"DisplayText":"Choose a mode to work in"}] 43 Surface
Charge your Surface Book **Charge your Surface Book**\n\n1. Connect the two parts of the power cord.\n2. Connect the power cord securely to the charging port on your Surface Book. A light appears at the end of the connector when your Surface is getting power.✪\n3. Plug the power supply into an electrical outlet. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:charge your surface book [{"ClusterHead":"book","TotalAutoSuggestedCount":3,"TotalUserSuggestedCount":1,"AlternateQuestionList":[{"Question":"book","AutoSuggestedCount":3,"UserSuggestedCount":1}]}] False [] 44 Surface
Set up Windows **Set up Windows**\n\nPress the power button to turn on your Surface Book.\n\nWindows starts and guides you through the setup process. During setup youll connect to a wireless network and choose a language, color scheme, and name for your Surface. ✪\n\nFor more info, see [Set up your Surface](http://www.microsoft.com/surface/support/getting-started/set-up-your-surface) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set up windows [] False [] 45 Surface
Choose a mode to work in **Choose a mode to work in**\n\nYou can configure your Surface Book to suit whatever youre doing at the moment. With the Clipboard attached to the full-size backlit keyboard, Surface Book is a high-performance laptop. ✪\n\nThe keyboard attaches to the Clipboard with a friction mechanism. You can detach the keyboard and reattach it in the position you want.\n\nTo detach the keyboard:\n\n1. Press and hold the Detach key , or select Detach in the taskbar, until the LED on the key glows red, then green.✪ ✪\n2. When the light turns green, pull the Clipboard away from the keyboard.\n\n| With the Clipboard detached from the keyboard, Surface Book becomes a thin, light tablet that works perfectly with OneNote and Surface Pen. It even has its own battery, giving you several hours of use with the keyboard detached. | |\n| --- | --- |\n| To reattach the keyboard, align the keyboard and Clipboard and bring them together until they click into place. | |\n| Turn the Clipboard around and reattach it to use Surface Book like a creative canvas. By reconnecting it to the keyboard, you have access to the USB ports and the DisplayPort and you have more battery time. | |\n| Show your screen to other people in the room by attaching the Clipboard to the keyboard so youre looking at the back of the Clipboard as you type. | |\n\n✪\n\n✪\n\n✪\n\nNote: Surface Book uses battery power to release the Clipboard. If the battery is too low, the green light wont come on and you wont be able to detach the keyboard from the Clipboard. Charge your Surface Book until you have enough power to disable the friction mechanism. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:choose a mode to work in [] False [] 46 Surface
The basics **The basics**\n\nHere are a few basic things to know about your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:the basics [] False [{"DisplayOrder":0,"QnaId":48,"Qna":null,"DisplayText":"Power and charging"},{"DisplayOrder":1,"QnaId":52,"Qna":null,"DisplayText":"Power states: On, off, sleep, and restart"},{"DisplayOrder":2,"QnaId":57,"Qna":null,"DisplayText":"Touch, keyboard, pen, and mouse"}] 47 Surface
Power and charging **Power and charging**\n\nSurface Book has two batteries—one in the keyboard and one in the Clipboard. It takes two to four hours to charge Surface Book fully from an empty state. It can take longer if youre using your Surface Book for power-intensive activities like gaming or video streaming while youre charging it.\n\nYou can use the USB port on your power supply to charge other devices, like a phone, while your Surface Book charges. Note that the USB port on the power supply is only for charging, not for data transfer. If you want to use a USB device, plug it into the USB port on your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:power and charging [{"ClusterHead":"power and charging","TotalAutoSuggestedCount":27,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"power and charging","AutoSuggestedCount":27,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":49,"Qna":null,"DisplayText":"Check the battery level"},{"DisplayOrder":1,"QnaId":51,"Qna":null,"DisplayText":"Making your battery last"}] 48 Surface
Check the battery level **Check the battery level**\n\nYou can check the battery level from the lock screen or on the desktop. Lock screen\n\nWhen you wake your Surface Book, the battery status appears in the lower-right corner of the lock screen. ✪ https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:check the battery level [{"ClusterHead":"Check the battery level","TotalAutoSuggestedCount":7,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"Check the battery level","AutoSuggestedCount":7,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":50,"Qna":null,"DisplayText":"Desktop taskbar"}] 49 Surface
Desktop taskbar **Desktop taskbar**\n\nOn the desktop, select the battery status icon on the right side of the taskbar. The battery status pane shows the charging level for both batteries. ✪\n\nWhen your Surface Book is fully charged, it should last up to 10 hours for web browsing. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 50 Surface
Making your battery last **Making your battery last**\n\nTo learn ways to conserve power and make your battery last longer, see [Surface battery and power](https://www.microsoft.com/surface/support/hardware-and-drivers/battery-and-power-pro) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:making your battery last [] False [] 51 Surface
Power states: On, off, sleep, and restart **Power states: On, off, sleep, and restart**\n\nHere's how to turn your Surface Book on, shut it down, restart and wake it, and put it into a power-saving state. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:power states: on, off, sleep, and restart [] False [{"DisplayOrder":0,"QnaId":53,"Qna":null,"DisplayText":"On or wake"}] 52 Surface
On or wake **On or wake**\n\nPress and release the power button on Surface Book. Or, press the top button on your Surface Pen to wake up your Surface Book.\n\nIf nothing happens, connect the power supply and press the power button again.\n\nIf your Surface still doesnt turn on, see [Surface wont turn on, Windows won't](http://www.microsoft.com/surface/support/warranty-service-and-recovery/surface-wont-turn-on) [start, or the battery won't charge](http://www.microsoft.com/surface/support/warranty-service-and-recovery/surface-wont-turn-on) on Surface.com.\n\n| Off or shut down | Go to Start , and select Power > Shut down. |\n| --- | --- |\n| InstantGo | Do any of the following:  Press and release the power button on the top edge of your Surface.  Dont use your Surface for a few minutes.  Go to Start , and select Power > Sleep.  Close the keyboard. |\n| Restart | Go to Start , and select Power > Restart. |\n\n* ✪\n\nFor more info, see [Surface power states](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-power-sleep-and-wake) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [{"DisplayOrder":0,"QnaId":54,"Qna":null,"DisplayText":"Off or shut down"},{"DisplayOrder":1,"QnaId":55,"Qna":null,"DisplayText":"InstantGo"},{"DisplayOrder":2,"QnaId":56,"Qna":null,"DisplayText":"Restart"}] 53 Surface
Off or shut down ** Off or shut down**\nis Go to Start , and select Power > Shut down. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 54 Surface
InstantGo ** InstantGo**\nis Do any of the following:  Press and release the power button on the top edge of your Surface.  Dont use your Surface for a few minutes.  Go to Start , and select Power > Sleep.  Close the keyboard. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 55 Surface
Restart ** Restart**\nis Go to Start , and select Power > Restart. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 56 Surface
Touch, keyboard, pen, and mouse **Touch, keyboard, pen, and mouse**\n\nWith Surface Book, you can switch easily between using the touchscreen, the keyboard, a mouse, or a pen. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:touch, keyboard, pen, and mouse [] False [{"DisplayOrder":0,"QnaId":58,"Qna":null,"DisplayText":"Touchscreen"},{"DisplayOrder":1,"QnaId":59,"Qna":null,"DisplayText":"Keyboard"},{"DisplayOrder":2,"QnaId":69,"Qna":null,"DisplayText":"Touchpad or mouse"},{"DisplayOrder":3,"QnaId":70,"Qna":null,"DisplayText":"Surface Pen (Surface Pro 4 version)"}] 57 Surface
Touchscreen **Touchscreen**\n\nYou can use your fingers on the touchscreen just as you would on a smartphone. For example, drag your finger across the screen to scroll. For info about ways you can interact with the touchscreen, see Using touch with Surface Book in [Get started with Surface Book](http://www.microsoft.com/surface/support/getting-started/get-started-with-surface-book) on Surface.com.\n\nTheres also a built-in on-screen keyboard you can use. For more info, see [How to use the Surface](http://www.microsoft.com/surface/support/touch-mouse-and-search/how-to-use-the-on-screen-keyboard) [touch keyboard](http://www.microsoft.com/surface/support/touch-mouse-and-search/how-to-use-the-on-screen-keyboard) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:touchscreen [] False [] 58 Surface
Keyboard **Keyboard**\n\nThe Surface Book keyboard has a standard layout and includes backlit keys. Special shortcut keys and function keys help you do common tasks quickly. Keys on the top row double as function keys—hold down the Fn key while you press a top-row key. The Fn key also works in combination with other keys to do certain things.\n\nHere are some of the basic shortcut keys and the special Fn key combinations on the Surface Book keyboard.\n\nKey icon What it does\n\n Decreases keyboard backlighting\n\n| | Increases keyboard backlighting |\n| --- | --- |\n| | Plays or pauses audio or video |\n| | Turns audio muting on or off |\n| | Turns the volume down |\n| | Turns the volume up |\n| | Lets you separate the keyboard from the Clipboard |\n| | Opens Start |\n| | Opens a contextual menu (right-click menu) |\n| PrtScn | Takes a screen shot |\n| Home | Depends on the app youre using. For example, in Word, it goes to the beginning of a line. |\n| End | Depends on the app youre using. For example, in Word, it goes to the end of a line. |\n| Ins | Toggles between insert and overtype mode |\n| PgUp | Goes up a page |\n| PgDn | Goes down a page |\n| Fn+Del | Increases screen brightness |\n| Fn+Backspace | Decreases screen brightness |\n| Fn+Spacebar | Places a screenshot of the entire screen or screens onto your Windows clipboard |\n\nSee Using the Surface Book touchpad and keyboard in [Get started with Surface Book](http://www.microsoft.com/surface/support/getting-started/get-started-with-surface-book) on Surface.com for more info. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:keyboard [] False [{"DisplayOrder":0,"QnaId":60,"Qna":null,"DisplayText":"PrtScn"},{"DisplayOrder":1,"QnaId":61,"Qna":null,"DisplayText":"Home"},{"DisplayOrder":2,"QnaId":62,"Qna":null,"DisplayText":"End"},{"DisplayOrder":3,"QnaId":63,"Qna":null,"DisplayText":"Ins"},{"DisplayOrder":4,"QnaId":64,"Qna":null,"DisplayText":"PgUp"},{"DisplayOrder":5,"QnaId":65,"Qna":null,"DisplayText":"PgDn"},{"DisplayOrder":6,"QnaId":66,"Qna":null,"DisplayText":"Fn+Del"},{"DisplayOrder":7,"QnaId":67,"Qna":null,"DisplayText":"Fn+Backspace"},{"DisplayOrder":8,"QnaId":68,"Qna":null,"DisplayText":"Fn+Spacebar"}] 59 Surface
PrtScn ** PrtScn**\nis Takes a screen shot https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 60 Surface
Home ** Home**\nis Depends on the app youre using. For example, in Word, it goes to the beginning of a line. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 61 Surface
End ** End**\nis Depends on the app youre using. For example, in Word, it goes to the end of a line. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 62 Surface
Ins ** Ins**\nis Toggles between insert and overtype mode https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 63 Surface
PgUp ** PgUp**\nis Goes up a page https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 64 Surface
PgDn ** PgDn**\nis Goes down a page https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 65 Surface
Fn+Del ** Fn+Del**\nis Increases screen brightness https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 66 Surface
Fn+Backspace ** Fn+Backspace**\nis Decreases screen brightness https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 67 Surface
Fn+Spacebar ** Fn+Spacebar**\nis Places a screenshot of the entire screen or screens onto your Windows clipboard https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 68 Surface
Touchpad or mouse **Touchpad or mouse**\n\nYou can use the keyboard touchpad on Surface Book or connect a USB or Bluetooth mouse. For more info about ways you can interact with the keyboard and touchpad, see Using the Surface Book touchpad and keyboard in [Get started with Surface Book](http://www.microsoft.com/surface/support/getting-started/get-started-with-surface-book) on Surface.com.\n\nAlso see these pages on Surface.com:\n\n* [Touchpad use and settings](http://www.microsoft.com/surface/support/hardware-and-drivers/touchpad-a-builtin-mouse) \n* [Connect a USB mouse, printer, and more](http://www.microsoft.com/surface/support/hardware-and-drivers/connect-a-usb-phone-camera-mouse-and-more) \n* [Add a Bluetooth device](http://www.microsoft.com/surface/support/hardware-and-drivers/add-a-bluetooth-device) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:touchpad or mouse [] False [] 69 Surface
Surface Pen (Surface Pro 4 version) **Surface Pen (Surface Pro 4 version)**\n\nUse the Surface Pen included with your Surface Book to open OneNote and Cortana, take screenshots, mark up presentations, sign documents, and enjoy art apps.\n\nClick the top of the Surface Pen and start writing a Quick Note—like a yellow sticky that youll never lose. You dont even need to unlock your Surface. Click again to write another note or press the power button on your Surface to put the screen back to sleep.\n\nWhile youre signed in on your Surface, click the top of the pen to open your most recent notes. While youre using OneNote, click the top of the pen to open a new Quick Note. ✪\n\nYour notes are saved automatically in OneNote and synced to your [OneDrive](http://www.microsoft.com/surface/support/storage-files-and-folders/onedrive-on-surface) (online cloud storage) so you can keep your notes, clippings, sketches, photos, and files organized and accessible from anywhere.\n\nSee Surface Pen later in this guide for more info about using the Surface Pen with your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface pen (surface pro 4 version) [] False [] 70 Surface
Accounts and signing in **Accounts and signing in**\n\nThe account you use to sign in on your Surface Book stores your settings, preferences, and more. For the best experience, use a Microsoft account (an email address and password) to sign in. A Microsoft account gives you seamless access to your Windows apps and social media and backs up your files and photos in the cloud.\n\nYou can create additional accounts for family and friends on your Surface Book. That way each person using it can set it up just the way he or she likes. For more info, see [All about accounts](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:accounts and signing in [] False [{"DisplayOrder":0,"QnaId":72,"Qna":null,"DisplayText":"First account on your Surface"},{"DisplayOrder":1,"QnaId":73,"Qna":null,"DisplayText":"Sign in to your Surface"},{"DisplayOrder":2,"QnaId":74,"Qna":null,"DisplayText":"Use Windows Hello"},{"DisplayOrder":3,"QnaId":75,"Qna":null,"DisplayText":"Change your password, picture, and other account settings"},{"DisplayOrder":4,"QnaId":76,"Qna":null,"DisplayText":"Add an account to your Surface"},{"DisplayOrder":5,"QnaId":77,"Qna":null,"DisplayText":"Create a child account on your Surface"}] 71 Surface
First account on your Surface **First account on your Surface**\n\nWhen you set up your Surface, an account is created for you based on information you supply. The first account is set up as an administrator account. From this account, you can create, modify, or remove other accounts on your Surface. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:first account on your surface [] False [] 72 Surface
Sign in to your Surface **Sign in to your Surface**\n\n1. Turn on or wake Surface by pressing the power button.\n2. Swipe up on the screen or tap a key on the keyboard.\n3. If you see your account name and account picture, enter your password and select the right arrow or press Enter on your keyboard.\n4. If you see a different account name, select the left arrow. Then select your own account, enter your password, and select the right arrow or press Enter on your keyboard. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:sign in to your surface [] False [] 73 Surface
Use Windows Hello **Use Windows Hello**\n\nSince Surface Book includes an infrared (IR) camera, you can set it up to recognize your face and sign you in automatically.\n\nTo set up Windows Hello, go to Start , and select Settings > Accounts > Sign-in options. Under Windows Hello, you'll see available sign-in options.\n\nFor more info, see [What is Windows Hello?](http://windows.microsoft.com/en-us/windows-10/getstarted-what-is-hello) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:use windows hello [] False [] 74 Surface
Change your password, picture, and other account settings **Change your password, picture, and other account settings**\n\nYou can change your password, add or change the picture for your account, and connect to or disconnect from a Microsoft account. Heres how:\n\n* 1. Go to Start , select your profile picture, and select Change account settings. \n 2. Change your account settings by selecting one of the options on the left:\n * Your account: You can you can add or create an account picture, connect or disconnect from a Microsoft account, and access other account settings online.\n * Sign-in options: You can change your password, create a picture password or PIN, and choose whether a password is required when waking your Surface from sleep. To make these changes, youll need your account password. If you dont have a password, you can create one here.\n * Work or school: If you have an account on a network that you sign in to for work or school, you can connect your Surface to that network. Ask your network administrator or IT department for the info youll need to join that network.\n * Sync your settings: Your Microsoft account makes it easy to have the same theme, apps, and browser settings on all your devices. If youd rather that some of these settings be unique to your Surface, you can turn off sync here. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change your password, picture, and other account settings [] False [] 75 Surface
Add an account to your Surface **Add an account to your Surface**\n\n1. Sign in with an administrator account.✪\n2. Go to Start , select your profile picture, and select Change account settings. \n3. Select Family & other users > Add someone else to this PC. \n4. Follow the on-screen instructions to set up the account.\n\nYou can change account levels after you set up an account. To learn how, see [Change another](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts?os=windows-10#canichangeW10) [users account type](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts?os=windows-10#canichangeW10) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:add an account to your surface [] False [] 76 Surface
Create a child account on your Surface **Create a child account on your Surface**\n\n1. Sign in with an administrator account.✪\n2. Go to Start , select your profile picture, and select Change account settings. \n3. Select Family & other users. \n4. Under Your family, select Add a family member > Add a child and choose one of the following:\n * To use the child's existing Microsoft account email address, enter the child's email address and select Next. \n * To create a Microsoft account for the child, select The person I want to invite doesnt have an email address. Follow the on-screen instructions to either associate the new Microsoft account with an email account that the child currently uses or set up a new account.\n\nYou can limit your child's computer time or limit the apps, websites, and games your child can access. See [Set up your family](http://windows.microsoft.com/en-us/windows-10/getstarted-set-up-your-family) on Windows.com to learn how to turn on Family Safety features that are built into Windows.\n\nFor more info on adding, removing, and managing your accounts or your kids accounts, see [All](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts) [about accounts](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:create a child account on your surface [] False [] 77 Surface
Get to know Windows 10 **Get to know Windows 10**\n\nNew to Windows 10? Get acquainted with new features like task view and custom desktops, the improved Start menu, and more. See [Get Started with Windows 10](http://windows.microsoft.com/en-us/windows-10/get-to-know-windows-10) on Windows.com for more info. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:get to know windows 10 [] False [{"DisplayOrder":0,"QnaId":79,"Qna":null,"DisplayText":"Go to Start"},{"DisplayOrder":1,"QnaId":80,"Qna":null,"DisplayText":"Action center"},{"DisplayOrder":2,"QnaId":81,"Qna":null,"DisplayText":"Search"},{"DisplayOrder":3,"QnaId":82,"Qna":null,"DisplayText":"Task view and virtual desktops"},{"DisplayOrder":4,"QnaId":83,"Qna":null,"DisplayText":"Settings in Windows 10"}] 78 Surface
Go to Start **Go to Start**\n\nSelect Start in the taskbar or press the Start key on your keyboard to open the Start menu.\n\n* ✪\n * In the lower-left corner, you'll find quick links to File Explorer, Settings, Power (shut down, sleep, and restart), and All apps. \n * The apps you've used most often appear at the upper left.\n * Your name and profile picture appear at the top left. Select them to change your account settings, lock the screen, or sign out.\n\nTiles on Start act as quick links to apps. You can rearrange, resize, add, and remove tiles whenever you want. For more info, see [Love it? Pin it](http://windows.microsoft.com/en-us/windows-10/getstarted-love-it-pin-it) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:go to start [{"ClusterHead":"go sdk","TotalAutoSuggestedCount":32,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"go sdk","AutoSuggestedCount":32,"UserSuggestedCount":0}]}] False [] 79 Surface
Action center **Action center**\n\n* Swipe in from the right edge of the screen or select Action center in the taskbar to open the Action center.\n\nHere, you can adjust common settings like Wi-Fi connections or screen brightness, open OneNote, create a wireless connection to another screen, and more. If there are notifications waiting for you, they appear at the top of the Action center.\n\nFor more info, see [Take action instantly](http://windows.microsoft.com/en-us/windows-10/getstarted-take-action) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:action center [] False [] 80 Surface
Search **Search**\n\nSearch is always ready for you. Select the search box in the taskbar. Learn more at [Search for](http://windows.microsoft.com/en-us/windows-10/getstarted-search-for-anything-cortana) [anything, anywhere](http://windows.microsoft.com/en-us/windows-10/getstarted-search-for-anything-cortana) on Windows.com.\n\n✪\n\nOr, go to Start , and select Cortana . For more info, including tips on personalizing Cortana, see [What is Cortana?](http://windows.microsoft.com/en-us/windows-10/getstarted-what-is-cortana) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:search [] False [] 81 Surface
Task view and virtual desktops **Task view and virtual desktops**\n\nSwipe in from the left edge of the screen or select Task view in the taskbar to see all your open apps. Select an app to focus on or close an app by clicking the X in the upper-right corner of the app.\n\nWhile you're in Task view, you can create a new virtual desktop by selecting New desktop in the lower-right corner. Each virtual desktop can have its own set of open apps. To switch between desktops, open Task view and select a desktop.\n\nFor more info, see [Group apps into desktops](http://windows.microsoft.com/en-us/windows-10/getstarted-group-apps) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:task view and virtual desktops [] False [] 82 Surface
Settings in Windows 10 **Settings in Windows 10**\n\nGo to Start , and select Settings for access to all your settings.\n\n✪\n\nFor info on personalizing your Windows 10 experience, see Personalization and settings in this guide. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:settings in windows 10 [] False [] 83 Surface
Keep your Surface Book up to date **Keep your Surface Book up to date**\n\nKeep your Surface Book performing its best by getting the latest performance and security updates.\n\nMicrosoft releases updates to improve Windows software security and reliability, and system and hardware updates (also known as firmware updates) to help improve the stability and performance of your Surface hardware.\n\nWhen updates become available, theyre installed automatically on your Surface over Wi-Fi. Windows notifies you if you need to restart your Surface to finish installing an update.\n\nFor info on keeping your Surface up to date, see [Install Surface and Windows updates](http://www.microsoft.com/surface/support/performance-and-maintenance/install-software-updates-for-surface) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:keep your surface book up to date [] False [] 84 Surface
Browse the Internet **Browse the Internet**\n\n Microsoft Edge works with Cortana to help you get the most from the Internet, and you can use your Surface Pen or touch to create Web Notes that you can save or share.\n\n✪ To open Microsoft Edge, select it from Start or the taskbar. Or, go to Start , and select All apps > Microsoft Edge. \n\nThe first time you start Microsoft Edge, youll see the default start page with the address bar in the center.\n\nEnter a web address or search term in the address bar and press Enter. \n\nUse the arrows in the upper-left corner to return to sites youve visited during a browsing session or select the address bar to see sites you visit often. ✪\n\nSelect Share to share webpages with friends. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:browse the internet [] False [{"DisplayOrder":0,"QnaId":86,"Qna":null,"DisplayText":"Browsing tips"}] 85 Surface
Browsing tips **Browsing tips**\n\n✪\n\n* Select Add to favorites and reading list to add a page to your reading list or a favorites folder.✪ ✪ ✪ ✪\n* Select Hub to view items in your Favorites , Reading list , History , or Downloads .✪✪\n* Select Reading view to clear away everything but the article youre reading. Select it again to view the entire page.\n\nFor more info, see [Microsoft Edge](http://windows.microsoft.com/en-us/windows-10/microsoft-edge) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:browsing tips [] False [] 86 Surface
Storage options **Storage options**\n\nSurface Book is available with up to 16 GB of RAM and 512 GB storage. You can extend your storage options by using OneDrive, USB drives, and SD cards.\n\nNote: Pre-installed software and apps use a significant amount of space. See [Surface storage](https://www.microsoft.com/surface/support/storage) on Surface.com for details about formatted storage capacity. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:storage options [] False [{"DisplayOrder":0,"QnaId":88,"Qna":null,"DisplayText":"OneDrive: Cloud storage"},{"DisplayOrder":1,"QnaId":89,"Qna":null,"DisplayText":"Removable storage options"}] 87 Surface
OneDrive: Cloud storage **OneDrive: Cloud storage**\n\nOneDrive is online storage that comes with your Microsoft account. Save your documents, photos, and other files to the OneDrive folder on your Surface and they'll be synced to OneDrive in the cloud whenever you have an Internet connection. The copy in the cloud is available to you from any web-connected device. You can share folders in your OneDrive with others or send someone a link to just one page. For more info, see [Using OneDrive on Surface](http://www.microsoft.com/surface/support/storage-files-and-folders/Onedrive-on-surface) on Surface.com.\n\nTo save space on your Surface, you can choose not to sync some of your OneDrive folders. You can still access your files on the Internet by signing in to [OneDrive.com](http://onedrive.com/) , but they won't be available in File Explorer. You can add them back at any time.\n\nHere's how to choose which folders to sync:\n\n1. Select File Explorer in the taskbar and open the OneDrive folder.\n2. Right-click any folder in OneDrive and select Choose OneDrive folders to sync to produce a list of all the folders in your OneDrive account.\n3. Select the folders you want to sync to your Surface and select OK. \n\nTo save a file from a desktop app directly to OneDrive, choose OneDrive in the left panel of the Save As screen. Then navigate to the folder where you want to save the file. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:onedrive: cloud storage [] False [] 88 Surface
Removable storage options **Removable storage options**\n\nYou can use USB storage or a full-size SD card with your Surface Book to store your documents, music, videos, and pictures.\n\nFor the locations of the USB port and microSD card slot on your Surface, see Surface Book features in this guide.\n\nTo open files from an external device:\n\n1. Insert a USB flash drive or other USB storage device into the USB port or insert an SD card into the card slot on your Surface.\n2. Select the notification that appears in the lower-right corner of the screen.\n3. Select Open device to view files or Sync digital media files to this device. \n\nFor more info about internal and removable storage options, see [Surface storage options](http://www.microsoft.com/surface/support/storage-files-and-folders/surface-storage-options) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:removable storage options [{"ClusterHead":"sdk","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"sdk","AutoSuggestedCount":1,"UserSuggestedCount":0}]},{"ClusterHead":"adaptive cards","TotalAutoSuggestedCount":10,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"adaptive cards","AutoSuggestedCount":10,"UserSuggestedCount":0}]},{"ClusterHead":"Removable storage options","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"Removable storage options","AutoSuggestedCount":1,"UserSuggestedCount":0}]}] False [] 89 Surface
Surface Pen **Surface Pen**\n\nYou can use the Surface Pen included with your Surface Book to open OneNote and Cortana, take screenshots, mark up presentations, sign documents, and use art apps.\n\n| Magnetic surface | Use the magnet on the flat side of the cap to attach your Surface Pen to the side of your Surface Book or to any convenient magnetic surface. |\n| --- | --- |\n| LED | When the pen is in pairing mode, the LED glows white. When the battery is low, the LED glows red. |\n| Top button | Bluetooth® technology links your Surface Pen to your Surface Book:  Click and hold the top button to wake up Cortana or Search and then enter your question on the screen. |\n\n| | * Click the top button to open OneNote.  Double-click to take a screenshot and paste it into OneNote. To erase, flip the pen over and use the top as an eraser. |\n| --- | --- |\n| Right-click button | The tip end of the raised area on the flat side of the pen works as a right-click button in many apps. Hold the button down as you tap the screen. In some apps, the right-click button may behave differently |\n| Tip | Choose your favorite tip from the Pen Tip Kit (sold separately). The tips work with the Palm Block technology and multi-point sensitivity built into your Surface to let you write and draw naturally. | https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface pen [{"ClusterHead":"surface","TotalAutoSuggestedCount":2,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"surface","AutoSuggestedCount":2,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":91,"Qna":null,"DisplayText":"Pair your pen with Surface Book"},{"DisplayOrder":1,"QnaId":92,"Qna":null,"DisplayText":"Use features built into the top button"},{"DisplayOrder":2,"QnaId":96,"Qna":null,"DisplayText":"Customize your Surface Pen"},{"DisplayOrder":3,"QnaId":100,"Qna":null,"DisplayText":"Magnetic surface"},{"DisplayOrder":4,"QnaId":101,"Qna":null,"DisplayText":"LED"},{"DisplayOrder":5,"QnaId":102,"Qna":null,"DisplayText":"Top button"},{"DisplayOrder":6,"QnaId":103,"Qna":null,"DisplayText":"Right-click button"},{"DisplayOrder":7,"QnaId":104,"Qna":null,"DisplayText":"Tip"}] 90 Surface
Pair your pen with Surface Book **Pair your pen with Surface Book**\n\nBefore you use your Surface Pen, youll need to pair it with your Surface Book. You may have paired the Surface Pen while setting up your Surface Book. If you didnt pair your pen during setup, you can do it manually. See [Using Surface Pen](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-pen-pro-4) on Surface.com to learn how.\n\nIf you have problems using or pairing your pen, see [Troubleshoot Surface Pen](http://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-surface-pen-pro-4) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:pair your pen with surface book [] False [] 91 Surface
Use features built into the top button **Use features built into the top button**\n\nThe top button connects you to OneNote and Windows 10 features on your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:use features built into the top button [] False [{"DisplayOrder":0,"QnaId":93,"Qna":null,"DisplayText":"Click and hold to open Cortana or Search"},{"DisplayOrder":1,"QnaId":94,"Qna":null,"DisplayText":"Click to open a Quick Note in OneNote"},{"DisplayOrder":2,"QnaId":95,"Qna":null,"DisplayText":"Save screenshots in OneNote"}] 92 Surface
Click and hold to open Cortana or Search **Click and hold to open Cortana or Search**\n\nWhen you click and hold the top button, Cortana opens (or Search opens if Cortana is not set up). Enter your question on the screen.\n\nNote: To use this feature, your Surface needs to be nearby and turned on. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:click and hold to open cortana or search [] False [] 93 Surface
Click to open a Quick Note in OneNote **Click to open a Quick Note in OneNote**\n\nOneNote is a free app that you can use on any of your devices, even Mac, iOS, and Android devices. Your data is stored in the cloud and synced across all your devices. OneNote is a great way to find, capture, organize, and share information. Click the top button on your pen while your Surface is asleep and you can jot a note or sketch immediately, without unlocking the screen. When youre using your Surface, click the top button to open OneNote.\n\nNote: While your Surface is locked, you can use only the top button. The right-click button wont work until after you unlock your Surface by signing in.\n\nFor more info, see [Using OneNote on Surface](https://www.microsoft.com/surface/support/office-apps/take-notes-with-onenote) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:click to open a quick note in onenote [] False [] 94 Surface
Save screenshots in OneNote **Save screenshots in OneNote**\n\nYou can use your Surface Pen to take a screenshot and copy it to OneNote. Here's how:\n\n1. Display what you want to copy. It can be a webpage, a photo, or anything else you see on your screen.\n2. Double-click the top button on your Surface Pen.\n3. Select what you want to capture in the screenshot by dragging the tip of the pen from one corner of the portion you want to capture to the opposite corner. When you lift the pen tip, your selection appears in a new page in OneNote.\n\nNow you can mark up the screenshot with the pen, move it to any of your OneNote notebooks, or share it with others. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:save screenshots in onenote [] False [] 95 Surface
Customize your Surface Pen https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:customize your surface pen [] False [{"DisplayOrder":0,"QnaId":97,"Qna":null,"DisplayText":"Set left or right handedness"},{"DisplayOrder":1,"QnaId":98,"Qna":null,"DisplayText":"Adjust pressure sensitivity"},{"DisplayOrder":2,"QnaId":99,"Qna":null,"DisplayText":"Change pen tips"}] 96 Surface
Set left or right handedness **Set left or right handedness**\n\nYou can change where menus appear on your Surface screen by indicating which hand you write with. Heres how:\n\n1. Select the search box in the taskbar, enter hand, and in the search results, select Specify which hand you write with. \n2. Under Tablet PC Settings, select Right-handed or Left-handed > Apply > OK. \n\nFor more info, see [Using Surface Pen](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-pen-pro-4) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set left or right handedness [] False [] 97 Surface
Adjust pressure sensitivity **Adjust pressure sensitivity**\n\nUse the Surface app to set the pressure sensitivity to suit your writing style. The app is free from the Windows Store. For more info, see [Install and use the Surface app](http://www.microsoft.com/surface/support/apps-and-windows-store/surface-app) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:adjust pressure sensitivity [] False [] 98 Surface
Change pen tips **Change pen tips**\n\nThe Pen Tip Kit (sold separately) contains a tip removal tool and four tips: 2H (very low friction), H (low friction), HB (medium friction), and B (high friction). Choose the tip thats best for the way you write. You can get the kit at a Microsoft Store or [online](http://www.microsoftstore.com/) .\n\nHeres how to change tips:\n\n1. Grasp the tip thats in the pen and pull the tip straight out.If you have trouble grasping the tip, use the tip removal tool included with the tip kit.\n2. Insert the base of the tip into the pen opening and push the tip in until it locks into place. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change pen tips [] False [] 99 Surface
Magnetic surface ** Magnetic surface**\nis Use the magnet on the flat side of the cap to attach your Surface Pen to the side of your Surface Book or to any convenient magnetic surface. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 100 Surface
LED ** LED**\nis When the pen is in pairing mode, the LED glows white. When the battery is low, the LED glows red. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 101 Surface
Top button ** Top button**\nis Bluetooth® technology links your Surface Pen to your Surface Book:  Click and hold the top button to wake up Cortana or Search and then enter your question on the screen. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 102 Surface
Right-click button ** Right-click button**\nis The tip end of the raised area on the flat side of the pen works as a right-click button in many apps. Hold the button down as you tap the screen. In some apps, the right-click button may behave differently https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 103 Surface
Tip ** Tip**\nis Choose your favorite tip from the Pen Tip Kit (sold separately). The tips work with the Palm Block technology and multi-point sensitivity built into your Surface to let you write and draw naturally. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 104 Surface
Apps and the Windows Store **Apps and the Windows Store**\n\nYour Surface Book comes with pre-installed apps to help you stay connected, entertained, informed, and productive. To see a list of installed apps, go to Start , and select All apps. Select an app to open it.\n\nTo pin an app you use frequently to Start or the taskbar, press and hold the app in the All apps list and then release it. Or, right-click the app in the All apps list. Then select Pin to Start or Pin to taskbar. For more info, see [Start, find, and close apps on Surface](http://microsoft.com/surface/support/apps-and-windows-store/start-and-close-apps) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:apps and the windows store [] False [{"DisplayOrder":0,"QnaId":106,"Qna":null,"DisplayText":"Apps on Surface Book"},{"DisplayOrder":1,"QnaId":111,"Qna":null,"DisplayText":"Get more apps from the Windows Store"}] 105 Surface
Apps on Surface Book **Apps on Surface Book**\n\nHere are some of the apps that come ready to go on your new Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:apps on surface book [] False [{"DisplayOrder":0,"QnaId":107,"Qna":null,"DisplayText":"OneNote"},{"DisplayOrder":1,"QnaId":108,"Qna":null,"DisplayText":"Microsoft Edge"},{"DisplayOrder":2,"QnaId":109,"Qna":null,"DisplayText":"Groove Music"},{"DisplayOrder":3,"QnaId":110,"Qna":null,"DisplayText":"Movies & TV"}] 106 Surface
OneNote **OneNote**\n\nYou can use the OneNote app on your Surface to take notes and store them in the cloud. With OneNote, youll have your notes whenever you need them—on your computer, phone, or the web. If you have the Bluetooth-enabled Surface Pen, you can open OneNote with a click of the pens top button. For more info, see [Using OneNote on Surface](http://www.microsoft.com/surface/support/office-apps/take-notes-with-onenote) on Surface.com.\n\n Mail \n\nMail automatically organizes your inbox. You can add multiple accounts and access them through this single point. You can also flag, archive, or delete messages by swiping to the left or right, or mark messages as read or unread. See [Set up and use email](http://www.microsoft.com/surface/support/email-and-communication/mail) on Surface.com to get started.\n\n Calendar \n\nUse Calendar to manage your busy schedule. Use the What's next view to see whats on the schedule, or look at entire days, weeks, workweeks, or months.\n\n People \n\nThe People app brings all your contacts together in a single place. See each contacts email address, phone number, website, and other information at a glance. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 107 Surface
Microsoft Edge **Microsoft Edge**\n\nMicrosoft Edge gives you fast and fluid access to the Internet. Open pages in Reading View, save them to your reading list, or take notes right on the page using inking. Check out [Get to know](http://windows.microsoft.com/en-us/windows-10/getstarted-get-to-know-microsoft-edge) [Microsoft Edge](http://windows.microsoft.com/en-us/windows-10/getstarted-get-to-know-microsoft-edge) on Windows.com for details. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 108 Surface
Groove Music **Groove Music**\n\nGroove Music lets you access your music collection and more from your Surface.\n\n Camera \n\nThe Camera app lets you take regular photos, photo bursts, or video using either the front or back camera on your Surface. See [Take photos and videos with Surface](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras) on Surface.com for how-to info.\n\n Photos \n\nEdit and organize your photos using the Photos app. Crop, enhance, and add effects to your images and set them to be the lock screen background. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 109 Surface
Movies & TV **Movies & TV**\n\nMovies & TV brings you the latest movies and TV shows as well as featured hits. It offers recommendations based on what youve watched, making it easier to find something new that youll like. Check out [Watch TV shows, movies, and videos](http://www.microsoft.com/surface/support/music-photos-and-video/watch-tv-shows-movies-and-videos) on Surface.com to get started.\n\n News \n\nGet the latest breaking stories as well as more in-depth coverage. You can customize the coverage to add more local information or highlight the topics you choose.\n\n Weather \n\nThe Weather app offers hourly, daily, and 10-day forecasts as well as historical information and annual weather trends. You can also add locations, so you can see not only the information for where you are but for where you might be heading.\n\n Money \n\nMoney not only covers the fast-moving market conditions but lets you track your portfolio, browse financial news articles, and access tools and calculators for common financial tasks.\n\n Sports \n\nSports brings you scoreboards, schedules, videos, slide shows, and news headlines and stories to help you keep up to date with the world of sports and your favorite teams.\n\n Maps \n\nMaps lets you see your current location, zoom in for greater detail, zoom out for a bigger picture, scroll or search for new locations, get directions, and more.\n\n Surface\n\nGet the most out of your Surface. The Surface app provides you with customization options and ways to learn more about your Surface. Give feedback on your experience so we can keep making it better. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 110 Surface
Get more apps from the Windows Store **Get more apps from the Windows Store**\n\nReady to get even more apps? You can install more apps and programs from the Windows Store, websites, or a CD or DVD. To learn more, see [Install and uninstall apps on Surface](http://www.microsoft.com/surface/support/apps-and-windows-store/install-apps-and-programs) on Surface.com.\n\nFor more info about the Windows Store, see [Explore the Store](http://windows.microsoft.com/en-us/windows-10/getstarted-explore-the-store) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:get more apps from the windows store [] False [] 111 Surface
Connect devices and accessories **Connect devices and accessories**\n\nYou can make photos, videos, and presentations bigger by connecting your Surface Book to a TV, monitor, or projector. Or, connect to an HDTV and watch movies on a big screen.\n\nYou can connect monitors, accessories, and other devices directly to your Surface Book using the USB ports, Mini DisplayPorts, or Bluetooth. Or, connect everything to a Surface Dock (sold separately). Surface Dock lets you transform your Surface Book into a full desktop PC using a single cable. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect devices and accessories [] False [{"DisplayOrder":0,"QnaId":113,"Qna":null,"DisplayText":"Set up your workspace with Surface Dock"},{"DisplayOrder":1,"QnaId":114,"Qna":null,"DisplayText":"Connect a USB accessory (printer, mouse, and more)"},{"DisplayOrder":2,"QnaId":115,"Qna":null,"DisplayText":"Connect to a TV, monitor, or projector"},{"DisplayOrder":3,"QnaId":122,"Qna":null,"DisplayText":"Add a Bluetooth accessory"},{"DisplayOrder":4,"QnaId":123,"Qna":null,"DisplayText":"Add audio accessories"}] 112 Surface
Set up your workspace with Surface Dock **Set up your workspace with Surface Dock**\n\nSurface Dock supports high-speed transfer of video, audio, and data. Its compact design gives you flexibility and keeps your desktop clutter-free. The external power supply recharges your Surface and provides plenty of additional power to charge connected USB devices.\n\nHere's how to set up your Surface Dock:\n\n1. Plug the AC end of the Surface Dock power cord into an electrical outlet or power strip and plug the other end into the power port on your Surface Dock.\n2. If you want to use a wired network connection, connect a network cable to the Ethernet port on your Surface Dock.\n3. Connect your computer peripherals to the USB ports on your Surface Dock.\n4. Connect a cable from your monitor to a Mini DisplayPort on your Surface Dock.If your monitor cable doesnt have a Mini DisplayPort connector, youll need to buy another cable or an adapter. For more info on adapters, see [Connect Surface to a TV, monitor, or](http://www.microsoft.com/surface/support/music-photos-and-video/connect-surface-to-a-tv-display-or-projector) [projector](http://www.microsoft.com/surface/support/music-photos-and-video/connect-surface-to-a-tv-display-or-projector) on Surface.com.\n5. Connect any audio accessories like speakers or headphones.Without external speakers, you may not hear audio when youre using your Surface. If this is the case, see [Troubleshoot Surface Dock](https://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-docking-station-surface-dock) on Surface.com to learn how to switch to the built-in speakers on your Surface.\n6. Unplug the Surface power supply and remove any attached accessories from your Surface. You can leave an SD card in the SD card slot.\n7. Connect your Surface Dock to the charging port of your Surface, using the cable provided.\n\nFor more info, see [Using Surface Dock](http://www.microsoft.com/surface/support/hardware-and-drivers/docking-station-surface-dock) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set up your workspace with surface dock [] False [] 113 Surface
Connect a USB accessory (printer, mouse, and more) **Connect a USB accessory (printer, mouse, and more)**\n\nYou can connect a USB accessory like a printer, camera, music player, smartphone, mouse, or external hard drive directly to your Surface Book. ✪\n\nThe USB port is on the side of the keyboard.\n\nThe included power supply also has a USB charging port you can use to power other USB devices while youre charging your Surface.\n\nTo install a USB accessory:\n\n1. If your USB accessory has a power cord, plug it in to an electrical outlet.\n2. Plug the USB cable attached to the accessory into your Surface.\n3. Turn on your accessory (if needed). The first time you plug in a USB accessory, Windows installs any software the accessory requires.\n\nFor more info, see [Connect a USB mouse, printer, and more](http://www.microsoft.com/surface/support/hardware-and-drivers/connect-a-usb-phone-camera-mouse-and-more) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect a usb accessory (printer, mouse, and more) [] False [] 114 Surface
Connect to a TV, monitor, or projector You can connect your Surface Book to another screen, or connect to an HDTV and watch movies on a big screen. You can even connect to some displays wirelessly. Surface video adapters are available in the [Accessories](http://www.microsoft.com/surface/accessories/home#adapters) area on Surface.com and in the [Microsoft Store](http://surface.microsoftstore.com/) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect to a tv, monitor, or projector [] False [{"DisplayOrder":0,"QnaId":116,"Qna":null,"DisplayText":"HDTV:"},{"DisplayOrder":1,"QnaId":117,"Qna":null,"DisplayText":"Projector or monitor:"},{"DisplayOrder":2,"QnaId":118,"Qna":null,"DisplayText":"Wireless:"},{"DisplayOrder":3,"QnaId":119,"Qna":null,"DisplayText":"Connect to a wired display"},{"DisplayOrder":4,"QnaId":120,"Qna":null,"DisplayText":"Connect to a wireless display"},{"DisplayOrder":5,"QnaId":121,"Qna":null,"DisplayText":"Set up your screens"}] 115 Surface
HDTV: If your TV has an HDMI port, youll need an HDMI cable and a Mini DisplayPort to HD AV adapter or an HDMI to Mini DisplayPort cable. (Both are sold separately on Surface.com.) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 116 Surface
Projector or monitor: If your monitor has a DisplayPort, you can connect it to your Surface using a DisplayPort to Mini DisplayPort cable (sold separately). If your monitor doesnt have a\n\nDisplayPort or HDMI port, use a VGA cable and the Mini DisplayPort to VGA Adapter. A VGA adapter or cable is for video only. Audio will play from your Surface speakers unless youve connected external speakers. For more info, see [Surface sound, volume, and audio accessories](http://www.microsoft.com/surface/support/hardware-and-drivers/sound-volume-and-speakers) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 117 Surface
Wireless: You can connect to wireless displays when Windows detects one nearby. Or, use a Microsoft Wireless Display Adapter (sold separately) to connect to a screen using Miracast. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 118 Surface
Connect to a wired display **Connect to a wired display**\n\n1. Connect an HDMI or VGA cable to the HDMI, DisplayPort, or VGA port on your TV, monitor, or projector.\n2. Connect the other end of the cable to a Surface video adapter or the Mini DisplayPort on your Surface or to your docking station.✪ ✪Mini DisplayPort on Surface BookMini DisplayPort on Surface Dock\n3. If youre using an adapter, plug it into the Mini DisplayPort on your Surface or your docking station. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect to a wired display [] False [] 119 Surface
Connect to a wireless display **Connect to a wireless display**\n\n1. On your Surface, swipe in from the right edge of the screen or select Action center in the taskbar.\n2. Select Connect, and in the list of displays, select the name of the wireless display.\n\nIf you have problems connecting your Surface or have questions about screen resolution, see [Trouble connecting Surface to a second screen?](http://www.microsoft.com/surface/support/music-photos-and-video/trouble-connecting-surface-to-second-screen) on Surface.com.\n\nIf youre using a Microsoft Wireless Display Adapter to connect to a screen using Miracast, see [Using the Microsoft Wireless Display Adapter with Surface](http://www.microsoft.com/surface/support/music-photos-and-video/wireless-display-adapter) on Surface.com for more info. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect to a wireless display [] False [] 120 Surface
Set up your screens **Set up your screens**\n\nOnce you connect to another screen or screens, you can choose what to display on each screen. Heres how:\n\n1. Select the search box in the taskbar, enter project to a second screen, and in the search results, select Project to a second screen. \n2. Choose one of the following options:\n * PC screen only: Youll see everything on your Surface screen. (When you're connected to a wireless projector, this option changes to Disconnect.) \n * Duplicate: Youll see the same things on all screens.\n * Extend: You'll see everything spread over all screens, and you can drag and move items between them.\n * Second screen only: Youll see everything on the connected screen or screens, and your Surface screen will be blank.\n\nFor more info, including how to daisy chain monitors and move apps between screens, see [Connect Surface to a TV, monitor, or projector](http://www.microsoft.com/surface/support/music-photos-and-video/connect-surface-pro-to-a-tv-display-or-projector) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set up your screens [] False [] 121 Surface
Add a Bluetooth accessory **Add a Bluetooth accessory**\n\nYou can also connect devices that use Bluetooth wireless technology to your Surface.\n\n Turn on the Bluetooth device and make it discoverable.\n\n1. To learn how to do this, check the info that came with your Bluetooth device or go to the manufacturers website.\n2. Go to Start , and select Settings > Devices > Bluetooth. ✪\n3. Under Manage Bluetooth devices, make sure the slider is set to On and wait while Windows searches for Bluetooth devices.\n4. In the list of Bluetooth devices, select the device you want to pair with your Surface and select Pair. \n5. Follow the on-screen instructions to finish pairing your device.\n\nIf the accessory requires a pass code, (sometimes called a pairing code), youll be prompted for it. If you dont know the pass code, check the info that came with your device or the manufacturers website.\n\nFor more info, see [Add a Bluetooth device](http://www.microsoft.com/surface/support/hardware-and-drivers/add-a-bluetooth-device) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:add a bluetooth accessory [] False [] 122 Surface
Add audio accessories **Add audio accessories**\n\nYou can connect external USB speakers, headphones, or a headset to the full-size USB port. Or go wireless by using Bluetooth headphones or speakers with your Surface.\n\nTo get the best sound from USB or Bluetooth speakers, turn up the volume on your Surface and in the app, if it has its own sound control, and then adjust the volume on the external USB or Bluetooth speakers. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:add audio accessories [] False [{"DisplayOrder":0,"QnaId":124,"Qna":null,"DisplayText":"Set the default audio device"}] 123 Surface
Set the default audio device **Set the default audio device**\n\n1. Select the search box in the taskbar, enter sound, and in the search results, select Change system sounds. \n2. Do either or both of the following:\n * Select the Playback tab, select the device you want to use for playback—for example, the built-in speakers on Surface, external speakers, or a headset—and select Set Default. \n * Select the Recording tab, select the device you want to use for recording—for example, the built-in mic or an external mic—and select Set Default. \n3. After you've selected your default devices, select OK. \n\nFor more info, see [Surface sound, volume, and audio accessories](http://www.microsoft.com/surface/support/hardware-and-drivers/sound-volume-and-speakers) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set the default audio device [] False [] 124 Surface
Surface audio features **Surface audio features**\n\nUse the built-in stereo speakers and mic or your favorite audio accessories to listen to music, make phone calls, record audio, and more. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface audio features [] False [{"DisplayOrder":0,"QnaId":126,"Qna":null,"DisplayText":"Use your favorite audio accessories"},{"DisplayOrder":1,"QnaId":127,"Qna":null,"DisplayText":"Adjust the volume"},{"DisplayOrder":2,"QnaId":133,"Qna":null,"DisplayText":"Record audio"}] 125 Surface
Use your favorite audio accessories **Use your favorite audio accessories**\n\nThe stereo speakers and microphones built into Surface let you listen to music and videos, make phone calls, and record audio. Or, you can connect your favorite USB and Bluetooth accessories like speakers, a mic, or a headset. For more info on connecting accessories, see [Connect a USB mouse,](http://www.microsoft.com/surface/support/hardware-and-drivers/connect-a-usb-phone-camera-mouse-and-more) [printer, and more](http://www.microsoft.com/surface/support/hardware-and-drivers/connect-a-usb-phone-camera-mouse-and-more) and [Add a Bluetooth device](http://www.microsoft.com/surface/support/hardware-and-drivers/add-a-bluetooth-device) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:use your favorite audio accessories [] False [] 126 Surface
Adjust the volume You can control the volume on your Surface in several places: https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:adjust the volume [] False [{"DisplayOrder":0,"QnaId":128,"Qna":null,"DisplayText":"Volume button:"},{"DisplayOrder":1,"QnaId":129,"Qna":null,"DisplayText":"Keyboard:"},{"DisplayOrder":2,"QnaId":130,"Qna":null,"DisplayText":"Desktop taskbar:"},{"DisplayOrder":3,"QnaId":131,"Qna":null,"DisplayText":"Audio accessories:"},{"DisplayOrder":4,"QnaId":132,"Qna":null,"DisplayText":"Apps:"}] 127 Surface
Volume button: Press the volume button on the Clipboard to adjust the volume up or down. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 128 Surface
Keyboard: Press the volume-down, volume-up, or mute keys on the keyboard. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 129 Surface
Desktop taskbar: In the desktop taskbar, select Speakers , and adjust the volume up or down. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 130 Surface
Audio accessories: Adjust the volume on the headset, speakers, or other audio accessory, or in the software included with the accessory. To learn more, check the info that came with your accessory or visit the manufacturer's website. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 131 Surface
Apps: Some apps have a volume control within the app. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 132 Surface
Record audio **Record audio**\n\nYou can use the Voice Recorder app to record audio. To open the app:\n\n Go to Start , and select All apps > Voice Recorder. \n\n✪ ✪ https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:record audio [] False [{"DisplayOrder":0,"QnaId":134,"Qna":null,"DisplayText":"Adjust microphone settings"},{"DisplayOrder":1,"QnaId":135,"Qna":null,"DisplayText":"Change which sounds play"},{"DisplayOrder":2,"QnaId":136,"Qna":null,"DisplayText":"Audio problems"}] 133 Surface
Adjust microphone settings **Adjust microphone settings**\n\n1. Select the search box in the taskbar, enter sound, and in the search results, select Change system sounds. \n2. Select the Recording tab, select the mic you want, and select Properties. Be sure to select a mic that's enabled and connected to your Surface.\n3. Select the Levels tab. Youll see two sliders:\n * Microphone: Controls the mics volume\n * Microphone Boost: Controls the strength of the mic's signal\n4. Adjust the sliders until your mic is recording at the levels you want.\n\nThe levels you'll use will vary depending on the amount of background noise and on whether you're using the mic thats built into your Surface or an external mic. A good starting point is to set Microphone to 50 and Microphone Boost to +24.0 dB. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:adjust microphone settings [] False [] 134 Surface
Change which sounds play **Change which sounds play**\n\nYou can choose which sounds play for notifications and system events—for example, the sound that plays when you get a new message. Here's how:\n\n1. Select the search box in the taskbar, enter sound, and in the search results, select Change system sounds. \n2. Select the Sounds tab, and under Program Events, select an event (for example, Calendar Reminder). \n3. Under Sounds, choose the sound you want to play for that event.\n4. To hear the sound you've picked, select Test. \n5. Select Apply to change the sound for the event, and select OK. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change which sounds play [] False [] 135 Surface
Audio problems **Audio problems**\n\nIf the sound quality coming from your speakers or an audio accessory isn't good, it's possible the audio recording itself isn't of good quality. Try listening to the same recording on a different device.\n\nFor help with audio problems, see [Troubleshoot Surface sound and audio accessories](http://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-surface-audio) on Surface.com.\n\nTo learn more about audio on Surface Book, see [Surface sound, volume, and audio accessories](http://www.microsoft.com/surface/support/hardware-and-drivers/sound-volume-and-speakers) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:audio problems [] False [] 136 Surface
Cameras and the Camera app **Cameras and the Camera app**\n\nSurface Book has a front-facing camera and a rear-facing camera. You can use the front camera to video chat with a friend, and the back camera to record meetings and events. You can also use either camera to take photos. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:cameras and the camera app [] False [{"DisplayOrder":0,"QnaId":138,"Qna":null,"DisplayText":"Take photos and record videos"},{"DisplayOrder":1,"QnaId":139,"Qna":null,"DisplayText":"Using autofocus on Surface Book"},{"DisplayOrder":2,"QnaId":140,"Qna":null,"DisplayText":"Change camera options"},{"DisplayOrder":3,"QnaId":145,"Qna":null,"DisplayText":"View photos and videos"}] 137 Surface
Take photos and record videos **Take photos and record videos**\n\nBy default, the built-in Camera app is ready to take photos, but you can easily switch between photo and video mode.\n\nTo take a photo or record a video:\n\n Go to Start , and select Camera. \n\n1. To pin the Camera app to Start, select All Apps, press and hold (or right-click) the Camera app, and select Pin to Start. ✪ ✪\n2. Select the on-screen Camera button or Video button to activate the camera you want to use, and select the button again to take a picture or start recording video.\n\nA small privacy light appears near the active camera when youre using it. The privacy light cant be turned off. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:take photos and record videos [] False [] 138 Surface
Using autofocus on Surface Book **Using autofocus on Surface Book**\n\nTo help you improve the sharpness of your photos and videos, the rear-facing camera on Surface Book features an autofocus lens that detects a face in the scene automatically and focuses on it. If it doesnt detect a face, it will focus on the main subject in the center of the screen. It also lets you spot adjust the focus before you take a picture or while recording a video.\n\nYou can adjust and lock the focus on a different location by tapping the screen on that spot. If youre recording a video, you can spot adjust the focus without stopping the recording. When you tap the screen to adjust the focus, the focus is locked on that spot until you tap the screen again. The focus will adjust automatically and remain focused on that spot as you move the camera.\n\nTo adjust the focus:\n\n* Photos: Tap the screen to focus on that spot, then tap the Camera button to take the picture.\n* Videos: While youre recording video, tap the screen to spot adjust the focus.\n\nAutofocus is available only on the rear-facing camera. The front-facing camera has a fixed-focus lens. To learn more, see [Using autofocus on Surface 3, Surface Pro 4, and Surface Book](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras-autofocus) [on](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras-autofocus) [Surface.com.](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras-autofocus) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:using autofocus on surface book [] False [] 139 Surface
Change camera options **Change camera options**\n\nUse the Camera app to switch between the front and back camera or manually set camera options. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change camera options [] False [{"DisplayOrder":0,"QnaId":141,"Qna":null,"DisplayText":"Change between the front and back camera"},{"DisplayOrder":1,"QnaId":142,"Qna":null,"DisplayText":"Set the timer"},{"DisplayOrder":2,"QnaId":143,"Qna":null,"DisplayText":"Change camera settings"},{"DisplayOrder":3,"QnaId":144,"Qna":null,"DisplayText":"Turn off the camera shutter sound"}] 140 Surface
Change between the front and back camera **Change between the front and back camera**\n\n✪\n\nAt the top of the screen, select either the Front camera or Back camera icon, depending on which camera youre currently using. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change between the front and back camera [] False [] 141 Surface
Set the timer **Set the timer**\n\nSelect More options in the upper-right corner and select Self timer. \n\nSelect the Delay that you want to set (two, five, or 10 seconds) and select the check mark at the bottom. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set the timer [] False [] 142 Surface
Change camera settings **Change camera settings**\n\nYou can also modify the photo aspect ratio, show or hide framing grid lines, adjust video settings, and change what happens when you press and hold the camera button.\n\nHeres how to change camera settings:\n\nIn the Camera app, select More options in the upper-right corner, select Settings, and change the settings you want.\n\nTo learn how to adjust settings to get better results in your photos and videos, see [Improve photo](http://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-photo-and-video-quality) [and video quality](http://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-photo-and-video-quality) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change camera settings [] False [] 143 Surface
Turn off the camera shutter sound **Turn off the camera shutter sound**\n\nYou can turn off the shutter sound the camera makes by muting the volume on your Surface. This turns off all Surface sounds.\n\nIn the taskbar, select Volume and adjust the slider all the way down to mute the sound. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:turn off the camera shutter sound [] False [] 144 Surface
View photos and videos **View photos and videos**\n\nBy default, your photos and videos are saved to the Camera roll on your Surface. You can choose to save your pictures to OneDrive so you can access them from any web-connected device. For more info, see [Using OneDrive on Surface](http://www.microsoft.com/surface/support/storage-files-and-folders/Onedrive-on-surface) .\n\nThere are a few ways to look through your photos and videos:\n\n* Camera app: Select Photos in the upper-left corner to open the Photos app and view the most recent picture or video taken. Swipe right to see others in your collection.✪\n* Photos app: Select View collection in the upper-left corner to see other photos and videos in your collection.\n* File Explorer or OneDrive app. Go to your Pictures library and open your Camera roll.\n\nTo change where your pictures are saved:\n\n1. In the Camera app, select More options > Settings. ✪\n2. Select Manage save location and OneDrive uploads, select Yes to open Settings, and select Storage. \n3. Under Save locations, change the option under New pictures will save to. \n\nFor more info on using the cameras, see [Take photos and videos with Surface](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 145 Surface
Personalization and settings **Personalization and settings**\n\nSettings control nearly everything about how your Surface Book looks and works. By adjusting settings, you can customize your Surface to work the way you want. Here are a few different ways to find and change your settings. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:personalization and settings [] False [{"DisplayOrder":0,"QnaId":147,"Qna":null,"DisplayText":"Windows Settings"},{"DisplayOrder":1,"QnaId":148,"Qna":null,"DisplayText":"Action center"},{"DisplayOrder":2,"QnaId":149,"Qna":null,"DisplayText":"Cortana"},{"DisplayOrder":3,"QnaId":150,"Qna":null,"DisplayText":"Surface app"},{"DisplayOrder":4,"QnaId":151,"Qna":null,"DisplayText":"Sync your settings"},{"DisplayOrder":5,"QnaId":152,"Qna":null,"DisplayText":"Change settings in Windows apps"}] 146 Surface
Windows Settings **Windows Settings**\n\n1. Go to Start , and select Settings. ✪\n2. Select the type of settings you want to change or view.\n\n✪\n\nFor more info, see [A new look for settings](http://windows.microsoft.com/en-us/windows-10/getstarted-a-new-look-for-settings) on Windows.com.\n\nYou can enter the setting you want to change in the Find a setting box and choose a setting from the list. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:windows settings [] False [] 147 Surface
Action center **Action center**\n\nYou can change common settings like airplane mode and WiFi on the fly from the Action center in the taskbar. For more info, see [Take action instantly](http://windows.microsoft.com/en-us/windows-10/getstarted-take-action) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:action center [] False [] 148 Surface
Cortana **Cortana**\n\n1. Open Cortana by selecting the search box in the taskbar.✪\n2. Ask your question and select an answer under Settings. \n\nFor more info, see [What is Cortana?](http://windows.microsoft.com/en-us/windows-10/getstarted-what-is-cortana) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:cortana [] False [] 149 Surface
Surface app **Surface app**\n\nOpen the Surface app to adjust settings for the Surface Pen, OneNote, and more.\n\nFor info, see [Install and use the Surface app](http://www.microsoft.com/surface/support/apps-and-windows-store/surface-app) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface app [{"ClusterHead":"surface","TotalAutoSuggestedCount":27,"TotalUserSuggestedCount":2,"AlternateQuestionList":[{"Question":"surface","AutoSuggestedCount":27,"UserSuggestedCount":2}]},{"ClusterHead":"surfac","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"surfac","AutoSuggestedCount":1,"UserSuggestedCount":0}]}] False [] 150 Surface
Sync your settings **Sync your settings**\n\nTo learn how to sync your settings across devices, see [About sync settings in Windows 10](http://windows.microsoft.com/en-us/windows-10/about-sync-settings-in-windows-10) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:sync your settings [] False [] 151 Surface
Change settings in Windows apps **Change settings in Windows apps**\n\nYou can use settings in an app to change your preferences, find help, and add accounts.\n\n1. Open the app and select Menu > Settings. ✪\n2. Select Options and make the changes you want. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change settings in windows apps [] False [] 152 Surface
Accessibility **Accessibility**\n\nEase of Access features let you use your Surface the way you want. To see what features are available:\n\n Go to Start , and select Settings > Ease of Access. \n\n✪\n\nFor more info about Ease of Access features, see [Make your PC easier to use](http://windows.microsoft.com/en-us/windows-10/getstarted-make-your-pc-easier-to-use) on Windows.com. (Some of these options may not be available on your Surface Book.) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:accessibility [] False [{"DisplayOrder":0,"QnaId":154,"Qna":null,"DisplayText":"Ease of Access options for Surface"},{"DisplayOrder":1,"QnaId":161,"Qna":null,"DisplayText":"Other options"},{"DisplayOrder":2,"QnaId":168,"Qna":null,"DisplayText":"Customize the sign-in screen"}] 153 Surface
Ease of Access options for Surface Your Surface Book offers the following features. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:ease of access options for surface [] False [{"DisplayOrder":0,"QnaId":155,"Qna":null,"DisplayText":"Narrator:"},{"DisplayOrder":1,"QnaId":156,"Qna":null,"DisplayText":"Magnifier:"},{"DisplayOrder":2,"QnaId":157,"Qna":null,"DisplayText":"High contrast:"},{"DisplayOrder":3,"QnaId":158,"Qna":null,"DisplayText":"Closed captions:"},{"DisplayOrder":4,"QnaId":159,"Qna":null,"DisplayText":"Keyboard:"},{"DisplayOrder":5,"QnaId":160,"Qna":null,"DisplayText":"Mouse:"}] 154 Surface
Narrator: Reads the text on your screen aloud. For more info, see [Hear text read aloud with](http://windows.microsoft.com/en-us/windows-10/getstarted-hear-text-read-aloud) [Narrator](http://windows.microsoft.com/en-us/windows-10/getstarted-hear-text-read-aloud) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 155 Surface
Magnifier: Enlarges your screen or parts of it to make words and images easier to see. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 156 Surface
High contrast: Lets you use a high-contrast theme that makes items easier to read on your Surface.\n\n* To use a high-contrast theme, under Choose a theme, select any high-contrast theme, select any color to change that type of text or background color, and select Apply. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 157 Surface
Closed captions: Lets you control fonts and other features related to closed captions. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 158 Surface
Keyboard: Lets you control your Surface by using a touch keyboard. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 159 Surface
Mouse: Allows you to change the size and color of the mouse pointer and use the numeric keypad to control the mouse. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 160 Surface
Other options These options make Surface easier to use: https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:other options [] False [{"DisplayOrder":0,"QnaId":162,"Qna":null,"DisplayText":"Play animations in Windows:"},{"DisplayOrder":1,"QnaId":163,"Qna":null,"DisplayText":"Show Windows background:"},{"DisplayOrder":2,"QnaId":164,"Qna":null,"DisplayText":"Show notifications for:"},{"DisplayOrder":3,"QnaId":165,"Qna":null,"DisplayText":"Cursor thickness:"},{"DisplayOrder":4,"QnaId":166,"Qna":null,"DisplayText":"Show visual feedback when I touch the screen:"},{"DisplayOrder":5,"QnaId":167,"Qna":null,"DisplayText":"Use darker, larger visual feedback (ideal for presentations):"}] 161 Surface
Play animations in Windows: To see animations whenever you open and switch apps, select On. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 162 Surface
Show Windows background: To see a background image instead of a black background on the Desktop, select On. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 163 Surface
Show notifications for: If notifications appear and disappear too quickly, choose a time (five, seven, 15, or 30 seconds; one or five minutes) to change how long theyre visible. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 164 Surface
Cursor thickness: If the curser is too hard to see, you can change its thickness. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 165 Surface
Show visual feedback when I touch the screen: To see a gray animation wherever you touch the screen, select On. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 166 Surface
Use darker, larger visual feedback (ideal for presentations): To see a larger, darker animation wherever you touch the screen, select On. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 167 Surface
Customize the sign-in screen **Customize the sign-in screen**\n\nGo to Start , and select Settings > Ease of Access to make any of the following settings available every time Surface starts:\n\n* Narrator\n* Magnifier\n* High contrast\n* Closed captions\n* Keyboard\n* Mouse https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:customize the sign-in screen [] False [] 168 Surface
Clean and care for your Surface Book **Clean and care for your Surface Book**\n\nTo keep your Surface Book looking and working great, follow these simple steps. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:clean and care for your surface book [] False [{"DisplayOrder":0,"QnaId":170,"Qna":null,"DisplayText":"Touchscreen care"},{"DisplayOrder":1,"QnaId":174,"Qna":null,"DisplayText":"Cover and keyboard care"},{"DisplayOrder":2,"QnaId":175,"Qna":null,"DisplayText":"Power cord care"}] 169 Surface
Touchscreen care Scratches, oil, dust, chemicals, and ultraviolet light can affect the performance of your touchscreen. Here are some things you can do to help protect the screen: https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:touchscreen care [] False [{"DisplayOrder":0,"QnaId":171,"Qna":null,"DisplayText":"Clean it frequently."},{"DisplayOrder":1,"QnaId":172,"Qna":null,"DisplayText":"Keep it covered."},{"DisplayOrder":2,"QnaId":173,"Qna":null,"DisplayText":"Keep it out of the sun."}] 170 Surface
Clean it frequently. The Surface Book touchscreen has been coated to make it easier to clean. You dont need to rub hard to remove fingerprints or oily spots. To avoid scratches, use a soft, lint-free cloth to gently wipe the screen. You can dampen the cloth with water or an eyeglass cleaner, but dont apply liquids directly to your Surface. Dont use window cleaner or other chemical cleaners on your Surface. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 171 Surface
Keep it covered. Close the keyboard while youre in transit or not using your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 172 Surface
Keep it out of the sun. Do not leave your Surface Book in direct sunlight for a long time. Ultraviolet light and excessive heat can damage the display. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 173 Surface
Cover and keyboard care **Cover and keyboard care**\n\nThe Surface Book keyboard requires minimal care to function well. To clean the keyboard, wipe it with a lint-free cloth dampened in mild soap and water. Dont apply liquids directly to your Surface.\n\nFor more info about safely cleaning and caring for Surface, see [Safety and regulatory information](http://www.microsoft.com/surface/support/hardware-and-drivers/safety-and-regulatory-information) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:cover and keyboard care [] False [] 174 Surface
Power cord care **Power cord care**\n\nPower cords, like any other metal wire or cable, can be weakened or damaged if repeatedly twisted or bent in the same spot. Here are some things you can do to keep your power cord from being damaged:\n\n* Avoid twisting or pinching your power cord.\n* Dont wrap your power cord too tightly, especially around the power brick. Instead, wrap it using loose coils rather than tight angles.\n* Inspect your power cord regularly, especially where it joins the power brick.\n* Avoid pulling on the power cord when unplugging your Surface. Gently removing the connector from the charging connector can help prevent damage.\n\nFor more info, see [Clean and care for your Surface](http://www.microsoft.com/surface/support/performance-and-maintenance/clean-and-care-for-your-surface) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:power cord care [] False [] 175 Surface
Registration, repair, and warranty https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:registration, repair, and warranty [] False [{"DisplayOrder":0,"QnaId":177,"Qna":null,"DisplayText":"Register your Surface Book"},{"DisplayOrder":1,"QnaId":178,"Qna":null,"DisplayText":"Repair"},{"DisplayOrder":2,"QnaId":179,"Qna":null,"DisplayText":"Warranty"},{"DisplayOrder":3,"QnaId":180,"Qna":null,"DisplayText":"Safety and regulatory information"}] 176 Surface
Register your Surface Book **Register your Surface Book**\n\nIf you havent already registered your Surface Book and other Surface products, you can do so at [microsoft.com/surface/support/register](http://www.microsoft.com/surface/support/register) . Youll need your Microsoft account (the email address and password that you use to sign in to your Surface and to download apps from the Windows Store), and the serial number of your Surface Book keyboard or Clipboard.\n\nFor more info, see [Find the serial number on Surface](http://www.microsoft.com/surface/support/warranty-service-and-recovery/find-the-serial-number-on-surface) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:register your surface book [] False [] 177 Surface
Repair **Repair**\n\nBefore sending your Surface Book in for service, check out the [Surface troubleshooting articles](http://www.microsoft.com/surface/support/troubleshoot) on Surface.com. If you cant solve the problem with troubleshooting, [contact us](http://www.microsoft.com/surface/support/contact-us) through Surface.com.\n\nIf you continue to have a problem with your Surface, you can open a service request and send your product in for service.\n\nBefore you send your Surface in for service, see [How to prepare your Surface for service](http://www.microsoft.com/surface/support/warranty-service-and-recovery/how-to-get-your-surface-ready-for-service) . Then go to [Send my Surface in for service](http://www.microsoft.com/surface/support/service-order) on Surface.com, sign in with your Microsoft account, and follow the on-screen instructions. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:repair [] False [] 178 Surface
Warranty **Warranty**\n\nFor warranty info, see [Surface warranty](http://www.microsoft.com/surface/support/warranty-service-and-recovery/surface-warranty) and [Surface warranty documents](http://www.microsoft.com/surface/support/documents) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:warranty [] False [] 179 Surface
Safety and regulatory information **Safety and regulatory information**\n\nSee [Safety and regulatory information](https://www.microsoft.com/surface/support/hardware-and-drivers/safety-and-regulatory-information) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:safety and regulatory information [] False [] 180 Surface
More help **More help**\n\nFor more how-to info and help for Surface Book, go to [www.surface.com/support](http://www.surface.com/support) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:more help [] False [] 181 Surface
Не удается отобразить этот файл, потому что он содержит неожиданный символ в строке 2 и столбце 139.

Просмотреть файл

@ -0,0 +1,35 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Integration.AspNet.Core;
namespace Microsoft.BotBuilderSamples.Controllers
{
// This ASP Controller is created to handle a request. Dependency Injection will provide the Adapter and IBot
// implementation at runtime. Multiple different IBot implementations running at different endpoints can be
// achieved by specifying a more specific type for the bot constructor argument.
[Route("api/messages")]
[ApiController]
public class BotController : ControllerBase
{
private readonly IBotFrameworkHttpAdapter _adapter;
private readonly IBot _bot;
public BotController(IBotFrameworkHttpAdapter adapter, IBot bot)
{
_adapter = adapter;
_bot = bot;
}
[HttpPost, HttpGet]
public async Task PostAsync()
{
// Delegate the processing of the HTTP POST to the adapter.
// The adapter will invoke the bot.
await _adapter.ProcessAsync(Request, Response, _bot);
}
}
}

Просмотреть файл

@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>
<Content Update="appsettings.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>

Просмотреть файл

@ -0,0 +1,54 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"groupLocation": {
"value": ""
},
"groupName": {
"value": ""
},
"appId": {
"value": ""
},
"appSecret": {
"value": ""
},
"appType": {
"value": "MultiTenant"
},
"botId": {
"value": ""
},
"botSku": {
"value": ""
},
"newAppServicePlanName": {
"value": ""
},
"newAppServicePlanSku": {
"value": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
}
},
"newAppServicePlanLocation": {
"value": ""
},
"newWebAppName": {
"value": ""
},
"tenantId": {
"value": ""
},
"existingUserAssignedMSIName": {
"value": ""
},
"existingUserAssignedMSIResourceGroupName": {
"value": ""
}
}
}

Просмотреть файл

@ -0,0 +1,51 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"appId": {
"value": ""
},
"appSecret": {
"value": ""
},
"appType": {
"value": "MultiTenant"
},
"botId": {
"value": ""
},
"botSku": {
"value": ""
},
"newAppServicePlanName": {
"value": ""
},
"newAppServicePlanSku": {
"value": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
}
},
"appServicePlanLocation": {
"value": ""
},
"existingAppServicePlan": {
"value": ""
},
"newWebAppName": {
"value": ""
},
"tenantId": {
"value": ""
},
"existingUserAssignedMSIName": {
"value": ""
},
"existingUserAssignedMSIResourceGroupName": {
"value": ""
}
}
}

Просмотреть файл

@ -0,0 +1,259 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"groupLocation": {
"type": "string",
"metadata": {
"description": "Specifies the location of the Resource Group."
}
},
"groupName": {
"type": "string",
"metadata": {
"description": "Specifies the name of the Resource Group."
}
},
"appId": {
"type": "string",
"metadata": {
"description": "Active Directory App ID or User-Assigned Managed Identity Client ID, set as MicrosoftAppId in the Web App's Application Settings."
}
},
"appSecret": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Active Directory App Password, set as MicrosoftAppPassword in the Web App's Application Settings. Required for MultiTenant and SingleTenant app types. Defaults to \"\"."
}
},
"appType": {
"type": "string",
"defaultValue": "MultiTenant",
"allowedValues": [
"MultiTenant",
"SingleTenant",
"UserAssignedMSI"
],
"metadata": {
"description": "Type of Bot Authentication. set as MicrosoftAppType in the Web App's Application Settings. Allowed values are: MultiTenant, SingleTenant, UserAssignedMSI. Defaults to \"MultiTenant\"."
}
},
"botId": {
"type": "string",
"metadata": {
"description": "The globally unique and immutable bot ID. Also used to configure the displayName of the bot, which is mutable."
}
},
"botSku": {
"type": "string",
"metadata": {
"description": "The pricing tier of the Bot Service Registration. Acceptable values are F0 and S1."
}
},
"newAppServicePlanName": {
"type": "string",
"metadata": {
"description": "The name of the App Service Plan."
}
},
"newAppServicePlanSku": {
"type": "object",
"defaultValue": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
},
"metadata": {
"description": "The SKU of the App Service Plan. Defaults to Standard values."
}
},
"newAppServicePlanLocation": {
"type": "string",
"metadata": {
"description": "The location of the App Service Plan. Defaults to \"westus\"."
}
},
"newWebAppName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The globally unique name of the Web App. Defaults to the value passed in for \"botId\"."
}
},
"tenantId": {
"type": "string",
"defaultValue": "[subscription().tenantId]",
"metadata": {
"description": "The Azure AD Tenant ID to use as part of the Bot's Authentication. Only used for SingleTenant and UserAssignedMSI app types. Defaults to \"Subscription Tenant ID\"."
}
},
"existingUserAssignedMSIName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The User-Assigned Managed Identity Resource used for the Bot's Authentication. Defaults to \"\"."
}
},
"existingUserAssignedMSIResourceGroupName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The User-Assigned Managed Identity Resource Group used for the Bot's Authentication. Defaults to \"\"."
}
}
},
"variables": {
"appServicePlanName": "[parameters('newAppServicePlanName')]",
"resourcesLocation": "[parameters('newAppServicePlanLocation')]",
"webAppName": "[if(empty(parameters('newWebAppName')), parameters('botId'), parameters('newWebAppName'))]",
"siteHost": "[concat(variables('webAppName'), '.azurewebsites.net')]",
"botEndpoint": "[concat('https://', variables('siteHost'), '/api/messages')]",
"resourceGroupId": "[concat(subscription().id, '/resourceGroups/', parameters('groupName'))]",
"msiResourceId": "[concat(subscription().id, '/resourceGroups/', parameters('existingUserAssignedMSIResourceGroupName'), '/providers/', 'Microsoft.ManagedIdentity/userAssignedIdentities/', parameters('existingUserAssignedMSIName'))]",
"appTypeDef": {
"MultiTenant": {
"tenantId": "",
"msiResourceId": "",
"identity": { "type": "None" }
},
"SingleTenant": {
"tenantId": "[parameters('tenantId')]",
"msiResourceId": "",
"identity": { "type": "None" }
},
"UserAssignedMSI": {
"tenantId": "[parameters('tenantId')]",
"msiResourceId": "[variables('msiResourceId')]",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"[variables('msiResourceId')]": {}
}
}
}
},
"appType": {
"tenantId": "[variables('appTypeDef')[parameters('appType')].tenantId]",
"msiResourceId": "[variables('appTypeDef')[parameters('appType')].msiResourceId]",
"identity": "[variables('appTypeDef')[parameters('appType')].identity]"
}
},
"resources": [
{
"name": "[parameters('groupName')]",
"type": "Microsoft.Resources/resourceGroups",
"apiVersion": "2018-05-01",
"location": "[parameters('groupLocation')]",
"properties": {}
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2018-05-01",
"name": "storageDeployment",
"resourceGroup": "[parameters('groupName')]",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups/', parameters('groupName'))]"
],
"properties": {
"mode": "Incremental",
"template": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {},
"resources": [
{
"comments": "Create a new App Service Plan",
"type": "Microsoft.Web/serverfarms",
"name": "[variables('appServicePlanName')]",
"apiVersion": "2018-02-01",
"location": "[variables('resourcesLocation')]",
"sku": "[parameters('newAppServicePlanSku')]",
"properties": {
"name": "[variables('appServicePlanName')]"
}
},
{
"comments": "Create a Web App using the new App Service Plan",
"type": "Microsoft.Web/sites",
"apiVersion": "2015-08-01",
"location": "[variables('resourcesLocation')]",
"kind": "app",
"dependsOn": [
"[concat(variables('resourceGroupId'), '/providers/Microsoft.Web/serverfarms/', variables('appServicePlanName'))]"
],
"name": "[variables('webAppName')]",
"identity": "[variables('appType').identity]",
"properties": {
"name": "[variables('webAppName')]",
"serverFarmId": "[variables('appServicePlanName')]",
"siteConfig": {
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "10.14.1"
},
{
"name": "MicrosoftAppType",
"value": "[parameters('appType')]"
},
{
"name": "MicrosoftAppId",
"value": "[parameters('appId')]"
},
{
"name": "MicrosoftAppPassword",
"value": "[parameters('appSecret')]"
},
{
"name": "MicrosoftAppTenantId",
"value": "[variables('appType').tenantId]"
}
],
"cors": {
"allowedOrigins": [
"https://botservice.hosting.portal.azure.net",
"https://hosting.onecloud.azure-test.net/"
]
},
"webSocketsEnabled": true
}
}
},
{
"apiVersion": "2021-03-01",
"type": "Microsoft.BotService/botServices",
"name": "[parameters('botId')]",
"location": "global",
"kind": "azurebot",
"sku": {
"name": "[parameters('botSku')]"
},
"properties": {
"name": "[parameters('botId')]",
"displayName": "[parameters('botId')]",
"iconUrl": "https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png",
"endpoint": "[variables('botEndpoint')]",
"msaAppId": "[parameters('appId')]",
"msaAppTenantId": "[variables('appType').tenantId]",
"msaAppMSIResourceId": "[variables('appType').msiResourceId]",
"msaAppType": "[parameters('appType')]",
"luisAppIds": [],
"schemaTransformationVersion": "1.3",
"isCmekEnabled": false,
"isIsolated": false
},
"dependsOn": [
"[concat(variables('resourceGroupId'), '/providers/Microsoft.Web/sites/', variables('webAppName'))]"
]
}
],
"outputs": {}
}
}
}
]
}

Просмотреть файл

@ -0,0 +1,230 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"appId": {
"type": "string",
"metadata": {
"description": "Active Directory App ID or User-Assigned Managed Identity Client ID, set as MicrosoftAppId in the Web App's Application Settings."
}
},
"appSecret": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Active Directory App Password, set as MicrosoftAppPassword in the Web App's Application Settings. Required for MultiTenant and SingleTenant app types. Defaults to \"\"."
}
},
"appType": {
"type": "string",
"defaultValue": "MultiTenant",
"allowedValues": [
"MultiTenant",
"SingleTenant",
"UserAssignedMSI"
],
"metadata": {
"description": "Type of Bot Authentication. set as MicrosoftAppType in the Web App's Application Settings. Allowed values are: MultiTenant, SingleTenant, UserAssignedMSI. Defaults to \"MultiTenant\"."
}
},
"botId": {
"type": "string",
"metadata": {
"description": "The globally unique and immutable bot ID. Also used to configure the displayName of the bot, which is mutable."
}
},
"botSku": {
"defaultValue": "F0",
"type": "string",
"metadata": {
"description": "The pricing tier of the Bot Service Registration. Acceptable values are F0 and S1."
}
},
"newAppServicePlanName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The name of the new App Service Plan."
}
},
"newAppServicePlanSku": {
"type": "object",
"defaultValue": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
},
"metadata": {
"description": "The SKU of the App Service Plan. Defaults to Standard values."
}
},
"appServicePlanLocation": {
"type": "string",
"metadata": {
"description": "The location of the App Service Plan."
}
},
"existingAppServicePlan": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Name of the existing App Service Plan used to create the Web App for the bot."
}
},
"newWebAppName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The globally unique name of the Web App. Defaults to the value passed in for \"botId\"."
}
},
"tenantId": {
"type": "string",
"defaultValue": "[subscription().tenantId]",
"metadata": {
"description": "The Azure AD Tenant ID to use as part of the Bot's Authentication. Only used for SingleTenant and UserAssignedMSI app types. Defaults to \"Subscription Tenant ID\"."
}
},
"existingUserAssignedMSIName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The User-Assigned Managed Identity Resource used for the Bot's Authentication. Defaults to \"\"."
}
},
"existingUserAssignedMSIResourceGroupName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The User-Assigned Managed Identity Resource Group used for the Bot's Authentication. Defaults to \"\"."
}
}
},
"variables": {
"defaultAppServicePlanName": "[if(empty(parameters('existingAppServicePlan')), 'createNewAppServicePlan', parameters('existingAppServicePlan'))]",
"useExistingAppServicePlan": "[not(equals(variables('defaultAppServicePlanName'), 'createNewAppServicePlan'))]",
"servicePlanName": "[if(variables('useExistingAppServicePlan'), parameters('existingAppServicePlan'), parameters('newAppServicePlanName'))]",
"resourcesLocation": "[parameters('appServicePlanLocation')]",
"webAppName": "[if(empty(parameters('newWebAppName')), parameters('botId'), parameters('newWebAppName'))]",
"siteHost": "[concat(variables('webAppName'), '.azurewebsites.net')]",
"botEndpoint": "[concat('https://', variables('siteHost'), '/api/messages')]",
"msiResourceId": "[concat(subscription().id, '/resourceGroups/', parameters('existingUserAssignedMSIResourceGroupName'), '/providers/', 'Microsoft.ManagedIdentity/userAssignedIdentities/', parameters('existingUserAssignedMSIName'))]",
"appTypeDef": {
"MultiTenant": {
"tenantId": "",
"msiResourceId": "",
"identity": { "type": "None" }
},
"SingleTenant": {
"tenantId": "[parameters('tenantId')]",
"msiResourceId": "",
"identity": { "type": "None" }
},
"UserAssignedMSI": {
"tenantId": "[parameters('tenantId')]",
"msiResourceId": "[variables('msiResourceId')]",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"[variables('msiResourceId')]": {}
}
}
}
},
"appType": {
"tenantId": "[variables('appTypeDef')[parameters('appType')].tenantId]",
"msiResourceId": "[variables('appTypeDef')[parameters('appType')].msiResourceId]",
"identity": "[variables('appTypeDef')[parameters('appType')].identity]"
}
},
"resources": [
{
"comments": "Create a new App Service Plan if no existing App Service Plan name was passed in.",
"type": "Microsoft.Web/serverfarms",
"condition": "[not(variables('useExistingAppServicePlan'))]",
"name": "[variables('servicePlanName')]",
"apiVersion": "2018-02-01",
"location": "[variables('resourcesLocation')]",
"sku": "[parameters('newAppServicePlanSku')]",
"properties": {
"name": "[variables('servicePlanName')]"
}
},
{
"comments": "Create a Web App using an App Service Plan",
"type": "Microsoft.Web/sites",
"apiVersion": "2015-08-01",
"location": "[variables('resourcesLocation')]",
"kind": "app",
"dependsOn": [
"[resourceId('Microsoft.Web/serverfarms', variables('servicePlanName'))]"
],
"name": "[variables('webAppName')]",
"identity": "[variables('appType').identity]",
"properties": {
"name": "[variables('webAppName')]",
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('servicePlanName'))]",
"siteConfig": {
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "10.14.1"
},
{
"name": "MicrosoftAppType",
"value": "[parameters('appType')]"
},
{
"name": "MicrosoftAppId",
"value": "[parameters('appId')]"
},
{
"name": "MicrosoftAppPassword",
"value": "[parameters('appSecret')]"
},
{
"name": "MicrosoftAppTenantId",
"value": "[variables('appType').tenantId]"
}
],
"cors": {
"allowedOrigins": [
"https://botservice.hosting.portal.azure.net",
"https://hosting.onecloud.azure-test.net/"
]
},
"webSocketsEnabled": true
}
}
},
{
"apiVersion": "2021-03-01",
"type": "Microsoft.BotService/botServices",
"name": "[parameters('botId')]",
"location": "global",
"kind": "azurebot",
"sku": {
"name": "[parameters('botSku')]"
},
"properties": {
"name": "[parameters('botId')]",
"displayName": "[parameters('botId')]",
"iconUrl": "https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png",
"endpoint": "[variables('botEndpoint')]",
"msaAppId": "[parameters('appId')]",
"msaAppTenantId": "[variables('appType').tenantId]",
"msaAppMSIResourceId": "[variables('appType').msiResourceId]",
"msaAppType": "[parameters('appType')]",
"luisAppIds": [],
"schemaTransformationVersion": "1.3",
"isCmekEnabled": false,
"isIsolated": false
},
"dependsOn": [
"[resourceId('Microsoft.Web/sites/', variables('webAppName'))]"
]
}
]
}

Просмотреть файл

@ -0,0 +1,98 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.AI.QnA.Dialogs;
using Microsoft.Bot.Builder.AI.QnA.Models;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Extensions.Configuration;
namespace Microsoft.BotBuilderSamples.Dialogs
{
/// <summary>
/// This is an example root dialog. Replace this with your applications.
/// </summary>
public class RootDialog : ComponentDialog
{
private const string DialogId = "initial-dialog";
private const string ActiveLearningCardTitle = "Did you mean:";
private const string ActiveLearningCardNoMatchText = "None of the above.";
private const string ActiveLearningCardNoMatchResponse = "Thanks for the feedback.";
private const float ScoreThreshold = 0.3f;
private const int TopAnswers = 3;
private const string RankerType = "Default";
private const bool IsTest = false;
private const bool IncludeUnstructuredSources = true;
/// <summary>
/// Initializes a new instance of the <see cref="RootDialog"/> class.
/// </summary>
/// <param name="configuration">An <see cref="IConfiguration"/> instance.</param>
public RootDialog(IConfiguration configuration)
: base("root")
{
AddDialog(CreateQnAMakerDialog(configuration));
AddDialog(new WaterfallDialog(DialogId)
.AddStep(InitialStepAsync));
// The initial child Dialog to run.
InitialDialogId = DialogId;
}
private QnAMakerDialog CreateQnAMakerDialog(IConfiguration configuration)
{
const string missingConfigError = "{0} is missing or empty in configuration.";
var hostname = configuration["LanguageEndpointHostName"];
if (string.IsNullOrEmpty(hostname))
{
throw new ArgumentException(string.Format(missingConfigError, "LanguageEndpointHostName"));
}
var endpointKey = configuration["LanguageEndpointKey"];
if (string.IsNullOrEmpty(endpointKey))
{
throw new ArgumentException(string.Format(missingConfigError, "LanguageEndpointKey"));
}
var knowledgeBaseId = configuration["ProjectName"];
if (string.IsNullOrEmpty(knowledgeBaseId))
{
throw new ArgumentException(string.Format(missingConfigError, "ProjectName"));
}
var enablePreciseAnswer = bool.Parse(configuration["EnablePreciseAnswer"]);
var displayPreciseAnswerOnly = bool.Parse(configuration["DisplayPreciseAnswerOnly"]);
// Create a new instance of QnAMakerDialog with dialogOptions initialized.
var noAnswer = MessageFactory.Text(configuration["DefaultAnswer"] ?? string.Empty);
var qnamakerDialog = new QnAMakerDialog(nameof(QnAMakerDialog), knowledgeBaseId, endpointKey, hostname, noAnswer: noAnswer, cardNoMatchResponse: MessageFactory.Text(ActiveLearningCardNoMatchResponse))
{
Threshold = ScoreThreshold,
ActiveLearningCardTitle = ActiveLearningCardTitle,
CardNoMatchText = ActiveLearningCardNoMatchText,
Top = TopAnswers,
Filters = { },
QnAServiceType = ServiceType.Language,
EnablePreciseAnswer = enablePreciseAnswer,
DisplayPreciseAnswerOnly = displayPreciseAnswerOnly,
IncludeUnstructuredSources = IncludeUnstructuredSources,
RankerType = RankerType,
IsTest = IsTest
};
return qnamakerDialog;
}
private async Task<DialogTurnResult> InitialStepAsync(WaterfallStepContext stepContext, CancellationToken cancellationToken)
{
return await stepContext.BeginDialogAsync(nameof(QnAMakerDialog), null, cancellationToken);
}
}
}

Просмотреть файл

@ -0,0 +1,29 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Microsoft.BotBuilderSamples
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.ConfigureLogging((logging) =>
{
logging.AddDebug();
logging.AddConsole();
});
webBuilder.UseStartup<Startup>();
});
}
}

Просмотреть файл

@ -0,0 +1,28 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:3978/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
".NET Core": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "http://localhost:3978",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

Просмотреть файл

@ -0,0 +1,176 @@
# Custom Question Answering
This is the Bot Framework v4 Custom question answering bot sample, which shows how to use advanced features of [Cognitive Services question answering][LS], such as [Precise answering][PA], support for unstructured sources, [Multi-turn conversations][MT], and [Active Learning][AL] in a bot.
This bot was created using [Bot Framework][BF].
## Concepts introduced in this sample
[Question answering][LS] enables you to build, train, and publish a simple question and answer bot based on FAQ URLs, structured and unstructured documents, or editorial content in minutes. In this sample, we demonstrate:
- How to use active learning to generate suggestions for your knowledge base.
- How to use follow-up prompts to create multiple turns of a conversation.
- How to configure display of precise answers.
- How to enable/disable querying unstructured sources with the bot.
## Prerequisites
- This project requires a [Language resource](https://aka.ms/create-language-resource) with Custom question answering enabled.
### Configure knowledge base of the project
- Follow instructions [here][Quickstart] to create a Custom question answering project. You will need this project's name to be used as `ProjectName` in [appsettings.json](appsettings.json).
- Visit [Language Studio][LS] and open created project.
- Go to `Edit knowledge base` -> Click on `...` -> Click on `Import questions and answers` -> Click on `Import as TSV`.
- Import [SampleForCQA.tsv](CognitiveModels/SampleForCQA.tsv) file.
- You can test your knowledge base by clicking on `Test` option.
- Go to `Deploy knowledge base` and click on `Deploy`.
### Connect your bot to the project.
Follow these steps to update [appsettings.json](appsettings.json).
- In the [Azure Portal][Azure], go to your resource.
- Go to `Keys and Endpoint` under Resource Management.
- Copy one of the keys as value of `LanguageEndpointKey` and Endpoint as value of `LanguageEndpointHostName` in [appsettings.json](appsettings.json).
- `ProjectName` is the name of the project created in [Language Studio][LS].
## To try this sample
- Install the Bot Framework Emulator version 4.14.0 or greater from [here][BFE]
- Clone the repository
```bash
git clone https://github.com/Microsoft/botbuilder-samples.git
```
- In a terminal, navigate to `samples/csharp_dotnetcore/48.customQABot-all-features`
- Run the bot from a terminal or from Visual Studio, choose option A or B.
A) From a terminal
```bash
# run the bot
dotnet run
```
B) Or from Visual Studio
- Launch Visual Studio
- File -> Open -> Project/Solution
- Navigate to `samples/csharp_dotnetcore/48.customQABot-all-features` folder
- Select `CustomQABotAllFeatures.csproj` file
- Press `F5` to run the project
- Connect to the bot using Bot Framework Emulator
1) Launch Bot Framework Emulator
2) File -> Open Bot
3) Enter a Bot URL of `http://localhost:3978/api/messages`
## Try Active Learning
- Try the following utterances:
1. Surface Book
2. Power
- In Language Studio, select `inspect` to view the scores of the returned answers and compare how close they are.
- In [Bot Framework Emulator][BFE], a card is generated with the suggestions.
- Clicking an option sends a [feedback record](https://docs.microsoft.com/en-us/rest/api/cognitiveservices/questionanswering/question-answering-projects/add-feedback), which shows as suggestion under `Review suggestions` in [Language Studio][LS].
- `ActiveLearningCardTitle`, `ActiveLearningCardNoMatchText` and `ActiveLearningCardNoMatchResponse` in the card can be changed from [RootDialog.cs](Dialogs/RootDialog.cs).
## Try Multi-turn prompt
- Try the following utterances:
1. Accessibility
2. Options
- You'll notice that multi-turn prompts associated with the question are also returned in the responses.
## Try Precise Answering
- Try the following utterances:
1) Accessibility
2) Register
- You will notice a short answer returned along with a long answer.
- If testing in [Language Studio][LS], you might have to check `Include short answer response` at the top.
- You can disable precise answering by setting `EnablePreciseAnswer` to false in [appsettings.json](appsettings.json).
- You can set `DisplayPreciseAnswerOnly` to true in [appsettings.json](appsettings.json) to display just precise answers in the response.
- Learn more about [precise answering][PA].
## Query unstructured content
- Go to your project in [Language Studio][LS]. In `Manage sources`, select `+ Add source`.
- Select `URLs` and add `https://www.microsoft.com/en-us/microsoft-365/blog/2022/01/27/from-empowering-frontline-workers-to-accessibility-improvements-heres-whats-new-in-microsoft-365/`.
- Select **unstructured** in the `Classify file structure` dropdown.
- Try the following utterances:
1. Frontline workers
2. Hybrid work solutions
- Make sure answers are returned with a high score.
- To prevent querying unstructured sources, set `IncludeUnstructuredSources` to false in [RootDialog.cs](Dialogs/RootDialog.cs).
## Try Filters
If you want to return answers with only specified metadata, use the following steps:
- Go to your project in [Language Studio][LS]. In `Edit knowledge bases`, under the **Metadata** column, select `+ Add`
- Select a QnA to edit and add a key value pair. Add the key value pair `Language` : `CSharp`, then select `Save changes`.
- Select `Test`, then **Show advanced options**, then select the metadata you just added (`Language : CSharp`).
You can also filter answers using a bot by passing it metadata and/or source filters. To do this, edit line 81 in [RootDialog.cs](Dialogs/RootDialog.cs) to something like the code snippet below. For more information, see [Query filters](https://docs.microsoft.com/en-us/rest/api/cognitiveservices/questionanswering/question-answering/get-answers#queryfilters).
```csharp
var filters = new Filters
{
MetadataFilter = new MetadataFilter()
{
LogicalOperation = Bot.Builder.AI.QnA.JoinOperator.AND.ToString()
},
LogicalOperation = Bot.Builder.AI.QnA.JoinOperator.AND.ToString()
};
filters.MetadataFilter.Metadata.Add(new KeyValuePair<string, string>("Language", "CSharp"));
filters.SourceFilter.Add("SampleForCQA.tsv");
filters.SourceFilter.Add("SampleActiveLearningImport.tsv");
// Initialize Filters with filters in line No. 81
```
## Microsoft Teams channel group chat fix
To get answers from the service when a bot (named as `HelpBot`) is added to a Teams channel or Teams group chat, refer to it as `@HelpBot` `How to build a bot?`.
However, the bot may try to send `<at>HelpBot</at>` `How to build a bot?` as a query to the Custom question answering service, which may not give expected results for question to bot. The following code removes `<at>HelpBot</at>` mentions of the bot from the message and sends the remaining text as query to the service.
- Goto `Bots/CustomQABot.cs`
- Add the following references:
```csharp
using Microsoft.Bot.Connector;
using System.Text.RegularExpressions;
```
- Modify `OnTurnAsync` function as:
```csharp
public override async Task OnTurnAsync(ITurnContext turnContext, CancellationToken cancellationToken = default)
{
// Teams group chat
if (turnContext.Activity.ChannelId.Equals(Channels.Msteams))
{
turnContext.Activity.Text = turnContext.Activity.RemoveRecipientMention();
}
await base.OnTurnAsync(turnContext, cancellationToken);
// Save any state changes that might have occurred during the turn.
await ConversationState.SaveChangesAsync(turnContext, false, cancellationToken);
await UserState.SaveChangesAsync(turnContext, false, cancellationToken);
}
```
## Deploy the bot to Azure
See [Deploy your C# bot to Azure][50] for instructions.
The deployment process assumes you have an account on Microsoft Azure and are able to log into the [Microsoft Azure Portal][Azure].
If you are new to Microsoft Azure, please refer to [Getting started with Azure][70] for guidance on how to get started on Azure.
## Further reading
- [How bots work][90]
- [Question Answering Documentation](https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/overview)
- [Channels and Bot Connector Service](https://docs.microsoft.com/azure/bot-service/bot-concepts)
- [Active learning Documentation][AL]
- [Multi-turn Conversations][MT]
- [Precise Answering][PA]
[50]: https://docs.microsoft.com/azure/bot-service/bot-builder-howto-deploy-azure
[70]: https://azure.microsoft.com/get-started/
[90]: https://docs.microsoft.com/azure/bot-service/bot-builder-basics
[100]: https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction
[110]: https://docs.microsoft.com/azure/bot-service/
[140]: https://portal.azure.com
[LS]: https://language.cognitive.azure.com/
[MT]: https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/tutorials/guided-conversations
[AL]: https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/tutorials/active-learning
[PA]: https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/concepts/precise-answering
[BF]: https://dev.botframework.com/
[Quickstart]: https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/quickstart/sdk
[Azure]: https://portal.azure.com/
[BFE]: https://github.com/Microsoft/BotFramework-Emulator/releases

Просмотреть файл

@ -0,0 +1,65 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Integration.AspNet.Core;
using Microsoft.BotBuilderSamples.Bots;
using Microsoft.BotBuilderSamples.Dialogs;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace Microsoft.BotBuilderSamples
{
public class Startup
{
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddHttpClient().AddControllers().AddNewtonsoftJson();
// Create the Bot Framework Adapter with error handling enabled.
services.AddSingleton<IBotFrameworkHttpAdapter, AdapterWithErrorHandler>();
// Create the storage we'll be using for User and Conversation state. (Memory is great for testing purposes.)
services.AddSingleton<IStorage, MemoryStorage>();
// Create the User state. (Used in this bot's Dialog implementation.)
services.AddSingleton<UserState>();
// Create the Conversation state. (Used by the Dialog system itself.)
services.AddSingleton<ConversationState>();
// The Dialog that will be run by the bot.
services.AddSingleton<RootDialog>();
// Create the bot as a transient. In this case the ASP Controller is expecting an IBot.
services.AddTransient<IBot, CustomQABot<RootDialog>>();
ComponentRegistration.Add(new DialogsComponentRegistration());
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
app.UseDefaultFiles()
.UseStaticFiles()
.UseWebSockets()
.UseRouting()
.UseAuthorization()
.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
});
// app.UseHttpsRedirection();
}
}
}

Просмотреть файл

@ -0,0 +1,13 @@
{
"MicrosoftAppType": "",
"MicrosoftAppId": "",
"MicrosoftAppPassword": "",
"MicrosoftAppTenantId": "",
"ProjectName": "",
"LanguageEndpointKey": "",
"LanguageEndpointHostName": "",
"DefaultAnswer": "",
"DefaultWelcomeMessage": "",
"EnablePreciseAnswer": "true",
"DisplayPreciseAnswerOnly": "false"
}

Просмотреть файл

@ -0,0 +1,417 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CustomQA Bot Sample</title>
<style>
body {
margin: 0px;
padding: 0px;
font-family: Segoe UI;
}
html,
body {
height: 100%;
}
header {
background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 4638.9 651.6' style='enable-background:new 0 0 4638.9 651.6;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%2355A0E0;%7D .st1%7Bfill:none;%7D .st2%7Bfill:%230058A8;%7D .st3%7Bfill:%23328BD8;%7D .st4%7Bfill:%23B6DCF1;%7D .st5%7Bopacity:0.2;fill:url(%23SVGID_1_);enable-background:new ;%7D%0A%3C/style%3E%3Crect y='1.1' class='st0' width='4640' height='646.3'/%3E%3Cpath class='st1' d='M3987.8,323.6L4310.3,1.1h-65.6l-460.1,460.1c-17.5,17.5-46.1,17.5-63.6,0L3260.9,1.1H0v646.3h3660.3 L3889,418.7c17.5-17.5,46.1-17.5,63.6,0l228.7,228.7h66.6l-260.2-260.2C3970.3,369.8,3970.3,341.1,3987.8,323.6z'/%3E%3Cpath class='st2' d='M3784.6,461.2L4244.7,1.1h-983.9l460.1,460.1C3738.4,478.7,3767.1,478.7,3784.6,461.2z'/%3E%3Cpath class='st3' d='M4640,1.1h-329.8l-322.5,322.5c-17.5,17.5-17.5,46.1,0,63.6l260.2,260.2H4640L4640,1.1L4640,1.1z'/%3E%3Cpath class='st4' d='M3889,418.8l-228.7,228.7h521.1l-228.7-228.7C3935.2,401.3,3906.5,401.3,3889,418.8z'/%3E%3ClinearGradient id='SVGID_1_' gradientUnits='userSpaceOnUse' x1='3713.7576' y1='438.1175' x2='3911.4084' y2='14.2535' gradientTransform='matrix(1 0 0 -1 0 641.3969)'%3E%3Cstop offset='0' style='stop-color:%23FFFFFF;stop-opacity:0.5'/%3E%3Cstop offset='1' style='stop-color:%23FFFFFF'/%3E%3C/linearGradient%3E%3Cpath class='st5' d='M3952.7,124.5c-17.5-17.5-46.1-17.5-63.6,0l-523,523h1109.6L3952.7,124.5z'/%3E%3C/svg%3E%0A");
background-repeat: no-repeat;
background-size: 100%;
background-position: right;
background-color: #55A0E0;
width: 100%;
font-size: 44px;
height: 120px;
color: white;
padding: 30px 0 40px 0px;
display: inline-block;
}
.header-icon {
background-image: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%0A%09%20viewBox%3D%220%200%20150.2%20125%22%20style%3D%22enable-background%3Anew%200%200%20150.2%20125%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cstyle%20type%3D%22text/css%22%3E%0A%09.st0%7Bfill%3Anone%3B%7D%0A%09.st1%7Bfill%3A%23FFFFFF%3B%7D%0A%3C/style%3E%0A%3Crect%20x%3D%220.5%22%20class%3D%22st0%22%20width%3D%22149.7%22%20height%3D%22125%22/%3E%0A%3Cg%3E%0A%09%3Cpath%20class%3D%22st1%22%20d%3D%22M59%2C102.9L21.8%2C66c-3.5-3.5-3.5-9.1%2C0-12.5l37-36.5l2.9%2C3l-37%2C36.4c-1.8%2C1.8-1.8%2C4.7%2C0%2C6.6l37.2%2C37L59%2C102.9z%22%0A%09%09/%3E%0A%3C/g%3E%0A%3Cg%3E%0A%09%3Cpath%20class%3D%22st1%22%20d%3D%22M92.5%2C102.9l-3-3l37.2-37c0.9-0.9%2C1.4-2%2C1.4-3.3c0-1.2-0.5-2.4-1.4-3.3L89.5%2C20l2.9-3l37.2%2C36.4%0A%09%09c1.7%2C1.7%2C2.6%2C3.9%2C2.6%2C6.3s-0.9%2C4.6-2.6%2C6.3L92.5%2C102.9z%22/%3E%0A%3C/g%3E%0A%3Cg%3E%0A%09%3Cpath%20class%3D%22st1%22%20d%3D%22M90.1%2C68.4c-4.5%2C0-8-3.5-8-8.1c0-4.5%2C3.5-8.1%2C8-8.1c4.4%2C0%2C8%2C3.7%2C8%2C8.1C98.1%2C64.7%2C94.4%2C68.4%2C90.1%2C68.4z%0A%09%09%20M90.1%2C56.5c-2.2%2C0-3.8%2C1.7-3.8%2C3.9c0%2C2.2%2C1.7%2C3.9%2C3.8%2C3.9c1.9%2C0%2C3.8-1.6%2C3.8-3.9S91.9%2C56.5%2C90.1%2C56.5z%22/%3E%0A%3C/g%3E%0A%3Cg%3E%0A%09%3Cpath%20class%3D%22st1%22%20d%3D%22M61.4%2C68.4c-4.5%2C0-8-3.5-8-8.1c0-4.5%2C3.5-8.1%2C8-8.1c4.4%2C0%2C8%2C3.7%2C8%2C8.1C69.5%2C64.7%2C65.8%2C68.4%2C61.4%2C68.4z%0A%09%09%20M61.4%2C56.5c-2.2%2C0-3.8%2C1.7-3.8%2C3.9c0%2C2.2%2C1.7%2C3.9%2C3.8%2C3.9c1.9%2C0%2C3.8-1.6%2C3.8-3.9S63.3%2C56.5%2C61.4%2C56.5z%22/%3E%0A%3C/g%3E%0A%3C/svg%3E%0A");
background-repeat: no-repeat;
float: left;
height: 140px;
width: 140px;
display: inline-block;
vertical-align: middle;
}
.header-text {
padding-left: 1%;
color: #FFFFFF;
font-family: "Segoe UI";
font-size: 72px;
font-weight: 300;
letter-spacing: 0.35px;
line-height: 96px;
display: inline-block;
vertical-align: middle;
}
.header-inner-container {
min-width: 480px;
max-width: 1366px;
margin-left: auto;
margin-right: auto;
vertical-align: middle;
}
.header-inner-container::after {
content: "";
clear: both;
display: table;
}
.main-content-area {
padding-left: 30px;
}
.content-title {
color: #000000;
font-family: "Segoe UI";
font-size: 46px;
font-weight: 300;
line-height: 62px;
}
.main-text {
color: #808080;
font-size: 24px;
font-family: "Segoe UI";
font-size: 24px;
font-weight: 200;
line-height: 32px;
}
.main-text-p1{
padding-top: 48px;
padding-bottom: 28px;
}
.endpoint {
height: 32px;
width: 571px;
color: #808080;
font-family: "Segoe UI";
font-size: 24px;
font-weight: 200;
line-height: 32px;
padding-top: 28px;
}
.how-to-build-section {
padding-top: 20px;
padding-left: 30px;
}
.how-to-build-section>h3 {
font-size: 16px;
font-weight: 600;
letter-spacing: 0.35px;
line-height: 22px;
margin: 0 0 24px 0;
text-transform: uppercase;
}
.step-container {
display: flex;
align-items: stretch;
position: relative;
}
.step-container dl {
border-left: 1px solid #A0A0A0;
display: block;
padding: 0 24px;
margin: 0;
}
.step-container dl>dt::before {
background-color: white;
border: 1px solid #A0A0A0;
border-radius: 100%;
content: '';
left: 47px;
height: 11px;
position: absolute;
width: 11px;
}
.step-container dl>.test-bullet::before {
background-color: blue;
}
.step-container dl>dt {
display: block;
font-size: inherit;
font-weight: bold;
line-height: 20px;
}
.step-container dl>dd {
font-size: inherit;
line-height: 20px;
margin-left: 0;
padding-bottom: 32px;
}
.step-container:last-child dl {
border-left: 1px solid transparent;
}
.ctaLink {
background-color: transparent;
border: 1px solid transparent;
color: #006AB1;
cursor: pointer;
font-weight: 600;
padding: 0;
white-space: normal;
}
.ctaLink:focus {
outline: 1px solid #00bcf2;
}
.ctaLink:hover {
text-decoration: underline;
}
.step-icon {
display: flex;
height: 38px;
margin-right: 15px;
width: 38px;
}
.step-icon>div {
height: 30px;
width: 30px;
background-repeat: no-repeat;
}
.ms-logo-container {
min-width: 580px;
max-width: 980px;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
transition: bottom 400ms;
}
.ms-logo {
float: right;
background-image: url("data:image/svg+xml;utf8,%0A%3Csvg%20version%3D%221.1%22%20id%3D%22MS-symbol%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%0A%09%20viewBox%3D%220%200%20400%20120%22%20style%3D%22enable-background%3Anew%200%200%20400%20120%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cstyle%20type%3D%22text/css%22%3E%0A%09.st0%7Bfill%3Anone%3B%7D%0A%09.st1%7Bfill%3A%23737474%3B%7D%0A%09.st2%7Bfill%3A%23D63F26%3B%7D%0A%09.st3%7Bfill%3A%23167D3E%3B%7D%0A%09.st4%7Bfill%3A%232E76BC%3B%7D%0A%09.st5%7Bfill%3A%23FDB813%3B%7D%0A%3C/style%3E%0A%3Crect%20x%3D%220.6%22%20class%3D%22st0%22%20width%3D%22398.7%22%20height%3D%22119%22/%3E%0A%3Cpath%20class%3D%22st1%22%20d%3D%22M171.3%2C38.4v43.2h-7.5V47.7h-0.1l-13.4%2C33.9h-5l-13.7-33.9h-0.1v33.9h-6.9V38.4h10.8l12.4%2C32h0.2l13.1-32H171.3%0A%09z%20M177.6%2C41.7c0-1.2%2C0.4-2.2%2C1.3-3c0.9-0.8%2C1.9-1.2%2C3.1-1.2c1.3%2C0%2C2.4%2C0.4%2C3.2%2C1.3c0.8%2C0.8%2C1.3%2C1.8%2C1.3%2C3c0%2C1.2-0.4%2C2.2-1.3%2C3%0A%09c-0.9%2C0.8-1.9%2C1.2-3.2%2C1.2s-2.3-0.4-3.1-1.2C178%2C43.8%2C177.6%2C42.8%2C177.6%2C41.7z%20M185.7%2C50.6v31h-7.3v-31H185.7z%20M207.8%2C76.3%0A%09c1.1%2C0%2C2.3-0.3%2C3.6-0.8c1.3-0.5%2C2.5-1.2%2C3.6-2v6.8c-1.2%2C0.7-2.5%2C1.2-4%2C1.5c-1.5%2C0.3-3.1%2C0.5-4.9%2C0.5c-4.6%2C0-8.3-1.4-11.1-4.3%0A%09c-2.9-2.9-4.3-6.6-4.3-11c0-5%2C1.5-9.1%2C4.4-12.3c2.9-3.2%2C7-4.8%2C12.4-4.8c1.4%2C0%2C2.7%2C0.2%2C4.1%2C0.5c1.4%2C0.4%2C2.5%2C0.8%2C3.3%2C1.2v7%0A%09c-1.1-0.8-2.3-1.5-3.4-1.9c-1.2-0.5-2.4-0.7-3.6-0.7c-2.9%2C0-5.2%2C0.9-7%2C2.8c-1.8%2C1.9-2.7%2C4.4-2.7%2C7.6c0%2C3.1%2C0.8%2C5.6%2C2.5%2C7.3%0A%09C202.6%2C75.4%2C204.9%2C76.3%2C207.8%2C76.3z%20M235.7%2C50.1c0.6%2C0%2C1.1%2C0%2C1.6%2C0.1s0.9%2C0.2%2C1.2%2C0.3v7.4c-0.4-0.3-0.9-0.5-1.7-0.8%0A%09c-0.7-0.3-1.6-0.4-2.7-0.4c-1.8%2C0-3.3%2C0.8-4.5%2C2.3c-1.2%2C1.5-1.9%2C3.8-1.9%2C7v15.6h-7.3v-31h7.3v4.9h0.1c0.7-1.7%2C1.7-3%2C3-4%0A%09C232.2%2C50.6%2C233.8%2C50.1%2C235.7%2C50.1z%20M238.9%2C66.6c0-5.1%2C1.4-9.2%2C4.3-12.2c2.9-3%2C6.9-4.5%2C12.1-4.5c4.8%2C0%2C8.6%2C1.4%2C11.3%2C4.3%0A%09c2.7%2C2.9%2C4.1%2C6.8%2C4.1%2C11.7c0%2C5-1.4%2C9-4.3%2C12c-2.9%2C3-6.8%2C4.5-11.8%2C4.5c-4.8%2C0-8.6-1.4-11.4-4.2C240.3%2C75.3%2C238.9%2C71.4%2C238.9%2C66.6z%0A%09%20M246.5%2C66.3c0%2C3.2%2C0.7%2C5.7%2C2.2%2C7.4c1.5%2C1.7%2C3.6%2C2.6%2C6.3%2C2.6c2.7%2C0%2C4.7-0.9%2C6.1-2.6c1.4-1.7%2C2.1-4.2%2C2.1-7.6c0-3.3-0.7-5.8-2.2-7.5%0A%09c-1.4-1.7-3.4-2.5-6-2.5c-2.7%2C0-4.7%2C0.9-6.2%2C2.7C247.2%2C60.5%2C246.5%2C63%2C246.5%2C66.3z%20M281.5%2C58.8c0%2C1%2C0.3%2C1.9%2C1%2C2.5%0A%09c0.7%2C0.6%2C2.1%2C1.3%2C4.4%2C2.2c2.9%2C1.2%2C5%2C2.5%2C6.1%2C3.9c1.2%2C1.5%2C1.8%2C3.2%2C1.8%2C5.3c0%2C2.9-1.1%2C5.3-3.4%2C7c-2.2%2C1.8-5.3%2C2.7-9.1%2C2.7%0A%09c-1.3%2C0-2.7-0.2-4.3-0.5c-1.6-0.3-2.9-0.7-4-1.2v-7.2c1.3%2C0.9%2C2.8%2C1.7%2C4.3%2C2.2c1.5%2C0.5%2C2.9%2C0.8%2C4.2%2C0.8c1.6%2C0%2C2.9-0.2%2C3.6-0.7%0A%09c0.8-0.5%2C1.2-1.2%2C1.2-2.3c0-1-0.4-1.9-1.2-2.5c-0.8-0.7-2.4-1.5-4.6-2.4c-2.7-1.1-4.6-2.4-5.7-3.8c-1.1-1.4-1.7-3.2-1.7-5.4%0A%09c0-2.8%2C1.1-5.1%2C3.3-6.9c2.2-1.8%2C5.1-2.7%2C8.6-2.7c1.1%2C0%2C2.3%2C0.1%2C3.6%2C0.4c1.3%2C0.2%2C2.5%2C0.6%2C3.4%2C0.9v6.9c-1-0.6-2.1-1.2-3.4-1.7%0A%09c-1.3-0.5-2.6-0.7-3.8-0.7c-1.4%2C0-2.5%2C0.3-3.2%2C0.8C281.9%2C57.1%2C281.5%2C57.8%2C281.5%2C58.8z%20M297.9%2C66.6c0-5.1%2C1.4-9.2%2C4.3-12.2%0A%09c2.9-3%2C6.9-4.5%2C12.1-4.5c4.8%2C0%2C8.6%2C1.4%2C11.3%2C4.3c2.7%2C2.9%2C4.1%2C6.8%2C4.1%2C11.7c0%2C5-1.4%2C9-4.3%2C12c-2.9%2C3-6.8%2C4.5-11.8%2C4.5%0A%09c-4.8%2C0-8.6-1.4-11.4-4.2C299.4%2C75.3%2C297.9%2C71.4%2C297.9%2C66.6z%20M305.5%2C66.3c0%2C3.2%2C0.7%2C5.7%2C2.2%2C7.4c1.5%2C1.7%2C3.6%2C2.6%2C6.3%2C2.6%0A%09c2.7%2C0%2C4.7-0.9%2C6.1-2.6c1.4-1.7%2C2.1-4.2%2C2.1-7.6c0-3.3-0.7-5.8-2.2-7.5c-1.4-1.7-3.4-2.5-6-2.5c-2.7%2C0-4.7%2C0.9-6.2%2C2.7%0A%09C306.3%2C60.5%2C305.5%2C63%2C305.5%2C66.3z%20M353.9%2C56.6h-10.9v25h-7.4v-25h-5.2v-6h5.2v-4.3c0-3.3%2C1.1-5.9%2C3.2-8c2.1-2.1%2C4.8-3.1%2C8.1-3.1%0A%09c0.9%2C0%2C1.7%2C0%2C2.4%2C0.1c0.7%2C0.1%2C1.3%2C0.2%2C1.8%2C0.4V42c-0.2-0.1-0.7-0.3-1.3-0.5c-0.6-0.2-1.3-0.3-2.1-0.3c-1.5%2C0-2.7%2C0.5-3.5%2C1.4%0A%09s-1.2%2C2.4-1.2%2C4.2v3.7h10.9v-7l7.3-2.2v9.2h7.4v6h-7.4v14.5c0%2C1.9%2C0.3%2C3.3%2C1%2C4c0.7%2C0.8%2C1.8%2C1.2%2C3.3%2C1.2c0.4%2C0%2C0.9-0.1%2C1.5-0.3%0A%09c0.6-0.2%2C1.1-0.4%2C1.6-0.7v6c-0.5%2C0.3-1.2%2C0.5-2.3%2C0.7c-1.1%2C0.2-2.1%2C0.3-3.2%2C0.3c-3.1%2C0-5.4-0.8-6.9-2.5c-1.5-1.6-2.3-4.1-2.3-7.4%0A%09V56.6z%22/%3E%0A%3Cg%3E%0A%09%3Crect%20x%3D%2231%22%20y%3D%2224%22%20class%3D%22st2%22%20width%3D%2234.2%22%20height%3D%2234.2%22/%3E%0A%09%3Crect%20x%3D%2268.8%22%20y%3D%2224%22%20class%3D%22st3%22%20width%3D%2234.2%22%20height%3D%2234.2%22/%3E%0A%09%3Crect%20x%3D%2231%22%20y%3D%2261.8%22%20class%3D%22st4%22%20width%3D%2234.2%22%20height%3D%2234.2%22/%3E%0A%09%3Crect%20x%3D%2268.8%22%20y%3D%2261.8%22%20class%3D%22st5%22%20width%3D%2234.2%22%20height%3D%2234.2%22/%3E%0A%3C/g%3E%0A%3C/svg%3E%0A");
}
.ms-logo-container>div {
min-height: 60px;
width: 150px;
background-repeat: no-repeat;
}
.row {
padding: 90px 0px 0 20px;
min-width: 480px;
max-width: 1366px;
margin-left: auto;
margin-right: auto;
}
.column {
float: left;
width: 45%;
padding-right: 20px;
}
.row:after {
content: "";
display: table;
clear: both;
}
a {
text-decoration: none;
}
.download-the-emulator {
height: 20px;
color: #0063B1;
font-size: 15px;
line-height: 20px;
padding-bottom: 70px;
}
.how-to-iframe {
max-width: 700px !important;
min-width: 650px !important;
height: 700px !important;
}
.remove-frame-height {
height: 10px;
}
@media only screen and (max-width: 1300px) {
.ms-logo {
padding-top: 30px;
}
.header-text {
font-size: 40px;
}
.column {
float: none;
padding-top: 30px;
width: 100%;
}
.ms-logo-container {
padding-top: 30px;
min-width: 480px;
max-width: 650px;
margin-left: auto;
margin-right: auto;
}
.row {
padding: 20px 0px 0 20px;
min-width: 480px;
max-width: 650px;
margin-left: auto;
margin-right: auto;
}
}
@media only screen and (max-width: 1370px) {
header {
background-color: #55A0E0;
background-size: auto 200px;
}
}
@media only screen and (max-width: 1230px) {
header {
background-color: #55A0E0;
background-size: auto 200px;
}
.header-text {
font-size: 44px;
}
.header-icon {
height: 120px;
width: 120px;
}
}
@media only screen and (max-width: 1000px) {
header {
background-color: #55A0E0;
background-image: none;
}
}
@media only screen and (max-width: 632px) {
.header-text {
font-size: 32px;
}
.row {
padding: 10px 0px 0 10px;
max-width: 490px !important;
min-width: 410px !important;
}
.endpoint {
font-size: 25px;
}
.main-text {
font-size: 20px;
}
.step-container dl>dd {
font-size: 14px;
}
.column {
padding-right: 5px;
}
.header-icon {
height: 110px;
width: 110px;
}
.how-to-iframe {
max-width: 480px !important;
min-width: 400px !important;
height: 650px !important;
overflow: hidden;
}
}
.remove-frame-height {
max-height: 10px;
}
</style>
<script>
document.addEventListener('DOMContentLoaded', function () {
loadFrame();
});
var loadFrame = function () {
var iframe = document.createElement('iframe');
iframe.setAttribute("id", "iframe");
var offLineHTMLContent = "";
var frameElement = document.getElementById("how-to-iframe");
if (window.navigator.onLine) {
iframe.src = 'https://docs.botframework.com/static/abs/pages/f5.htm';
iframe.setAttribute("scrolling", "no");
iframe.setAttribute("frameborder", "0");
iframe.setAttribute("width", "100%");
iframe.setAttribute("height", "100%");
var frameDiv = document.getElementById("how-to-iframe");
frameDiv.appendChild(iframe);
} else {
frameElement.classList.add("remove-frame-height");
}
};
</script>
</head>
<body>
<header class="header">
<div class="header-inner-container">
<div class="header-icon" style="display: inline-block"></div>
<div class="header-text" style="display: inline-block">CustomQA Bot Sample</div>
</div>
</header>
<div class="row">
<div class="column" class="main-content-area">
<div class="content-title">Your bot is ready!</div>
<div class="main-text main-text-p1">You can test your bot in the Bot Framework Emulator<br />
by connecting to http://localhost:3978/api/messages.</div>
<div class="main-text download-the-emulator"><a class="ctaLink" href="https://aka.ms/bot-framework-F5-download-emulator"
target="_blank">Download the Emulator</a></div>
<div class="main-text">Visit <a class="ctaLink" href="https://aka.ms/bot-framework-F5-abs-home" target="_blank">Azure
Bot Service</a> to register your bot and add it to<br />
various channels. The bot's endpoint URL typically looks
like this:</div>
<div class="endpoint">https://<i>your_bots_hostname</i>/api/messages</div>
</div>
<div class="column how-to-iframe" id="how-to-iframe"></div>
</div>
<div class="ms-logo-container">
<div class="ms-logo"></div>
</div>
</body>
</html>

Просмотреть файл

@ -7,9 +7,9 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -1,5 +1,10 @@
# QnA Maker
**Important**: The QnA Maker service will retire on the 31st of March, 2025. A newer version of the question and answering capability is now available as part of Azure Cognitive Service for Language.
For question-and-answer capabilities within the Cognitive Services, see _question answering_. Starting 1st October, 2022 you won't be able to create new QnA Maker resources.
For information on migrating existing QnA Maker knowledge bases to question answering, consult the migration guide.
For an updated version of this sample that uses question answering, see the [CustomQABotAllFeatures sample](../48.customQABot-all-features).
Bot Framework v4 QnA Maker bot sample. This sample shows how to integrate Multiturn and Active learning in a QnA Maker bot with ASP.Net Core-2. Click [here][72] to know more about using follow-up prompts to create multiturn conversation. To know more about how to enable and use active learning, click [here][71].
This bot has been created using [Bot Framework](https://dev.botframework.com), it shows how to create a bot that uses the [QnA Maker Cognitive AI](https://www.qnamaker.ai) service.

Просмотреть файл

@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -8,7 +8,7 @@
<ItemGroup>
<PackageReference Include="AdaptiveCards" Version="2.5.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -8,7 +8,7 @@
<ItemGroup>
<PackageReference Include="AdaptiveCards" Version="2.4.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
<PackageReference Include="Microsoft.Graph" Version="1.21.0" />
</ItemGroup>

Просмотреть файл

@ -8,7 +8,7 @@
<ItemGroup>
<PackageReference Include="AdaptiveCards" Version="1.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -8,7 +8,7 @@
<ItemGroup>
<PackageReference Include="AdaptiveCards" Version="1.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.5" />
<PackageReference Include="System.Text.Encodings.Web" Version="4.7.2" />
</ItemGroup>

Просмотреть файл

@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -9,7 +9,7 @@
<PackageReference Include="AdaptiveCards" Version="1.0.3" />
<PackageReference Include="AdaptiveCards.Templating" Version="1.2.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -9,7 +9,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -9,7 +9,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -16,9 +16,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.0" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -8,11 +8,11 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.0" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Recognizers.Text.DataTypes.TimexExpression" Version="1.3.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
<PackageReference Include="Microsoft.Recognizers.Text.DataTypes.TimexExpression" Version="1.7.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -13,8 +13,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -9,8 +9,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.15.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.16.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.16.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -104,6 +104,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RootBot", "82.skills-sso-cl
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkillBot", "82.skills-sso-cloudadapter\SkillBot\SkillBot.csproj", "{5C181C43-39A9-419F-B4EE-C7D4F33226A4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CustomQABot", "12.customQABot\CustomQABot.csproj", "{83B20391-B84E-482B-A3C8-8F38E6589B61}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CustomQABotAllFeatures", "48.customQABot-all-features\CustomQABotAllFeatures.csproj", "{4C855F46-DCA3-4A69-9ED3-3B7491F91CF4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -454,6 +458,22 @@ Global
{5C181C43-39A9-419F-B4EE-C7D4F33226A4}.Release|Any CPU.Build.0 = Release|Any CPU
{5C181C43-39A9-419F-B4EE-C7D4F33226A4}.Release|x64.ActiveCfg = Release|Any CPU
{5C181C43-39A9-419F-B4EE-C7D4F33226A4}.Release|x64.Build.0 = Release|Any CPU
{83B20391-B84E-482B-A3C8-8F38E6589B61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{83B20391-B84E-482B-A3C8-8F38E6589B61}.Debug|Any CPU.Build.0 = Debug|Any CPU
{83B20391-B84E-482B-A3C8-8F38E6589B61}.Debug|x64.ActiveCfg = Debug|Any CPU
{83B20391-B84E-482B-A3C8-8F38E6589B61}.Debug|x64.Build.0 = Debug|Any CPU
{83B20391-B84E-482B-A3C8-8F38E6589B61}.Release|Any CPU.ActiveCfg = Release|Any CPU
{83B20391-B84E-482B-A3C8-8F38E6589B61}.Release|Any CPU.Build.0 = Release|Any CPU
{83B20391-B84E-482B-A3C8-8F38E6589B61}.Release|x64.ActiveCfg = Release|Any CPU
{83B20391-B84E-482B-A3C8-8F38E6589B61}.Release|x64.Build.0 = Release|Any CPU
{4C855F46-DCA3-4A69-9ED3-3B7491F91CF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4C855F46-DCA3-4A69-9ED3-3B7491F91CF4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4C855F46-DCA3-4A69-9ED3-3B7491F91CF4}.Debug|x64.ActiveCfg = Debug|Any CPU
{4C855F46-DCA3-4A69-9ED3-3B7491F91CF4}.Debug|x64.Build.0 = Debug|Any CPU
{4C855F46-DCA3-4A69-9ED3-3B7491F91CF4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4C855F46-DCA3-4A69-9ED3-3B7491F91CF4}.Release|Any CPU.Build.0 = Release|Any CPU
{4C855F46-DCA3-4A69-9ED3-3B7491F91CF4}.Release|x64.ActiveCfg = Release|Any CPU
{4C855F46-DCA3-4A69-9ED3-3B7491F91CF4}.Release|x64.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

Просмотреть файл

@ -13,7 +13,7 @@
},
"dependencies": {
"@babel/runtime": "^7.1.5",
"botbuilder-core": "~4.14.0",
"botbuilder-core": "~4.16.0",
"botframework-directlinejs": "~0.11.2",
"botframework-webchat": "4.5.0",
"core-js": "^3.0.1"

Просмотреть файл

@ -16,7 +16,7 @@
"url": "https://github.com"
},
"dependencies": {
"botbuilder": "~4.15.0",
"botbuilder": "~4.16.0",
"dotenv": "^8.2.0",
"restify": "~8.6.0"
},

Просмотреть файл

@ -16,7 +16,7 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.15.0",
"botbuilder": "~4.16.0",
"dotenv": "^8.2.0",
"restify": "~8.6.0"
},

Просмотреть файл

@ -16,8 +16,8 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.15.0",
"botbuilder-dialogs": "~4.15.0",
"botbuilder": "~4.16.0",
"botbuilder-dialogs": "~4.16.0",
"dotenv": "^8.2.0",
"path": "^0.12.7",
"restify": "~8.6.0"

Просмотреть файл

@ -16,8 +16,8 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.15.0",
"botbuilder-dialogs": "~4.15.0",
"botbuilder": "~4.16.0",
"botbuilder-dialogs": "~4.16.0",
"dotenv": "^8.2.0",
"restify": "~8.6.0"
},

Просмотреть файл

@ -16,7 +16,7 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.15.0",
"botbuilder": "~4.16.0",
"dotenv": "^8.2.0",
"restify": "~8.6.0"
},

Просмотреть файл

@ -16,7 +16,7 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.15.0",
"botbuilder": "~4.16.0",
"dotenv": "^8.2.0",
"restify": "~8.6.0"
},

Просмотреть файл

@ -1,5 +1,10 @@
# QnA Maker
**Important**: The QnA Maker service will retire on the 31st of March, 2025. A newer version of the question and answering capability is now available as part of Azure Cognitive Service for Language.
For question-and-answer capabilities within the Cognitive Services, see _question answering_. Starting 1st October, 2022 you wont be able to create new QnA Maker resources.
For information on migrating existing QnA Maker knowledge bases to question answering, consult the migration guide.
For an updated version of this sample that uses question answering, see the [CustomQABot sample](../12.customQABot).
Bot Framework v4 QnA Maker bot sample
This bot has been created using [Bot Framework](https://dev.botframework.com), it shows how to create a bot that uses the [QnA Maker Cognitive AI](https://www.qnamaker.ai) service.

Просмотреть файл

@ -16,8 +16,8 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.15.0",
"botbuilder-ai": "~4.15.0",
"botbuilder": "~4.16.0",
"botbuilder-ai": "~4.16.0",
"dotenv": "^8.2.0",
"restify": "~8.6.0"
},

Просмотреть файл

@ -0,0 +1,11 @@
MicrosoftAppType=
MicrosoftAppId=
MicrosoftAppPassword=
MicrosoftAppTenantId=
ProjectName=
LanguageEndpointKey=
LanguageEndpointHostName=
DefaultWelcomeMessage=
EnablePreciseAnswer=true
DisplayPreciseAnswerOnly=false

Просмотреть файл

@ -0,0 +1,15 @@
/* eslint-disable */
module.exports = {
"extends": "standard",
"rules": {
"semi": [2, "always"],
"indent": [2, 4],
"no-return-await": 0,
"space-before-function-paren": [2, {
"named": "never",
"anonymous": "never",
"asyncArrow": "always"
}],
"template-curly-spacing": [2, "always"]
}
};

Просмотреть файл

@ -0,0 +1,88 @@
# Custom Question Answering
Bot Framework v4 Custom question answering bot sample.
This bot has been created using the [Bot Framework SDK][BF], it shows how to create a bot that uses [Cognitive Services' question answering feature][Quickstart].
[Question answering][LS] lets you to build, train and publish a simple question and answer bot based on FAQ URLs, structured and unstructured documents, or editorial content in minutes. In this sample, we demonstrate how to use question answering to answer questions based on an FAQ text file used as input.
## Prerequisites
- This project requires a [Language service resource](https://aka.ms/create-language-resource) with Custom question answering enabled.
### Configure knowledge base of the project
- See the [quickstart][Quickstart] to create a Custom question answering project. You will need this project's name to be used as `ProjectName` in [.env file](.env).
- Go to [Language Studio][LS] and open the created project.
- Go to `Edit knowledge base` > `...` > `Import questions and answers` > `Import as TSV`.
- Import the [SampleForCQA.tsv](CognitiveModels/SampleForCQA.tsv) file.
- You can test your knowledge base by clicking on `Test` option.
- Go to `Deploy knowledge base` and click on `Deploy`.
### Connect your bot to the project.
Follow these steps to update [.env file](.env).
- In the [Azure Portal][Azure], go to your resource.
- Under Resource Management, go to `Keys and Endpoint`.
- Copy and paste the following values into their respective variables in [.env file](.env).
- One of the keys: `LanguageEndpointKey`
- Endpoint: `LanguageEndpointHostName`
- `ProjectName` is the name of the project created in [Language Studio][LS].
## Try this sample
- Install the Bot Framework Emulator version 4.14.0 or greater from [here][BFE]
- Clone the repository
```bash
git clone https://github.com/Microsoft/botbuilder-samples.git
```
- In a terminal, navigate to `samples/javascript_nodejs/12.customQABot`
```bash
cd samples/javascript_nodejs/12.customQABot
```
- Install modules
```bash
npm install
```
- Run the sample
```bash
npm start
```
- Connect to the bot using Bot Framework Emulator
1. Launch Bot Framework Emulator
2. File -> Open Bot
3. Enter a Bot URL of `http://localhost:3978/api/messages`
## Try precise answering
- Try the following utterances:
1. Accessibility
2. Register
- You should see a short answer returned, along with a long answer.
- If you're testing in [Language Studio][LS], you might have to check `Include short answer response` at the top.
- You can disable precise answering by setting `EnablePreciseAnswer` to false in [appsettings.json](appsettings.json).
- To only see precise answers in the response, set `DisplayPreciseAnswerOnly` to true in [appsettings.json](appsettings.json).
- To learn more, see [precise answering][PA].
## Deploy the bot to Azure
See [Deploy your bot to Azure][50] for instructions.
The deployment process assumes you have an account on Microsoft Azure and are able to log into the [Microsoft Azure Portal][Azure].
If you are new to Microsoft Azure, please refer to [Getting started with Azure][70] for guidance on how to get started on Azure.
## Further reading
- [How bots work](https://docs.microsoft.com/azure/bot-service/bot-builder-basics)
- [Question Answering Documentation](https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/overview)
- [Channels and Bot Connector Service](https://docs.microsoft.com/azure/bot-service/bot-concepts)
[50]: https://docs.microsoft.com/azure/bot-service/bot-builder-howto-deploy-azure
[70]: https://azure.microsoft.com/get-started/
[LS]: https://language.cognitive.azure.com/
[PA]: https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/concepts/precise-answering
[BF]: https://dev.botframework.com/
[Quickstart]: https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/quickstart/sdk
[Azure]: https://portal.azure.com
[BFE]: https://github.com/Microsoft/BotFramework-Emulator/releases

Просмотреть файл

@ -0,0 +1,81 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
const { ActivityHandler, ActivityTypes } = require('botbuilder');
const { CustomQuestionAnswering } = require('botbuilder-ai');
class CustomQABot extends ActivityHandler {
constructor() {
super();
try {
this.qnaMaker = new CustomQuestionAnswering({
knowledgeBaseId: process.env.ProjectName,
endpointKey: process.env.LanguageEndpointKey,
host: process.env.LanguageEndpointHostName
});
} catch (err) {
console.warn(`QnAMaker Exception: ${ err } Check your QnAMaker configuration in .env`);
}
// If a new user is added to the conversation, send them a greeting message
this.onMembersAdded(async (context, next) => {
const membersAdded = context.activity.membersAdded;
for (let cnt = 0; cnt < membersAdded.length; cnt++) {
if (membersAdded[cnt].id !== context.activity.recipient.id) {
const DefaultWelcomeMessageFromConfig = process.env.DefaultWelcomeMessage;
await context.sendActivity(DefaultWelcomeMessageFromConfig?.length > 0 ? DefaultWelcomeMessageFromConfig : 'Hello and Welcome');
}
}
// By calling next() you ensure that the next BotHandler is run.
await next();
});
// When a user sends a message, perform a call to the QnA Maker service to retrieve matching Question and Answer pairs.
this.onMessage(async (context, next) => {
if (!process.env.ProjectName || !process.env.LanguageEndpointKey || !process.env.LanguageEndpointHostName) {
const unconfiguredQnaMessage = 'NOTE: \r\n' +
'Custom Question Answering is not configured. To enable all capabilities, add `ProjectName`, `LanguageEndpointKey` and `LanguageEndpointHostName` to the .env file. \r\n' +
'You may visit https://language.cognitive.azure.com/ to create a Custom Question Answering Project.';
await context.sendActivity(unconfiguredQnaMessage);
} else {
console.log('Calling CQA');
const enablePreciseAnswer = process.env.EnablePreciseAnswer === 'true';
const displayPreciseAnswerOnly = process.env.DisplayPreciseAnswerOnly === 'true';
const response = await this.qnaMaker.getAnswers(context, { enablePreciseAnswer: enablePreciseAnswer });
// If an answer was received from CQA, send the answer back to the user.
if (response.length > 0) {
var activities = [];
var answerText = response[0].answer;
// Answer span text has precise answer.
var preciseAnswerText = response[0].answerSpan?.text;
if (!preciseAnswerText) {
activities.push({ type: ActivityTypes.Message, text: answerText });
} else {
activities.push({ type: ActivityTypes.Message, text: preciseAnswerText });
if (!displayPreciseAnswerOnly) {
// Add answer to the reply when it is configured.
activities.push({ type: ActivityTypes.Message, text: answerText });
}
}
await context.sendActivities(activities);
// If no answers were returned from QnA Maker, reply with help.
} else {
await context.sendActivity('No answers were found.');
}
}
// By calling next() you ensure that the next BotHandler is run.
await next();
});
}
}
module.exports.CustomQABot = CustomQABot;

Просмотреть файл

@ -0,0 +1,157 @@
Question Answer Source Metadata SuggestedQuestions IsContextOnly Prompts QnaId SourceDisplayName
User Guide https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [{"DisplayOrder":0,"QnaId":27,"Qna":null,"DisplayText":"With Windows 10"},{"DisplayOrder":1,"QnaId":28,"Qna":null,"DisplayText":"✪ Meet Surface Book"},{"DisplayOrder":2,"QnaId":43,"Qna":null,"DisplayText":"Set up your Surface Book"},{"DisplayOrder":3,"QnaId":47,"Qna":null,"DisplayText":"The basics"},{"DisplayOrder":4,"QnaId":71,"Qna":null,"DisplayText":"Accounts and signing in"},{"DisplayOrder":5,"QnaId":78,"Qna":null,"DisplayText":"Get to know Windows 10"},{"DisplayOrder":6,"QnaId":84,"Qna":null,"DisplayText":"Keep your Surface Book up to date"},{"DisplayOrder":7,"QnaId":85,"Qna":null,"DisplayText":"Browse the Internet"},{"DisplayOrder":8,"QnaId":87,"Qna":null,"DisplayText":"Storage options"},{"DisplayOrder":9,"QnaId":90,"Qna":null,"DisplayText":"Surface Pen"},{"DisplayOrder":10,"QnaId":105,"Qna":null,"DisplayText":"Apps and the Windows Store"},{"DisplayOrder":11,"QnaId":112,"Qna":null,"DisplayText":"Connect devices and accessories"},{"DisplayOrder":12,"QnaId":125,"Qna":null,"DisplayText":"Surface audio features"},{"DisplayOrder":13,"QnaId":137,"Qna":null,"DisplayText":"Cameras and the Camera app"},{"DisplayOrder":14,"QnaId":146,"Qna":null,"DisplayText":"Personalization and settings"},{"DisplayOrder":15,"QnaId":153,"Qna":null,"DisplayText":"Accessibility"},{"DisplayOrder":16,"QnaId":169,"Qna":null,"DisplayText":"Clean and care for your Surface Book"},{"DisplayOrder":17,"QnaId":176,"Qna":null,"DisplayText":"Registration, repair, and warranty"},{"DisplayOrder":18,"QnaId":181,"Qna":null,"DisplayText":"More help"}] 26 Surface
With Windows 10 **With Windows 10**\n\nPublished: September 2016\n\nVersion 2.0\n\n✪\n\n© 2016 Microsoft. All rights reserved.\n\nBlueTrack Technology, Microsoft, OneNote, Outlook, PowerPoint, OneDrive, Windows, Xbox, and Xbox Live are registered trademarks of Microsoft Corporation.\n\nSurface and Skype are trademarks of Microsoft Corporation.\n\nBluetooth is a registered trademark of Bluetooth SIG, Inc.\n\nDolby and the double-D symbol are registered trademarks of Dolby Laboratories.\n\nThis document is provided “as-is.” Information in this document, including URL and other Internet website references, may change without notice. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 27 Surface
✪ Meet Surface Book **✪ Meet Surface Book**\n\nGet to know Surface Book, the ultra-thin, high-performance laptop with exceptional power and versatility. Use this guide to get started with your Surface Book. For more details and how-to info, go online to Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [{"ClusterHead":"book","TotalAutoSuggestedCount":3,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"book","AutoSuggestedCount":3,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":29,"Qna":null,"DisplayText":"Surface Book features"}] 28 Surface
Surface Book features **Surface Book features**\n\n| Power button | Press the power button to turn your Surface Book on. You can also use the power button to put your Surface Book to sleep and wake it when youre ready to start working again. |\n| --- | --- |\n| Clipboard | Detach the thin, light Clipboard from the keyboard for mobile computing and easy presentation in tablet mode. Use the 13.5” full HD display, with its 3:2 aspect ratio and 3000 x 2000 resolution display, to watch HD movies, browse the web, and use your favorite apps. |\n\n| | The 10-point multi-touch touchscreen lets you use your fingers to select, zoom, and move things around. |\n| --- | --- |\n| Keyboard | Mechanical friction attaches the Clipboard to the keyboard. The keyboard features a standard layout and backlit keys, with special shortcut and function keys to help you do common tasks more quickly. |\n| Surface Pen | Write naturally with the included Surface Pen. Quickly jot down notes or capture screenshots in OneNote, even while your Surface is locked. |\n| Wi-Fi and Bluetooth | Surface Book supports standard Wi-Fi protocols (802.11a/b/g/n/ac) and Bluetooth® 4.0. Connect to a wireless network and use Bluetooth devices such as mice, printers, and headsets. |\n| Cameras | Surface Book features an 8-megapixel rear camera with autofocus and a 5-megapixel, fixed-focus front camera. Both cameras are high resolution and record video in 1080p, with a 16:9 aspect ratio (widescreen). Surface Book is also Windows Hello compatible with an infrared (IR) face-detection camera built in. |\n| Microphones | Two noise-canceling microphones ensure accurate audio recording and enhanced call quality. |\n| Stereo speakers | Two front-facing stereo speakers with Dolby® enhanced sound provide an immersive playback experience for all your music, podcasts, and audio books. |\n\n| Ports and connectors | Surface Book has the ports you expect from a full-feature laptop. Two full-size USB 3.0 ports Connect a USB accessory like a mouse, printer, Ethernet adapter, USB drive, or smartphone. SD card slot Use the full-size SD card slot with an SD card (sold separately) for extra storage and transferring files. Mini DisplayPort version 1.2a Share whats on your Surface screen by connecting it to an HDTV, monitor, or projector. (Video adapters are sold separately.) 3.5 mm headset jack Plug in your favorite headset for a little more privacy when listening to music or conference calls. |\n| --- | --- |\n| Software | Windows 10 operating system Windows 10 provides a variety of options for entertainment and productivity whether youre at school, at home, or on the go. |\n\n| | Apps Surface Book comes with great built-in apps, and you can find more apps in the [Windows Store](http://windows.microsoft.com/en-us/windows-10/getstarted-explore-the-store) . You can also use your favorite desktop apps on Surface Book. |\n| --- | --- |\n| Processor | The 6th Gen Intel® Core™ i5 or i7 processor provides the speed and power you need for smooth, fast performance. |\n| Memory and storage | Choose from various configurations up to 16 GB of RAM with 512 GB storage. |\n| Sensors | Six sensors—magnetometer, ambient light sensor, accelerometer, gyroscope, Hall effect, and Wi-Fi SAR—let apps do things like track motion and determine location. | https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface book features [] False [{"DisplayOrder":0,"QnaId":30,"Qna":null,"DisplayText":"Power button"},{"DisplayOrder":1,"QnaId":31,"Qna":null,"DisplayText":"Clipboard"},{"DisplayOrder":2,"QnaId":32,"Qna":null,"DisplayText":"Keyboard"},{"DisplayOrder":3,"QnaId":33,"Qna":null,"DisplayText":"Surface Pen"},{"DisplayOrder":4,"QnaId":34,"Qna":null,"DisplayText":"Wi-Fi and Bluetooth"},{"DisplayOrder":5,"QnaId":35,"Qna":null,"DisplayText":"Cameras"},{"DisplayOrder":6,"QnaId":36,"Qna":null,"DisplayText":"Microphones"},{"DisplayOrder":7,"QnaId":37,"Qna":null,"DisplayText":"Stereo speakers"},{"DisplayOrder":8,"QnaId":38,"Qna":null,"DisplayText":"Ports and connectors"},{"DisplayOrder":9,"QnaId":39,"Qna":null,"DisplayText":"Software"},{"DisplayOrder":10,"QnaId":40,"Qna":null,"DisplayText":"Processor"},{"DisplayOrder":11,"QnaId":41,"Qna":null,"DisplayText":"Memory and storage"},{"DisplayOrder":12,"QnaId":42,"Qna":null,"DisplayText":"Sensors"}] 29 Surface
Power button ** Power button**\nis Press the power button to turn your Surface Book on. You can also use the power button to put your Surface Book to sleep and wake it when youre ready to start working again. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 30 Surface
Clipboard ** Clipboard**\nis Detach the thin, light Clipboard from the keyboard for mobile computing and easy presentation in tablet mode. Use the 13.5” full HD display, with its 3:2 aspect ratio and 3000 x 2000 resolution display, to watch HD movies, browse the web, and use your favorite apps. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 31 Surface
Keyboard ** Keyboard**\nis Mechanical friction attaches the Clipboard to the keyboard. The keyboard features a standard layout and backlit keys, with special shortcut and function keys to help you do common tasks more quickly. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 32 Surface
Surface Pen ** Surface Pen**\nis Write naturally with the included Surface Pen. Quickly jot down notes or capture screenshots in OneNote, even while your Surface is locked. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 33 Surface
Wi-Fi and Bluetooth ** Wi-Fi and Bluetooth**\nis Surface Book supports standard Wi-Fi protocols (802.11a/b/g/n/ac) and Bluetooth® 4.0. Connect to a wireless network and use Bluetooth devices such as mice, printers, and headsets. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 34 Surface
Cameras ** Cameras**\nis Surface Book features an 8-megapixel rear camera with autofocus and a 5-megapixel, fixed-focus front camera. Both cameras are high resolution and record video in 1080p, with a 16:9 aspect ratio (widescreen). Surface Book is also Windows Hello compatible with an infrared (IR) face-detection camera built in. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 35 Surface
Microphones ** Microphones**\nis Two noise-canceling microphones ensure accurate audio recording and enhanced call quality. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 36 Surface
Stereo speakers ** Stereo speakers**\nis Two front-facing stereo speakers with Dolby® enhanced sound provide an immersive playback experience for all your music, podcasts, and audio books. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 37 Surface
Ports and connectors ** Ports and connectors**\nis Surface Book has the ports you expect from a full-feature laptop. Two full-size USB 3.0 ports Connect a USB accessory like a mouse, printer, Ethernet adapter, USB drive, or smartphone. SD card slot Use the full-size SD card slot with an SD card (sold separately) for extra storage and transferring files. Mini DisplayPort version 1.2a Share whats on your Surface screen by connecting it to an HDTV, monitor, or projector. (Video adapters are sold separately.) 3.5 mm headset jack Plug in your favorite headset for a little more privacy when listening to music or conference calls. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [{"ClusterHead":"sdk","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"sdk","AutoSuggestedCount":1,"UserSuggestedCount":0}]}] False [] 38 Surface
Software ** Software**\nis Windows 10 operating system Windows 10 provides a variety of options for entertainment and productivity whether youre at school, at home, or on the go. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 39 Surface
Processor ** Processor**\nis The 6th Gen Intel® Core™ i5 or i7 processor provides the speed and power you need for smooth, fast performance. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 40 Surface
Memory and storage ** Memory and storage**\nis Choose from various configurations up to 16 GB of RAM with 512 GB storage. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 41 Surface
Sensors ** Sensors**\nis Six sensors—magnetometer, ambient light sensor, accelerometer, gyroscope, Hall effect, and Wi-Fi SAR—let apps do things like track motion and determine location. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 42 Surface
Set up your Surface Book **Set up your Surface Book**\n\nBefore you start, make sure a wireless network is available and you have the network password.\n\nIf you have a [Microsoft account](http://windows.microsoft.com/en-us/windows-10/getstarted-microsoft-account) , use it to set up your Surface Book. A Microsoft account is an email address and password you use to sign in to other Microsoft services like Xbox, Outlook.com, OneDrive, Skype, or Windows Phone. If you dont already have a Microsoft account, you can create one during setup. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set up your surface book [{"ClusterHead":"setup surface","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"setup surface","AutoSuggestedCount":1,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":44,"Qna":null,"DisplayText":"Charge your Surface Book"},{"DisplayOrder":1,"QnaId":45,"Qna":null,"DisplayText":"Set up Windows"},{"DisplayOrder":2,"QnaId":46,"Qna":null,"DisplayText":"Choose a mode to work in"}] 43 Surface
Charge your Surface Book **Charge your Surface Book**\n\n1. Connect the two parts of the power cord.\n2. Connect the power cord securely to the charging port on your Surface Book. A light appears at the end of the connector when your Surface is getting power.✪\n3. Plug the power supply into an electrical outlet. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:charge your surface book [{"ClusterHead":"book","TotalAutoSuggestedCount":3,"TotalUserSuggestedCount":1,"AlternateQuestionList":[{"Question":"book","AutoSuggestedCount":3,"UserSuggestedCount":1}]}] False [] 44 Surface
Set up Windows **Set up Windows**\n\nPress the power button to turn on your Surface Book.\n\nWindows starts and guides you through the setup process. During setup youll connect to a wireless network and choose a language, color scheme, and name for your Surface. ✪\n\nFor more info, see [Set up your Surface](http://www.microsoft.com/surface/support/getting-started/set-up-your-surface) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set up windows [] False [] 45 Surface
Choose a mode to work in **Choose a mode to work in**\n\nYou can configure your Surface Book to suit whatever youre doing at the moment. With the Clipboard attached to the full-size backlit keyboard, Surface Book is a high-performance laptop. ✪\n\nThe keyboard attaches to the Clipboard with a friction mechanism. You can detach the keyboard and reattach it in the position you want.\n\nTo detach the keyboard:\n\n1. Press and hold the Detach key , or select Detach in the taskbar, until the LED on the key glows red, then green.✪ ✪\n2. When the light turns green, pull the Clipboard away from the keyboard.\n\n| With the Clipboard detached from the keyboard, Surface Book becomes a thin, light tablet that works perfectly with OneNote and Surface Pen. It even has its own battery, giving you several hours of use with the keyboard detached. | |\n| --- | --- |\n| To reattach the keyboard, align the keyboard and Clipboard and bring them together until they click into place. | |\n| Turn the Clipboard around and reattach it to use Surface Book like a creative canvas. By reconnecting it to the keyboard, you have access to the USB ports and the DisplayPort and you have more battery time. | |\n| Show your screen to other people in the room by attaching the Clipboard to the keyboard so youre looking at the back of the Clipboard as you type. | |\n\n✪\n\n✪\n\n✪\n\nNote: Surface Book uses battery power to release the Clipboard. If the battery is too low, the green light wont come on and you wont be able to detach the keyboard from the Clipboard. Charge your Surface Book until you have enough power to disable the friction mechanism. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:choose a mode to work in [] False [] 46 Surface
The basics **The basics**\n\nHere are a few basic things to know about your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:the basics [] False [{"DisplayOrder":0,"QnaId":48,"Qna":null,"DisplayText":"Power and charging"},{"DisplayOrder":1,"QnaId":52,"Qna":null,"DisplayText":"Power states: On, off, sleep, and restart"},{"DisplayOrder":2,"QnaId":57,"Qna":null,"DisplayText":"Touch, keyboard, pen, and mouse"}] 47 Surface
Power and charging **Power and charging**\n\nSurface Book has two batteries—one in the keyboard and one in the Clipboard. It takes two to four hours to charge Surface Book fully from an empty state. It can take longer if youre using your Surface Book for power-intensive activities like gaming or video streaming while youre charging it.\n\nYou can use the USB port on your power supply to charge other devices, like a phone, while your Surface Book charges. Note that the USB port on the power supply is only for charging, not for data transfer. If you want to use a USB device, plug it into the USB port on your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:power and charging [{"ClusterHead":"power and charging","TotalAutoSuggestedCount":27,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"power and charging","AutoSuggestedCount":27,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":49,"Qna":null,"DisplayText":"Check the battery level"},{"DisplayOrder":1,"QnaId":51,"Qna":null,"DisplayText":"Making your battery last"}] 48 Surface
Check the battery level **Check the battery level**\n\nYou can check the battery level from the lock screen or on the desktop. Lock screen\n\nWhen you wake your Surface Book, the battery status appears in the lower-right corner of the lock screen. ✪ https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:check the battery level [{"ClusterHead":"Check the battery level","TotalAutoSuggestedCount":7,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"Check the battery level","AutoSuggestedCount":7,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":50,"Qna":null,"DisplayText":"Desktop taskbar"}] 49 Surface
Desktop taskbar **Desktop taskbar**\n\nOn the desktop, select the battery status icon on the right side of the taskbar. The battery status pane shows the charging level for both batteries. ✪\n\nWhen your Surface Book is fully charged, it should last up to 10 hours for web browsing. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 50 Surface
Making your battery last **Making your battery last**\n\nTo learn ways to conserve power and make your battery last longer, see [Surface battery and power](https://www.microsoft.com/surface/support/hardware-and-drivers/battery-and-power-pro) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:making your battery last [] False [] 51 Surface
Power states: On, off, sleep, and restart **Power states: On, off, sleep, and restart**\n\nHere's how to turn your Surface Book on, shut it down, restart and wake it, and put it into a power-saving state. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:power states: on, off, sleep, and restart [] False [{"DisplayOrder":0,"QnaId":53,"Qna":null,"DisplayText":"On or wake"}] 52 Surface
On or wake **On or wake**\n\nPress and release the power button on Surface Book. Or, press the top button on your Surface Pen to wake up your Surface Book.\n\nIf nothing happens, connect the power supply and press the power button again.\n\nIf your Surface still doesnt turn on, see [Surface wont turn on, Windows won't](http://www.microsoft.com/surface/support/warranty-service-and-recovery/surface-wont-turn-on) [start, or the battery won't charge](http://www.microsoft.com/surface/support/warranty-service-and-recovery/surface-wont-turn-on) on Surface.com.\n\n| Off or shut down | Go to Start , and select Power > Shut down. |\n| --- | --- |\n| InstantGo | Do any of the following:  Press and release the power button on the top edge of your Surface.  Dont use your Surface for a few minutes.  Go to Start , and select Power > Sleep.  Close the keyboard. |\n| Restart | Go to Start , and select Power > Restart. |\n\n* ✪\n\nFor more info, see [Surface power states](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-power-sleep-and-wake) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [{"DisplayOrder":0,"QnaId":54,"Qna":null,"DisplayText":"Off or shut down"},{"DisplayOrder":1,"QnaId":55,"Qna":null,"DisplayText":"InstantGo"},{"DisplayOrder":2,"QnaId":56,"Qna":null,"DisplayText":"Restart"}] 53 Surface
Off or shut down ** Off or shut down**\nis Go to Start , and select Power > Shut down. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 54 Surface
InstantGo ** InstantGo**\nis Do any of the following:  Press and release the power button on the top edge of your Surface.  Dont use your Surface for a few minutes.  Go to Start , and select Power > Sleep.  Close the keyboard. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 55 Surface
Restart ** Restart**\nis Go to Start , and select Power > Restart. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 56 Surface
Touch, keyboard, pen, and mouse **Touch, keyboard, pen, and mouse**\n\nWith Surface Book, you can switch easily between using the touchscreen, the keyboard, a mouse, or a pen. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:touch, keyboard, pen, and mouse [] False [{"DisplayOrder":0,"QnaId":58,"Qna":null,"DisplayText":"Touchscreen"},{"DisplayOrder":1,"QnaId":59,"Qna":null,"DisplayText":"Keyboard"},{"DisplayOrder":2,"QnaId":69,"Qna":null,"DisplayText":"Touchpad or mouse"},{"DisplayOrder":3,"QnaId":70,"Qna":null,"DisplayText":"Surface Pen (Surface Pro 4 version)"}] 57 Surface
Touchscreen **Touchscreen**\n\nYou can use your fingers on the touchscreen just as you would on a smartphone. For example, drag your finger across the screen to scroll. For info about ways you can interact with the touchscreen, see Using touch with Surface Book in [Get started with Surface Book](http://www.microsoft.com/surface/support/getting-started/get-started-with-surface-book) on Surface.com.\n\nTheres also a built-in on-screen keyboard you can use. For more info, see [How to use the Surface](http://www.microsoft.com/surface/support/touch-mouse-and-search/how-to-use-the-on-screen-keyboard) [touch keyboard](http://www.microsoft.com/surface/support/touch-mouse-and-search/how-to-use-the-on-screen-keyboard) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:touchscreen [] False [] 58 Surface
Keyboard **Keyboard**\n\nThe Surface Book keyboard has a standard layout and includes backlit keys. Special shortcut keys and function keys help you do common tasks quickly. Keys on the top row double as function keys—hold down the Fn key while you press a top-row key. The Fn key also works in combination with other keys to do certain things.\n\nHere are some of the basic shortcut keys and the special Fn key combinations on the Surface Book keyboard.\n\nKey icon What it does\n\n Decreases keyboard backlighting\n\n| | Increases keyboard backlighting |\n| --- | --- |\n| | Plays or pauses audio or video |\n| | Turns audio muting on or off |\n| | Turns the volume down |\n| | Turns the volume up |\n| | Lets you separate the keyboard from the Clipboard |\n| | Opens Start |\n| | Opens a contextual menu (right-click menu) |\n| PrtScn | Takes a screen shot |\n| Home | Depends on the app youre using. For example, in Word, it goes to the beginning of a line. |\n| End | Depends on the app youre using. For example, in Word, it goes to the end of a line. |\n| Ins | Toggles between insert and overtype mode |\n| PgUp | Goes up a page |\n| PgDn | Goes down a page |\n| Fn+Del | Increases screen brightness |\n| Fn+Backspace | Decreases screen brightness |\n| Fn+Spacebar | Places a screenshot of the entire screen or screens onto your Windows clipboard |\n\nSee Using the Surface Book touchpad and keyboard in [Get started with Surface Book](http://www.microsoft.com/surface/support/getting-started/get-started-with-surface-book) on Surface.com for more info. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:keyboard [] False [{"DisplayOrder":0,"QnaId":60,"Qna":null,"DisplayText":"PrtScn"},{"DisplayOrder":1,"QnaId":61,"Qna":null,"DisplayText":"Home"},{"DisplayOrder":2,"QnaId":62,"Qna":null,"DisplayText":"End"},{"DisplayOrder":3,"QnaId":63,"Qna":null,"DisplayText":"Ins"},{"DisplayOrder":4,"QnaId":64,"Qna":null,"DisplayText":"PgUp"},{"DisplayOrder":5,"QnaId":65,"Qna":null,"DisplayText":"PgDn"},{"DisplayOrder":6,"QnaId":66,"Qna":null,"DisplayText":"Fn+Del"},{"DisplayOrder":7,"QnaId":67,"Qna":null,"DisplayText":"Fn+Backspace"},{"DisplayOrder":8,"QnaId":68,"Qna":null,"DisplayText":"Fn+Spacebar"}] 59 Surface
PrtScn ** PrtScn**\nis Takes a screen shot https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 60 Surface
Home ** Home**\nis Depends on the app youre using. For example, in Word, it goes to the beginning of a line. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 61 Surface
End ** End**\nis Depends on the app youre using. For example, in Word, it goes to the end of a line. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 62 Surface
Ins ** Ins**\nis Toggles between insert and overtype mode https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 63 Surface
PgUp ** PgUp**\nis Goes up a page https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 64 Surface
PgDn ** PgDn**\nis Goes down a page https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 65 Surface
Fn+Del ** Fn+Del**\nis Increases screen brightness https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 66 Surface
Fn+Backspace ** Fn+Backspace**\nis Decreases screen brightness https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 67 Surface
Fn+Spacebar ** Fn+Spacebar**\nis Places a screenshot of the entire screen or screens onto your Windows clipboard https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 68 Surface
Touchpad or mouse **Touchpad or mouse**\n\nYou can use the keyboard touchpad on Surface Book or connect a USB or Bluetooth mouse. For more info about ways you can interact with the keyboard and touchpad, see Using the Surface Book touchpad and keyboard in [Get started with Surface Book](http://www.microsoft.com/surface/support/getting-started/get-started-with-surface-book) on Surface.com.\n\nAlso see these pages on Surface.com:\n\n* [Touchpad use and settings](http://www.microsoft.com/surface/support/hardware-and-drivers/touchpad-a-builtin-mouse) \n* [Connect a USB mouse, printer, and more](http://www.microsoft.com/surface/support/hardware-and-drivers/connect-a-usb-phone-camera-mouse-and-more) \n* [Add a Bluetooth device](http://www.microsoft.com/surface/support/hardware-and-drivers/add-a-bluetooth-device) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:touchpad or mouse [] False [] 69 Surface
Surface Pen (Surface Pro 4 version) **Surface Pen (Surface Pro 4 version)**\n\nUse the Surface Pen included with your Surface Book to open OneNote and Cortana, take screenshots, mark up presentations, sign documents, and enjoy art apps.\n\nClick the top of the Surface Pen and start writing a Quick Note—like a yellow sticky that youll never lose. You dont even need to unlock your Surface. Click again to write another note or press the power button on your Surface to put the screen back to sleep.\n\nWhile youre signed in on your Surface, click the top of the pen to open your most recent notes. While youre using OneNote, click the top of the pen to open a new Quick Note. ✪\n\nYour notes are saved automatically in OneNote and synced to your [OneDrive](http://www.microsoft.com/surface/support/storage-files-and-folders/onedrive-on-surface) (online cloud storage) so you can keep your notes, clippings, sketches, photos, and files organized and accessible from anywhere.\n\nSee Surface Pen later in this guide for more info about using the Surface Pen with your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface pen (surface pro 4 version) [] False [] 70 Surface
Accounts and signing in **Accounts and signing in**\n\nThe account you use to sign in on your Surface Book stores your settings, preferences, and more. For the best experience, use a Microsoft account (an email address and password) to sign in. A Microsoft account gives you seamless access to your Windows apps and social media and backs up your files and photos in the cloud.\n\nYou can create additional accounts for family and friends on your Surface Book. That way each person using it can set it up just the way he or she likes. For more info, see [All about accounts](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:accounts and signing in [] False [{"DisplayOrder":0,"QnaId":72,"Qna":null,"DisplayText":"First account on your Surface"},{"DisplayOrder":1,"QnaId":73,"Qna":null,"DisplayText":"Sign in to your Surface"},{"DisplayOrder":2,"QnaId":74,"Qna":null,"DisplayText":"Use Windows Hello"},{"DisplayOrder":3,"QnaId":75,"Qna":null,"DisplayText":"Change your password, picture, and other account settings"},{"DisplayOrder":4,"QnaId":76,"Qna":null,"DisplayText":"Add an account to your Surface"},{"DisplayOrder":5,"QnaId":77,"Qna":null,"DisplayText":"Create a child account on your Surface"}] 71 Surface
First account on your Surface **First account on your Surface**\n\nWhen you set up your Surface, an account is created for you based on information you supply. The first account is set up as an administrator account. From this account, you can create, modify, or remove other accounts on your Surface. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:first account on your surface [] False [] 72 Surface
Sign in to your Surface **Sign in to your Surface**\n\n1. Turn on or wake Surface by pressing the power button.\n2. Swipe up on the screen or tap a key on the keyboard.\n3. If you see your account name and account picture, enter your password and select the right arrow or press Enter on your keyboard.\n4. If you see a different account name, select the left arrow. Then select your own account, enter your password, and select the right arrow or press Enter on your keyboard. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:sign in to your surface [] False [] 73 Surface
Use Windows Hello **Use Windows Hello**\n\nSince Surface Book includes an infrared (IR) camera, you can set it up to recognize your face and sign you in automatically.\n\nTo set up Windows Hello, go to Start , and select Settings > Accounts > Sign-in options. Under Windows Hello, you'll see available sign-in options.\n\nFor more info, see [What is Windows Hello?](http://windows.microsoft.com/en-us/windows-10/getstarted-what-is-hello) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:use windows hello [] False [] 74 Surface
Change your password, picture, and other account settings **Change your password, picture, and other account settings**\n\nYou can change your password, add or change the picture for your account, and connect to or disconnect from a Microsoft account. Heres how:\n\n* 1. Go to Start , select your profile picture, and select Change account settings. \n 2. Change your account settings by selecting one of the options on the left:\n * Your account: You can you can add or create an account picture, connect or disconnect from a Microsoft account, and access other account settings online.\n * Sign-in options: You can change your password, create a picture password or PIN, and choose whether a password is required when waking your Surface from sleep. To make these changes, youll need your account password. If you dont have a password, you can create one here.\n * Work or school: If you have an account on a network that you sign in to for work or school, you can connect your Surface to that network. Ask your network administrator or IT department for the info youll need to join that network.\n * Sync your settings: Your Microsoft account makes it easy to have the same theme, apps, and browser settings on all your devices. If youd rather that some of these settings be unique to your Surface, you can turn off sync here. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change your password, picture, and other account settings [] False [] 75 Surface
Add an account to your Surface **Add an account to your Surface**\n\n1. Sign in with an administrator account.✪\n2. Go to Start , select your profile picture, and select Change account settings. \n3. Select Family & other users > Add someone else to this PC. \n4. Follow the on-screen instructions to set up the account.\n\nYou can change account levels after you set up an account. To learn how, see [Change another](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts?os=windows-10#canichangeW10) [users account type](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts?os=windows-10#canichangeW10) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:add an account to your surface [] False [] 76 Surface
Create a child account on your Surface **Create a child account on your Surface**\n\n1. Sign in with an administrator account.✪\n2. Go to Start , select your profile picture, and select Change account settings. \n3. Select Family & other users. \n4. Under Your family, select Add a family member > Add a child and choose one of the following:\n * To use the child's existing Microsoft account email address, enter the child's email address and select Next. \n * To create a Microsoft account for the child, select The person I want to invite doesnt have an email address. Follow the on-screen instructions to either associate the new Microsoft account with an email account that the child currently uses or set up a new account.\n\nYou can limit your child's computer time or limit the apps, websites, and games your child can access. See [Set up your family](http://windows.microsoft.com/en-us/windows-10/getstarted-set-up-your-family) on Windows.com to learn how to turn on Family Safety features that are built into Windows.\n\nFor more info on adding, removing, and managing your accounts or your kids accounts, see [All](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts) [about accounts](http://www.microsoft.com/surface/support/security-sign-in-and-accounts/all-about-accounts) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:create a child account on your surface [] False [] 77 Surface
Get to know Windows 10 **Get to know Windows 10**\n\nNew to Windows 10? Get acquainted with new features like task view and custom desktops, the improved Start menu, and more. See [Get Started with Windows 10](http://windows.microsoft.com/en-us/windows-10/get-to-know-windows-10) on Windows.com for more info. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:get to know windows 10 [] False [{"DisplayOrder":0,"QnaId":79,"Qna":null,"DisplayText":"Go to Start"},{"DisplayOrder":1,"QnaId":80,"Qna":null,"DisplayText":"Action center"},{"DisplayOrder":2,"QnaId":81,"Qna":null,"DisplayText":"Search"},{"DisplayOrder":3,"QnaId":82,"Qna":null,"DisplayText":"Task view and virtual desktops"},{"DisplayOrder":4,"QnaId":83,"Qna":null,"DisplayText":"Settings in Windows 10"}] 78 Surface
Go to Start **Go to Start**\n\nSelect Start in the taskbar or press the Start key on your keyboard to open the Start menu.\n\n* ✪\n * In the lower-left corner, you'll find quick links to File Explorer, Settings, Power (shut down, sleep, and restart), and All apps. \n * The apps you've used most often appear at the upper left.\n * Your name and profile picture appear at the top left. Select them to change your account settings, lock the screen, or sign out.\n\nTiles on Start act as quick links to apps. You can rearrange, resize, add, and remove tiles whenever you want. For more info, see [Love it? Pin it](http://windows.microsoft.com/en-us/windows-10/getstarted-love-it-pin-it) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:go to start [{"ClusterHead":"go sdk","TotalAutoSuggestedCount":32,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"go sdk","AutoSuggestedCount":32,"UserSuggestedCount":0}]}] False [] 79 Surface
Action center **Action center**\n\n* Swipe in from the right edge of the screen or select Action center in the taskbar to open the Action center.\n\nHere, you can adjust common settings like Wi-Fi connections or screen brightness, open OneNote, create a wireless connection to another screen, and more. If there are notifications waiting for you, they appear at the top of the Action center.\n\nFor more info, see [Take action instantly](http://windows.microsoft.com/en-us/windows-10/getstarted-take-action) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:action center [] False [] 80 Surface
Search **Search**\n\nSearch is always ready for you. Select the search box in the taskbar. Learn more at [Search for](http://windows.microsoft.com/en-us/windows-10/getstarted-search-for-anything-cortana) [anything, anywhere](http://windows.microsoft.com/en-us/windows-10/getstarted-search-for-anything-cortana) on Windows.com.\n\n✪\n\nOr, go to Start , and select Cortana . For more info, including tips on personalizing Cortana, see [What is Cortana?](http://windows.microsoft.com/en-us/windows-10/getstarted-what-is-cortana) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:search [] False [] 81 Surface
Task view and virtual desktops **Task view and virtual desktops**\n\nSwipe in from the left edge of the screen or select Task view in the taskbar to see all your open apps. Select an app to focus on or close an app by clicking the X in the upper-right corner of the app.\n\nWhile you're in Task view, you can create a new virtual desktop by selecting New desktop in the lower-right corner. Each virtual desktop can have its own set of open apps. To switch between desktops, open Task view and select a desktop.\n\nFor more info, see [Group apps into desktops](http://windows.microsoft.com/en-us/windows-10/getstarted-group-apps) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:task view and virtual desktops [] False [] 82 Surface
Settings in Windows 10 **Settings in Windows 10**\n\nGo to Start , and select Settings for access to all your settings.\n\n✪\n\nFor info on personalizing your Windows 10 experience, see Personalization and settings in this guide. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:settings in windows 10 [] False [] 83 Surface
Keep your Surface Book up to date **Keep your Surface Book up to date**\n\nKeep your Surface Book performing its best by getting the latest performance and security updates.\n\nMicrosoft releases updates to improve Windows software security and reliability, and system and hardware updates (also known as firmware updates) to help improve the stability and performance of your Surface hardware.\n\nWhen updates become available, theyre installed automatically on your Surface over Wi-Fi. Windows notifies you if you need to restart your Surface to finish installing an update.\n\nFor info on keeping your Surface up to date, see [Install Surface and Windows updates](http://www.microsoft.com/surface/support/performance-and-maintenance/install-software-updates-for-surface) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:keep your surface book up to date [] False [] 84 Surface
Browse the Internet **Browse the Internet**\n\n Microsoft Edge works with Cortana to help you get the most from the Internet, and you can use your Surface Pen or touch to create Web Notes that you can save or share.\n\n✪ To open Microsoft Edge, select it from Start or the taskbar. Or, go to Start , and select All apps > Microsoft Edge. \n\nThe first time you start Microsoft Edge, youll see the default start page with the address bar in the center.\n\nEnter a web address or search term in the address bar and press Enter. \n\nUse the arrows in the upper-left corner to return to sites youve visited during a browsing session or select the address bar to see sites you visit often. ✪\n\nSelect Share to share webpages with friends. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:browse the internet [] False [{"DisplayOrder":0,"QnaId":86,"Qna":null,"DisplayText":"Browsing tips"}] 85 Surface
Browsing tips **Browsing tips**\n\n✪\n\n* Select Add to favorites and reading list to add a page to your reading list or a favorites folder.✪ ✪ ✪ ✪\n* Select Hub to view items in your Favorites , Reading list , History , or Downloads .✪✪\n* Select Reading view to clear away everything but the article youre reading. Select it again to view the entire page.\n\nFor more info, see [Microsoft Edge](http://windows.microsoft.com/en-us/windows-10/microsoft-edge) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:browsing tips [] False [] 86 Surface
Storage options **Storage options**\n\nSurface Book is available with up to 16 GB of RAM and 512 GB storage. You can extend your storage options by using OneDrive, USB drives, and SD cards.\n\nNote: Pre-installed software and apps use a significant amount of space. See [Surface storage](https://www.microsoft.com/surface/support/storage) on Surface.com for details about formatted storage capacity. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:storage options [] False [{"DisplayOrder":0,"QnaId":88,"Qna":null,"DisplayText":"OneDrive: Cloud storage"},{"DisplayOrder":1,"QnaId":89,"Qna":null,"DisplayText":"Removable storage options"}] 87 Surface
OneDrive: Cloud storage **OneDrive: Cloud storage**\n\nOneDrive is online storage that comes with your Microsoft account. Save your documents, photos, and other files to the OneDrive folder on your Surface and they'll be synced to OneDrive in the cloud whenever you have an Internet connection. The copy in the cloud is available to you from any web-connected device. You can share folders in your OneDrive with others or send someone a link to just one page. For more info, see [Using OneDrive on Surface](http://www.microsoft.com/surface/support/storage-files-and-folders/Onedrive-on-surface) on Surface.com.\n\nTo save space on your Surface, you can choose not to sync some of your OneDrive folders. You can still access your files on the Internet by signing in to [OneDrive.com](http://onedrive.com/) , but they won't be available in File Explorer. You can add them back at any time.\n\nHere's how to choose which folders to sync:\n\n1. Select File Explorer in the taskbar and open the OneDrive folder.\n2. Right-click any folder in OneDrive and select Choose OneDrive folders to sync to produce a list of all the folders in your OneDrive account.\n3. Select the folders you want to sync to your Surface and select OK. \n\nTo save a file from a desktop app directly to OneDrive, choose OneDrive in the left panel of the Save As screen. Then navigate to the folder where you want to save the file. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:onedrive: cloud storage [] False [] 88 Surface
Removable storage options **Removable storage options**\n\nYou can use USB storage or a full-size SD card with your Surface Book to store your documents, music, videos, and pictures.\n\nFor the locations of the USB port and microSD card slot on your Surface, see Surface Book features in this guide.\n\nTo open files from an external device:\n\n1. Insert a USB flash drive or other USB storage device into the USB port or insert an SD card into the card slot on your Surface.\n2. Select the notification that appears in the lower-right corner of the screen.\n3. Select Open device to view files or Sync digital media files to this device. \n\nFor more info about internal and removable storage options, see [Surface storage options](http://www.microsoft.com/surface/support/storage-files-and-folders/surface-storage-options) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:removable storage options [{"ClusterHead":"sdk","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"sdk","AutoSuggestedCount":1,"UserSuggestedCount":0}]},{"ClusterHead":"adaptive cards","TotalAutoSuggestedCount":10,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"adaptive cards","AutoSuggestedCount":10,"UserSuggestedCount":0}]},{"ClusterHead":"Removable storage options","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"Removable storage options","AutoSuggestedCount":1,"UserSuggestedCount":0}]}] False [] 89 Surface
Surface Pen **Surface Pen**\n\nYou can use the Surface Pen included with your Surface Book to open OneNote and Cortana, take screenshots, mark up presentations, sign documents, and use art apps.\n\n| Magnetic surface | Use the magnet on the flat side of the cap to attach your Surface Pen to the side of your Surface Book or to any convenient magnetic surface. |\n| --- | --- |\n| LED | When the pen is in pairing mode, the LED glows white. When the battery is low, the LED glows red. |\n| Top button | Bluetooth® technology links your Surface Pen to your Surface Book:  Click and hold the top button to wake up Cortana or Search and then enter your question on the screen. |\n\n| | * Click the top button to open OneNote.  Double-click to take a screenshot and paste it into OneNote. To erase, flip the pen over and use the top as an eraser. |\n| --- | --- |\n| Right-click button | The tip end of the raised area on the flat side of the pen works as a right-click button in many apps. Hold the button down as you tap the screen. In some apps, the right-click button may behave differently |\n| Tip | Choose your favorite tip from the Pen Tip Kit (sold separately). The tips work with the Palm Block technology and multi-point sensitivity built into your Surface to let you write and draw naturally. | https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface pen [{"ClusterHead":"surface","TotalAutoSuggestedCount":2,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"surface","AutoSuggestedCount":2,"UserSuggestedCount":0}]}] False [{"DisplayOrder":0,"QnaId":91,"Qna":null,"DisplayText":"Pair your pen with Surface Book"},{"DisplayOrder":1,"QnaId":92,"Qna":null,"DisplayText":"Use features built into the top button"},{"DisplayOrder":2,"QnaId":96,"Qna":null,"DisplayText":"Customize your Surface Pen"},{"DisplayOrder":3,"QnaId":100,"Qna":null,"DisplayText":"Magnetic surface"},{"DisplayOrder":4,"QnaId":101,"Qna":null,"DisplayText":"LED"},{"DisplayOrder":5,"QnaId":102,"Qna":null,"DisplayText":"Top button"},{"DisplayOrder":6,"QnaId":103,"Qna":null,"DisplayText":"Right-click button"},{"DisplayOrder":7,"QnaId":104,"Qna":null,"DisplayText":"Tip"}] 90 Surface
Pair your pen with Surface Book **Pair your pen with Surface Book**\n\nBefore you use your Surface Pen, youll need to pair it with your Surface Book. You may have paired the Surface Pen while setting up your Surface Book. If you didnt pair your pen during setup, you can do it manually. See [Using Surface Pen](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-pen-pro-4) on Surface.com to learn how.\n\nIf you have problems using or pairing your pen, see [Troubleshoot Surface Pen](http://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-surface-pen-pro-4) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:pair your pen with surface book [] False [] 91 Surface
Use features built into the top button **Use features built into the top button**\n\nThe top button connects you to OneNote and Windows 10 features on your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:use features built into the top button [] False [{"DisplayOrder":0,"QnaId":93,"Qna":null,"DisplayText":"Click and hold to open Cortana or Search"},{"DisplayOrder":1,"QnaId":94,"Qna":null,"DisplayText":"Click to open a Quick Note in OneNote"},{"DisplayOrder":2,"QnaId":95,"Qna":null,"DisplayText":"Save screenshots in OneNote"}] 92 Surface
Click and hold to open Cortana or Search **Click and hold to open Cortana or Search**\n\nWhen you click and hold the top button, Cortana opens (or Search opens if Cortana is not set up). Enter your question on the screen.\n\nNote: To use this feature, your Surface needs to be nearby and turned on. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:click and hold to open cortana or search [] False [] 93 Surface
Click to open a Quick Note in OneNote **Click to open a Quick Note in OneNote**\n\nOneNote is a free app that you can use on any of your devices, even Mac, iOS, and Android devices. Your data is stored in the cloud and synced across all your devices. OneNote is a great way to find, capture, organize, and share information. Click the top button on your pen while your Surface is asleep and you can jot a note or sketch immediately, without unlocking the screen. When youre using your Surface, click the top button to open OneNote.\n\nNote: While your Surface is locked, you can use only the top button. The right-click button wont work until after you unlock your Surface by signing in.\n\nFor more info, see [Using OneNote on Surface](https://www.microsoft.com/surface/support/office-apps/take-notes-with-onenote) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:click to open a quick note in onenote [] False [] 94 Surface
Save screenshots in OneNote **Save screenshots in OneNote**\n\nYou can use your Surface Pen to take a screenshot and copy it to OneNote. Here's how:\n\n1. Display what you want to copy. It can be a webpage, a photo, or anything else you see on your screen.\n2. Double-click the top button on your Surface Pen.\n3. Select what you want to capture in the screenshot by dragging the tip of the pen from one corner of the portion you want to capture to the opposite corner. When you lift the pen tip, your selection appears in a new page in OneNote.\n\nNow you can mark up the screenshot with the pen, move it to any of your OneNote notebooks, or share it with others. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:save screenshots in onenote [] False [] 95 Surface
Customize your Surface Pen https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:customize your surface pen [] False [{"DisplayOrder":0,"QnaId":97,"Qna":null,"DisplayText":"Set left or right handedness"},{"DisplayOrder":1,"QnaId":98,"Qna":null,"DisplayText":"Adjust pressure sensitivity"},{"DisplayOrder":2,"QnaId":99,"Qna":null,"DisplayText":"Change pen tips"}] 96 Surface
Set left or right handedness **Set left or right handedness**\n\nYou can change where menus appear on your Surface screen by indicating which hand you write with. Heres how:\n\n1. Select the search box in the taskbar, enter hand, and in the search results, select Specify which hand you write with. \n2. Under Tablet PC Settings, select Right-handed or Left-handed > Apply > OK. \n\nFor more info, see [Using Surface Pen](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-pen-pro-4) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set left or right handedness [] False [] 97 Surface
Adjust pressure sensitivity **Adjust pressure sensitivity**\n\nUse the Surface app to set the pressure sensitivity to suit your writing style. The app is free from the Windows Store. For more info, see [Install and use the Surface app](http://www.microsoft.com/surface/support/apps-and-windows-store/surface-app) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:adjust pressure sensitivity [] False [] 98 Surface
Change pen tips **Change pen tips**\n\nThe Pen Tip Kit (sold separately) contains a tip removal tool and four tips: 2H (very low friction), H (low friction), HB (medium friction), and B (high friction). Choose the tip thats best for the way you write. You can get the kit at a Microsoft Store or [online](http://www.microsoftstore.com/) .\n\nHeres how to change tips:\n\n1. Grasp the tip thats in the pen and pull the tip straight out.If you have trouble grasping the tip, use the tip removal tool included with the tip kit.\n2. Insert the base of the tip into the pen opening and push the tip in until it locks into place. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change pen tips [] False [] 99 Surface
Magnetic surface ** Magnetic surface**\nis Use the magnet on the flat side of the cap to attach your Surface Pen to the side of your Surface Book or to any convenient magnetic surface. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 100 Surface
LED ** LED**\nis When the pen is in pairing mode, the LED glows white. When the battery is low, the LED glows red. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 101 Surface
Top button ** Top button**\nis Bluetooth® technology links your Surface Pen to your Surface Book:  Click and hold the top button to wake up Cortana or Search and then enter your question on the screen. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 102 Surface
Right-click button ** Right-click button**\nis The tip end of the raised area on the flat side of the pen works as a right-click button in many apps. Hold the button down as you tap the screen. In some apps, the right-click button may behave differently https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 103 Surface
Tip ** Tip**\nis Choose your favorite tip from the Pen Tip Kit (sold separately). The tips work with the Palm Block technology and multi-point sensitivity built into your Surface to let you write and draw naturally. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf generatedfromtable:true [] False [] 104 Surface
Apps and the Windows Store **Apps and the Windows Store**\n\nYour Surface Book comes with pre-installed apps to help you stay connected, entertained, informed, and productive. To see a list of installed apps, go to Start , and select All apps. Select an app to open it.\n\nTo pin an app you use frequently to Start or the taskbar, press and hold the app in the All apps list and then release it. Or, right-click the app in the All apps list. Then select Pin to Start or Pin to taskbar. For more info, see [Start, find, and close apps on Surface](http://microsoft.com/surface/support/apps-and-windows-store/start-and-close-apps) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:apps and the windows store [] False [{"DisplayOrder":0,"QnaId":106,"Qna":null,"DisplayText":"Apps on Surface Book"},{"DisplayOrder":1,"QnaId":111,"Qna":null,"DisplayText":"Get more apps from the Windows Store"}] 105 Surface
Apps on Surface Book **Apps on Surface Book**\n\nHere are some of the apps that come ready to go on your new Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:apps on surface book [] False [{"DisplayOrder":0,"QnaId":107,"Qna":null,"DisplayText":"OneNote"},{"DisplayOrder":1,"QnaId":108,"Qna":null,"DisplayText":"Microsoft Edge"},{"DisplayOrder":2,"QnaId":109,"Qna":null,"DisplayText":"Groove Music"},{"DisplayOrder":3,"QnaId":110,"Qna":null,"DisplayText":"Movies & TV"}] 106 Surface
OneNote **OneNote**\n\nYou can use the OneNote app on your Surface to take notes and store them in the cloud. With OneNote, youll have your notes whenever you need them—on your computer, phone, or the web. If you have the Bluetooth-enabled Surface Pen, you can open OneNote with a click of the pens top button. For more info, see [Using OneNote on Surface](http://www.microsoft.com/surface/support/office-apps/take-notes-with-onenote) on Surface.com.\n\n Mail \n\nMail automatically organizes your inbox. You can add multiple accounts and access them through this single point. You can also flag, archive, or delete messages by swiping to the left or right, or mark messages as read or unread. See [Set up and use email](http://www.microsoft.com/surface/support/email-and-communication/mail) on Surface.com to get started.\n\n Calendar \n\nUse Calendar to manage your busy schedule. Use the What's next view to see whats on the schedule, or look at entire days, weeks, workweeks, or months.\n\n People \n\nThe People app brings all your contacts together in a single place. See each contacts email address, phone number, website, and other information at a glance. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 107 Surface
Microsoft Edge **Microsoft Edge**\n\nMicrosoft Edge gives you fast and fluid access to the Internet. Open pages in Reading View, save them to your reading list, or take notes right on the page using inking. Check out [Get to know](http://windows.microsoft.com/en-us/windows-10/getstarted-get-to-know-microsoft-edge) [Microsoft Edge](http://windows.microsoft.com/en-us/windows-10/getstarted-get-to-know-microsoft-edge) on Windows.com for details. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 108 Surface
Groove Music **Groove Music**\n\nGroove Music lets you access your music collection and more from your Surface.\n\n Camera \n\nThe Camera app lets you take regular photos, photo bursts, or video using either the front or back camera on your Surface. See [Take photos and videos with Surface](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras) on Surface.com for how-to info.\n\n Photos \n\nEdit and organize your photos using the Photos app. Crop, enhance, and add effects to your images and set them to be the lock screen background. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 109 Surface
Movies & TV **Movies & TV**\n\nMovies & TV brings you the latest movies and TV shows as well as featured hits. It offers recommendations based on what youve watched, making it easier to find something new that youll like. Check out [Watch TV shows, movies, and videos](http://www.microsoft.com/surface/support/music-photos-and-video/watch-tv-shows-movies-and-videos) on Surface.com to get started.\n\n News \n\nGet the latest breaking stories as well as more in-depth coverage. You can customize the coverage to add more local information or highlight the topics you choose.\n\n Weather \n\nThe Weather app offers hourly, daily, and 10-day forecasts as well as historical information and annual weather trends. You can also add locations, so you can see not only the information for where you are but for where you might be heading.\n\n Money \n\nMoney not only covers the fast-moving market conditions but lets you track your portfolio, browse financial news articles, and access tools and calculators for common financial tasks.\n\n Sports \n\nSports brings you scoreboards, schedules, videos, slide shows, and news headlines and stories to help you keep up to date with the world of sports and your favorite teams.\n\n Maps \n\nMaps lets you see your current location, zoom in for greater detail, zoom out for a bigger picture, scroll or search for new locations, get directions, and more.\n\n Surface\n\nGet the most out of your Surface. The Surface app provides you with customization options and ways to learn more about your Surface. Give feedback on your experience so we can keep making it better. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 110 Surface
Get more apps from the Windows Store **Get more apps from the Windows Store**\n\nReady to get even more apps? You can install more apps and programs from the Windows Store, websites, or a CD or DVD. To learn more, see [Install and uninstall apps on Surface](http://www.microsoft.com/surface/support/apps-and-windows-store/install-apps-and-programs) on Surface.com.\n\nFor more info about the Windows Store, see [Explore the Store](http://windows.microsoft.com/en-us/windows-10/getstarted-explore-the-store) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:get more apps from the windows store [] False [] 111 Surface
Connect devices and accessories **Connect devices and accessories**\n\nYou can make photos, videos, and presentations bigger by connecting your Surface Book to a TV, monitor, or projector. Or, connect to an HDTV and watch movies on a big screen.\n\nYou can connect monitors, accessories, and other devices directly to your Surface Book using the USB ports, Mini DisplayPorts, or Bluetooth. Or, connect everything to a Surface Dock (sold separately). Surface Dock lets you transform your Surface Book into a full desktop PC using a single cable. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect devices and accessories [] False [{"DisplayOrder":0,"QnaId":113,"Qna":null,"DisplayText":"Set up your workspace with Surface Dock"},{"DisplayOrder":1,"QnaId":114,"Qna":null,"DisplayText":"Connect a USB accessory (printer, mouse, and more)"},{"DisplayOrder":2,"QnaId":115,"Qna":null,"DisplayText":"Connect to a TV, monitor, or projector"},{"DisplayOrder":3,"QnaId":122,"Qna":null,"DisplayText":"Add a Bluetooth accessory"},{"DisplayOrder":4,"QnaId":123,"Qna":null,"DisplayText":"Add audio accessories"}] 112 Surface
Set up your workspace with Surface Dock **Set up your workspace with Surface Dock**\n\nSurface Dock supports high-speed transfer of video, audio, and data. Its compact design gives you flexibility and keeps your desktop clutter-free. The external power supply recharges your Surface and provides plenty of additional power to charge connected USB devices.\n\nHere's how to set up your Surface Dock:\n\n1. Plug the AC end of the Surface Dock power cord into an electrical outlet or power strip and plug the other end into the power port on your Surface Dock.\n2. If you want to use a wired network connection, connect a network cable to the Ethernet port on your Surface Dock.\n3. Connect your computer peripherals to the USB ports on your Surface Dock.\n4. Connect a cable from your monitor to a Mini DisplayPort on your Surface Dock.If your monitor cable doesnt have a Mini DisplayPort connector, youll need to buy another cable or an adapter. For more info on adapters, see [Connect Surface to a TV, monitor, or](http://www.microsoft.com/surface/support/music-photos-and-video/connect-surface-to-a-tv-display-or-projector) [projector](http://www.microsoft.com/surface/support/music-photos-and-video/connect-surface-to-a-tv-display-or-projector) on Surface.com.\n5. Connect any audio accessories like speakers or headphones.Without external speakers, you may not hear audio when youre using your Surface. If this is the case, see [Troubleshoot Surface Dock](https://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-docking-station-surface-dock) on Surface.com to learn how to switch to the built-in speakers on your Surface.\n6. Unplug the Surface power supply and remove any attached accessories from your Surface. You can leave an SD card in the SD card slot.\n7. Connect your Surface Dock to the charging port of your Surface, using the cable provided.\n\nFor more info, see [Using Surface Dock](http://www.microsoft.com/surface/support/hardware-and-drivers/docking-station-surface-dock) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set up your workspace with surface dock [] False [] 113 Surface
Connect a USB accessory (printer, mouse, and more) **Connect a USB accessory (printer, mouse, and more)**\n\nYou can connect a USB accessory like a printer, camera, music player, smartphone, mouse, or external hard drive directly to your Surface Book. ✪\n\nThe USB port is on the side of the keyboard.\n\nThe included power supply also has a USB charging port you can use to power other USB devices while youre charging your Surface.\n\nTo install a USB accessory:\n\n1. If your USB accessory has a power cord, plug it in to an electrical outlet.\n2. Plug the USB cable attached to the accessory into your Surface.\n3. Turn on your accessory (if needed). The first time you plug in a USB accessory, Windows installs any software the accessory requires.\n\nFor more info, see [Connect a USB mouse, printer, and more](http://www.microsoft.com/surface/support/hardware-and-drivers/connect-a-usb-phone-camera-mouse-and-more) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect a usb accessory (printer, mouse, and more) [] False [] 114 Surface
Connect to a TV, monitor, or projector You can connect your Surface Book to another screen, or connect to an HDTV and watch movies on a big screen. You can even connect to some displays wirelessly. Surface video adapters are available in the [Accessories](http://www.microsoft.com/surface/accessories/home#adapters) area on Surface.com and in the [Microsoft Store](http://surface.microsoftstore.com/) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect to a tv, monitor, or projector [] False [{"DisplayOrder":0,"QnaId":116,"Qna":null,"DisplayText":"HDTV:"},{"DisplayOrder":1,"QnaId":117,"Qna":null,"DisplayText":"Projector or monitor:"},{"DisplayOrder":2,"QnaId":118,"Qna":null,"DisplayText":"Wireless:"},{"DisplayOrder":3,"QnaId":119,"Qna":null,"DisplayText":"Connect to a wired display"},{"DisplayOrder":4,"QnaId":120,"Qna":null,"DisplayText":"Connect to a wireless display"},{"DisplayOrder":5,"QnaId":121,"Qna":null,"DisplayText":"Set up your screens"}] 115 Surface
HDTV: If your TV has an HDMI port, youll need an HDMI cable and a Mini DisplayPort to HD AV adapter or an HDMI to Mini DisplayPort cable. (Both are sold separately on Surface.com.) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 116 Surface
Projector or monitor: If your monitor has a DisplayPort, you can connect it to your Surface using a DisplayPort to Mini DisplayPort cable (sold separately). If your monitor doesnt have a\n\nDisplayPort or HDMI port, use a VGA cable and the Mini DisplayPort to VGA Adapter. A VGA adapter or cable is for video only. Audio will play from your Surface speakers unless youve connected external speakers. For more info, see [Surface sound, volume, and audio accessories](http://www.microsoft.com/surface/support/hardware-and-drivers/sound-volume-and-speakers) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 117 Surface
Wireless: You can connect to wireless displays when Windows detects one nearby. Or, use a Microsoft Wireless Display Adapter (sold separately) to connect to a screen using Miracast. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 118 Surface
Connect to a wired display **Connect to a wired display**\n\n1. Connect an HDMI or VGA cable to the HDMI, DisplayPort, or VGA port on your TV, monitor, or projector.\n2. Connect the other end of the cable to a Surface video adapter or the Mini DisplayPort on your Surface or to your docking station.✪ ✪Mini DisplayPort on Surface BookMini DisplayPort on Surface Dock\n3. If youre using an adapter, plug it into the Mini DisplayPort on your Surface or your docking station. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect to a wired display [] False [] 119 Surface
Connect to a wireless display **Connect to a wireless display**\n\n1. On your Surface, swipe in from the right edge of the screen or select Action center in the taskbar.\n2. Select Connect, and in the list of displays, select the name of the wireless display.\n\nIf you have problems connecting your Surface or have questions about screen resolution, see [Trouble connecting Surface to a second screen?](http://www.microsoft.com/surface/support/music-photos-and-video/trouble-connecting-surface-to-second-screen) on Surface.com.\n\nIf youre using a Microsoft Wireless Display Adapter to connect to a screen using Miracast, see [Using the Microsoft Wireless Display Adapter with Surface](http://www.microsoft.com/surface/support/music-photos-and-video/wireless-display-adapter) on Surface.com for more info. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:connect to a wireless display [] False [] 120 Surface
Set up your screens **Set up your screens**\n\nOnce you connect to another screen or screens, you can choose what to display on each screen. Heres how:\n\n1. Select the search box in the taskbar, enter project to a second screen, and in the search results, select Project to a second screen. \n2. Choose one of the following options:\n * PC screen only: Youll see everything on your Surface screen. (When you're connected to a wireless projector, this option changes to Disconnect.) \n * Duplicate: Youll see the same things on all screens.\n * Extend: You'll see everything spread over all screens, and you can drag and move items between them.\n * Second screen only: Youll see everything on the connected screen or screens, and your Surface screen will be blank.\n\nFor more info, including how to daisy chain monitors and move apps between screens, see [Connect Surface to a TV, monitor, or projector](http://www.microsoft.com/surface/support/music-photos-and-video/connect-surface-pro-to-a-tv-display-or-projector) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set up your screens [] False [] 121 Surface
Add a Bluetooth accessory **Add a Bluetooth accessory**\n\nYou can also connect devices that use Bluetooth wireless technology to your Surface.\n\n Turn on the Bluetooth device and make it discoverable.\n\n1. To learn how to do this, check the info that came with your Bluetooth device or go to the manufacturers website.\n2. Go to Start , and select Settings > Devices > Bluetooth. ✪\n3. Under Manage Bluetooth devices, make sure the slider is set to On and wait while Windows searches for Bluetooth devices.\n4. In the list of Bluetooth devices, select the device you want to pair with your Surface and select Pair. \n5. Follow the on-screen instructions to finish pairing your device.\n\nIf the accessory requires a pass code, (sometimes called a pairing code), youll be prompted for it. If you dont know the pass code, check the info that came with your device or the manufacturers website.\n\nFor more info, see [Add a Bluetooth device](http://www.microsoft.com/surface/support/hardware-and-drivers/add-a-bluetooth-device) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:add a bluetooth accessory [] False [] 122 Surface
Add audio accessories **Add audio accessories**\n\nYou can connect external USB speakers, headphones, or a headset to the full-size USB port. Or go wireless by using Bluetooth headphones or speakers with your Surface.\n\nTo get the best sound from USB or Bluetooth speakers, turn up the volume on your Surface and in the app, if it has its own sound control, and then adjust the volume on the external USB or Bluetooth speakers. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:add audio accessories [] False [{"DisplayOrder":0,"QnaId":124,"Qna":null,"DisplayText":"Set the default audio device"}] 123 Surface
Set the default audio device **Set the default audio device**\n\n1. Select the search box in the taskbar, enter sound, and in the search results, select Change system sounds. \n2. Do either or both of the following:\n * Select the Playback tab, select the device you want to use for playback—for example, the built-in speakers on Surface, external speakers, or a headset—and select Set Default. \n * Select the Recording tab, select the device you want to use for recording—for example, the built-in mic or an external mic—and select Set Default. \n3. After you've selected your default devices, select OK. \n\nFor more info, see [Surface sound, volume, and audio accessories](http://www.microsoft.com/surface/support/hardware-and-drivers/sound-volume-and-speakers) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set the default audio device [] False [] 124 Surface
Surface audio features **Surface audio features**\n\nUse the built-in stereo speakers and mic or your favorite audio accessories to listen to music, make phone calls, record audio, and more. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface audio features [] False [{"DisplayOrder":0,"QnaId":126,"Qna":null,"DisplayText":"Use your favorite audio accessories"},{"DisplayOrder":1,"QnaId":127,"Qna":null,"DisplayText":"Adjust the volume"},{"DisplayOrder":2,"QnaId":133,"Qna":null,"DisplayText":"Record audio"}] 125 Surface
Use your favorite audio accessories **Use your favorite audio accessories**\n\nThe stereo speakers and microphones built into Surface let you listen to music and videos, make phone calls, and record audio. Or, you can connect your favorite USB and Bluetooth accessories like speakers, a mic, or a headset. For more info on connecting accessories, see [Connect a USB mouse,](http://www.microsoft.com/surface/support/hardware-and-drivers/connect-a-usb-phone-camera-mouse-and-more) [printer, and more](http://www.microsoft.com/surface/support/hardware-and-drivers/connect-a-usb-phone-camera-mouse-and-more) and [Add a Bluetooth device](http://www.microsoft.com/surface/support/hardware-and-drivers/add-a-bluetooth-device) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:use your favorite audio accessories [] False [] 126 Surface
Adjust the volume You can control the volume on your Surface in several places: https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:adjust the volume [] False [{"DisplayOrder":0,"QnaId":128,"Qna":null,"DisplayText":"Volume button:"},{"DisplayOrder":1,"QnaId":129,"Qna":null,"DisplayText":"Keyboard:"},{"DisplayOrder":2,"QnaId":130,"Qna":null,"DisplayText":"Desktop taskbar:"},{"DisplayOrder":3,"QnaId":131,"Qna":null,"DisplayText":"Audio accessories:"},{"DisplayOrder":4,"QnaId":132,"Qna":null,"DisplayText":"Apps:"}] 127 Surface
Volume button: Press the volume button on the Clipboard to adjust the volume up or down. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 128 Surface
Keyboard: Press the volume-down, volume-up, or mute keys on the keyboard. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 129 Surface
Desktop taskbar: In the desktop taskbar, select Speakers , and adjust the volume up or down. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 130 Surface
Audio accessories: Adjust the volume on the headset, speakers, or other audio accessory, or in the software included with the accessory. To learn more, check the info that came with your accessory or visit the manufacturer's website. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 131 Surface
Apps: Some apps have a volume control within the app. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 132 Surface
Record audio **Record audio**\n\nYou can use the Voice Recorder app to record audio. To open the app:\n\n Go to Start , and select All apps > Voice Recorder. \n\n✪ ✪ https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:record audio [] False [{"DisplayOrder":0,"QnaId":134,"Qna":null,"DisplayText":"Adjust microphone settings"},{"DisplayOrder":1,"QnaId":135,"Qna":null,"DisplayText":"Change which sounds play"},{"DisplayOrder":2,"QnaId":136,"Qna":null,"DisplayText":"Audio problems"}] 133 Surface
Adjust microphone settings **Adjust microphone settings**\n\n1. Select the search box in the taskbar, enter sound, and in the search results, select Change system sounds. \n2. Select the Recording tab, select the mic you want, and select Properties. Be sure to select a mic that's enabled and connected to your Surface.\n3. Select the Levels tab. Youll see two sliders:\n * Microphone: Controls the mics volume\n * Microphone Boost: Controls the strength of the mic's signal\n4. Adjust the sliders until your mic is recording at the levels you want.\n\nThe levels you'll use will vary depending on the amount of background noise and on whether you're using the mic thats built into your Surface or an external mic. A good starting point is to set Microphone to 50 and Microphone Boost to +24.0 dB. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:adjust microphone settings [] False [] 134 Surface
Change which sounds play **Change which sounds play**\n\nYou can choose which sounds play for notifications and system events—for example, the sound that plays when you get a new message. Here's how:\n\n1. Select the search box in the taskbar, enter sound, and in the search results, select Change system sounds. \n2. Select the Sounds tab, and under Program Events, select an event (for example, Calendar Reminder). \n3. Under Sounds, choose the sound you want to play for that event.\n4. To hear the sound you've picked, select Test. \n5. Select Apply to change the sound for the event, and select OK. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change which sounds play [] False [] 135 Surface
Audio problems **Audio problems**\n\nIf the sound quality coming from your speakers or an audio accessory isn't good, it's possible the audio recording itself isn't of good quality. Try listening to the same recording on a different device.\n\nFor help with audio problems, see [Troubleshoot Surface sound and audio accessories](http://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-surface-audio) on Surface.com.\n\nTo learn more about audio on Surface Book, see [Surface sound, volume, and audio accessories](http://www.microsoft.com/surface/support/hardware-and-drivers/sound-volume-and-speakers) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:audio problems [] False [] 136 Surface
Cameras and the Camera app **Cameras and the Camera app**\n\nSurface Book has a front-facing camera and a rear-facing camera. You can use the front camera to video chat with a friend, and the back camera to record meetings and events. You can also use either camera to take photos. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:cameras and the camera app [] False [{"DisplayOrder":0,"QnaId":138,"Qna":null,"DisplayText":"Take photos and record videos"},{"DisplayOrder":1,"QnaId":139,"Qna":null,"DisplayText":"Using autofocus on Surface Book"},{"DisplayOrder":2,"QnaId":140,"Qna":null,"DisplayText":"Change camera options"},{"DisplayOrder":3,"QnaId":145,"Qna":null,"DisplayText":"View photos and videos"}] 137 Surface
Take photos and record videos **Take photos and record videos**\n\nBy default, the built-in Camera app is ready to take photos, but you can easily switch between photo and video mode.\n\nTo take a photo or record a video:\n\n Go to Start , and select Camera. \n\n1. To pin the Camera app to Start, select All Apps, press and hold (or right-click) the Camera app, and select Pin to Start. ✪ ✪\n2. Select the on-screen Camera button or Video button to activate the camera you want to use, and select the button again to take a picture or start recording video.\n\nA small privacy light appears near the active camera when youre using it. The privacy light cant be turned off. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:take photos and record videos [] False [] 138 Surface
Using autofocus on Surface Book **Using autofocus on Surface Book**\n\nTo help you improve the sharpness of your photos and videos, the rear-facing camera on Surface Book features an autofocus lens that detects a face in the scene automatically and focuses on it. If it doesnt detect a face, it will focus on the main subject in the center of the screen. It also lets you spot adjust the focus before you take a picture or while recording a video.\n\nYou can adjust and lock the focus on a different location by tapping the screen on that spot. If youre recording a video, you can spot adjust the focus without stopping the recording. When you tap the screen to adjust the focus, the focus is locked on that spot until you tap the screen again. The focus will adjust automatically and remain focused on that spot as you move the camera.\n\nTo adjust the focus:\n\n* Photos: Tap the screen to focus on that spot, then tap the Camera button to take the picture.\n* Videos: While youre recording video, tap the screen to spot adjust the focus.\n\nAutofocus is available only on the rear-facing camera. The front-facing camera has a fixed-focus lens. To learn more, see [Using autofocus on Surface 3, Surface Pro 4, and Surface Book](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras-autofocus) [on](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras-autofocus) [Surface.com.](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras-autofocus) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:using autofocus on surface book [] False [] 139 Surface
Change camera options **Change camera options**\n\nUse the Camera app to switch between the front and back camera or manually set camera options. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change camera options [] False [{"DisplayOrder":0,"QnaId":141,"Qna":null,"DisplayText":"Change between the front and back camera"},{"DisplayOrder":1,"QnaId":142,"Qna":null,"DisplayText":"Set the timer"},{"DisplayOrder":2,"QnaId":143,"Qna":null,"DisplayText":"Change camera settings"},{"DisplayOrder":3,"QnaId":144,"Qna":null,"DisplayText":"Turn off the camera shutter sound"}] 140 Surface
Change between the front and back camera **Change between the front and back camera**\n\n✪\n\nAt the top of the screen, select either the Front camera or Back camera icon, depending on which camera youre currently using. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change between the front and back camera [] False [] 141 Surface
Set the timer **Set the timer**\n\nSelect More options in the upper-right corner and select Self timer. \n\nSelect the Delay that you want to set (two, five, or 10 seconds) and select the check mark at the bottom. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:set the timer [] False [] 142 Surface
Change camera settings **Change camera settings**\n\nYou can also modify the photo aspect ratio, show or hide framing grid lines, adjust video settings, and change what happens when you press and hold the camera button.\n\nHeres how to change camera settings:\n\nIn the Camera app, select More options in the upper-right corner, select Settings, and change the settings you want.\n\nTo learn how to adjust settings to get better results in your photos and videos, see [Improve photo](http://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-photo-and-video-quality) [and video quality](http://www.microsoft.com/surface/support/hardware-and-drivers/troubleshoot-photo-and-video-quality) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change camera settings [] False [] 143 Surface
Turn off the camera shutter sound **Turn off the camera shutter sound**\n\nYou can turn off the shutter sound the camera makes by muting the volume on your Surface. This turns off all Surface sounds.\n\nIn the taskbar, select Volume and adjust the slider all the way down to mute the sound. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:turn off the camera shutter sound [] False [] 144 Surface
View photos and videos **View photos and videos**\n\nBy default, your photos and videos are saved to the Camera roll on your Surface. You can choose to save your pictures to OneDrive so you can access them from any web-connected device. For more info, see [Using OneDrive on Surface](http://www.microsoft.com/surface/support/storage-files-and-folders/Onedrive-on-surface) .\n\nThere are a few ways to look through your photos and videos:\n\n* Camera app: Select Photos in the upper-left corner to open the Photos app and view the most recent picture or video taken. Swipe right to see others in your collection.✪\n* Photos app: Select View collection in the upper-left corner to see other photos and videos in your collection.\n* File Explorer or OneDrive app. Go to your Pictures library and open your Camera roll.\n\nTo change where your pictures are saved:\n\n1. In the Camera app, select More options > Settings. ✪\n2. Select Manage save location and OneDrive uploads, select Yes to open Settings, and select Storage. \n3. Under Save locations, change the option under New pictures will save to. \n\nFor more info on using the cameras, see [Take photos and videos with Surface](http://www.microsoft.com/surface/support/hardware-and-drivers/surface-cameras) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 145 Surface
Personalization and settings **Personalization and settings**\n\nSettings control nearly everything about how your Surface Book looks and works. By adjusting settings, you can customize your Surface to work the way you want. Here are a few different ways to find and change your settings. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:personalization and settings [] False [{"DisplayOrder":0,"QnaId":147,"Qna":null,"DisplayText":"Windows Settings"},{"DisplayOrder":1,"QnaId":148,"Qna":null,"DisplayText":"Action center"},{"DisplayOrder":2,"QnaId":149,"Qna":null,"DisplayText":"Cortana"},{"DisplayOrder":3,"QnaId":150,"Qna":null,"DisplayText":"Surface app"},{"DisplayOrder":4,"QnaId":151,"Qna":null,"DisplayText":"Sync your settings"},{"DisplayOrder":5,"QnaId":152,"Qna":null,"DisplayText":"Change settings in Windows apps"}] 146 Surface
Windows Settings **Windows Settings**\n\n1. Go to Start , and select Settings. ✪\n2. Select the type of settings you want to change or view.\n\n✪\n\nFor more info, see [A new look for settings](http://windows.microsoft.com/en-us/windows-10/getstarted-a-new-look-for-settings) on Windows.com.\n\nYou can enter the setting you want to change in the Find a setting box and choose a setting from the list. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:windows settings [] False [] 147 Surface
Action center **Action center**\n\nYou can change common settings like airplane mode and WiFi on the fly from the Action center in the taskbar. For more info, see [Take action instantly](http://windows.microsoft.com/en-us/windows-10/getstarted-take-action) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:action center [] False [] 148 Surface
Cortana **Cortana**\n\n1. Open Cortana by selecting the search box in the taskbar.✪\n2. Ask your question and select an answer under Settings. \n\nFor more info, see [What is Cortana?](http://windows.microsoft.com/en-us/windows-10/getstarted-what-is-cortana) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:cortana [] False [] 149 Surface
Surface app **Surface app**\n\nOpen the Surface app to adjust settings for the Surface Pen, OneNote, and more.\n\nFor info, see [Install and use the Surface app](http://www.microsoft.com/surface/support/apps-and-windows-store/surface-app) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:surface app [{"ClusterHead":"surface","TotalAutoSuggestedCount":27,"TotalUserSuggestedCount":2,"AlternateQuestionList":[{"Question":"surface","AutoSuggestedCount":27,"UserSuggestedCount":2}]},{"ClusterHead":"surfac","TotalAutoSuggestedCount":1,"TotalUserSuggestedCount":0,"AlternateQuestionList":[{"Question":"surfac","AutoSuggestedCount":1,"UserSuggestedCount":0}]}] False [] 150 Surface
Sync your settings **Sync your settings**\n\nTo learn how to sync your settings across devices, see [About sync settings in Windows 10](http://windows.microsoft.com/en-us/windows-10/about-sync-settings-in-windows-10) on Windows.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:sync your settings [] False [] 151 Surface
Change settings in Windows apps **Change settings in Windows apps**\n\nYou can use settings in an app to change your preferences, find help, and add accounts.\n\n1. Open the app and select Menu > Settings. ✪\n2. Select Options and make the changes you want. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:change settings in windows apps [] False [] 152 Surface
Accessibility **Accessibility**\n\nEase of Access features let you use your Surface the way you want. To see what features are available:\n\n Go to Start , and select Settings > Ease of Access. \n\n✪\n\nFor more info about Ease of Access features, see [Make your PC easier to use](http://windows.microsoft.com/en-us/windows-10/getstarted-make-your-pc-easier-to-use) on Windows.com. (Some of these options may not be available on your Surface Book.) https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:accessibility [] False [{"DisplayOrder":0,"QnaId":154,"Qna":null,"DisplayText":"Ease of Access options for Surface"},{"DisplayOrder":1,"QnaId":161,"Qna":null,"DisplayText":"Other options"},{"DisplayOrder":2,"QnaId":168,"Qna":null,"DisplayText":"Customize the sign-in screen"}] 153 Surface
Ease of Access options for Surface Your Surface Book offers the following features. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:ease of access options for surface [] False [{"DisplayOrder":0,"QnaId":155,"Qna":null,"DisplayText":"Narrator:"},{"DisplayOrder":1,"QnaId":156,"Qna":null,"DisplayText":"Magnifier:"},{"DisplayOrder":2,"QnaId":157,"Qna":null,"DisplayText":"High contrast:"},{"DisplayOrder":3,"QnaId":158,"Qna":null,"DisplayText":"Closed captions:"},{"DisplayOrder":4,"QnaId":159,"Qna":null,"DisplayText":"Keyboard:"},{"DisplayOrder":5,"QnaId":160,"Qna":null,"DisplayText":"Mouse:"}] 154 Surface
Narrator: Reads the text on your screen aloud. For more info, see [Hear text read aloud with](http://windows.microsoft.com/en-us/windows-10/getstarted-hear-text-read-aloud) [Narrator](http://windows.microsoft.com/en-us/windows-10/getstarted-hear-text-read-aloud) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 155 Surface
Magnifier: Enlarges your screen or parts of it to make words and images easier to see. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 156 Surface
High contrast: Lets you use a high-contrast theme that makes items easier to read on your Surface.\n\n* To use a high-contrast theme, under Choose a theme, select any high-contrast theme, select any color to change that type of text or background color, and select Apply. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 157 Surface
Closed captions: Lets you control fonts and other features related to closed captions. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 158 Surface
Keyboard: Lets you control your Surface by using a touch keyboard. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 159 Surface
Mouse: Allows you to change the size and color of the mouse pointer and use the numeric keypad to control the mouse. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 160 Surface
Other options These options make Surface easier to use: https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:other options [] False [{"DisplayOrder":0,"QnaId":162,"Qna":null,"DisplayText":"Play animations in Windows:"},{"DisplayOrder":1,"QnaId":163,"Qna":null,"DisplayText":"Show Windows background:"},{"DisplayOrder":2,"QnaId":164,"Qna":null,"DisplayText":"Show notifications for:"},{"DisplayOrder":3,"QnaId":165,"Qna":null,"DisplayText":"Cursor thickness:"},{"DisplayOrder":4,"QnaId":166,"Qna":null,"DisplayText":"Show visual feedback when I touch the screen:"},{"DisplayOrder":5,"QnaId":167,"Qna":null,"DisplayText":"Use darker, larger visual feedback (ideal for presentations):"}] 161 Surface
Play animations in Windows: To see animations whenever you open and switch apps, select On. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 162 Surface
Show Windows background: To see a background image instead of a black background on the Desktop, select On. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 163 Surface
Show notifications for: If notifications appear and disappear too quickly, choose a time (five, seven, 15, or 30 seconds; one or five minutes) to change how long theyre visible. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 164 Surface
Cursor thickness: If the curser is too hard to see, you can change its thickness. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 165 Surface
Show visual feedback when I touch the screen: To see a gray animation wherever you touch the screen, select On. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 166 Surface
Use darker, larger visual feedback (ideal for presentations): To see a larger, darker animation wherever you touch the screen, select On. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 167 Surface
Customize the sign-in screen **Customize the sign-in screen**\n\nGo to Start , and select Settings > Ease of Access to make any of the following settings available every time Surface starts:\n\n* Narrator\n* Magnifier\n* High contrast\n* Closed captions\n* Keyboard\n* Mouse https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:customize the sign-in screen [] False [] 168 Surface
Clean and care for your Surface Book **Clean and care for your Surface Book**\n\nTo keep your Surface Book looking and working great, follow these simple steps. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:clean and care for your surface book [] False [{"DisplayOrder":0,"QnaId":170,"Qna":null,"DisplayText":"Touchscreen care"},{"DisplayOrder":1,"QnaId":174,"Qna":null,"DisplayText":"Cover and keyboard care"},{"DisplayOrder":2,"QnaId":175,"Qna":null,"DisplayText":"Power cord care"}] 169 Surface
Touchscreen care Scratches, oil, dust, chemicals, and ultraviolet light can affect the performance of your touchscreen. Here are some things you can do to help protect the screen: https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:touchscreen care [] False [{"DisplayOrder":0,"QnaId":171,"Qna":null,"DisplayText":"Clean it frequently."},{"DisplayOrder":1,"QnaId":172,"Qna":null,"DisplayText":"Keep it covered."},{"DisplayOrder":2,"QnaId":173,"Qna":null,"DisplayText":"Keep it out of the sun."}] 170 Surface
Clean it frequently. The Surface Book touchscreen has been coated to make it easier to clean. You dont need to rub hard to remove fingerprints or oily spots. To avoid scratches, use a soft, lint-free cloth to gently wipe the screen. You can dampen the cloth with water or an eyeglass cleaner, but dont apply liquids directly to your Surface. Dont use window cleaner or other chemical cleaners on your Surface. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 171 Surface
Keep it covered. Close the keyboard while youre in transit or not using your Surface Book. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 172 Surface
Keep it out of the sun. Do not leave your Surface Book in direct sunlight for a long time. Ultraviolet light and excessive heat can damage the display. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf [] False [] 173 Surface
Cover and keyboard care **Cover and keyboard care**\n\nThe Surface Book keyboard requires minimal care to function well. To clean the keyboard, wipe it with a lint-free cloth dampened in mild soap and water. Dont apply liquids directly to your Surface.\n\nFor more info about safely cleaning and caring for Surface, see [Safety and regulatory information](http://www.microsoft.com/surface/support/hardware-and-drivers/safety-and-regulatory-information) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:cover and keyboard care [] False [] 174 Surface
Power cord care **Power cord care**\n\nPower cords, like any other metal wire or cable, can be weakened or damaged if repeatedly twisted or bent in the same spot. Here are some things you can do to keep your power cord from being damaged:\n\n* Avoid twisting or pinching your power cord.\n* Dont wrap your power cord too tightly, especially around the power brick. Instead, wrap it using loose coils rather than tight angles.\n* Inspect your power cord regularly, especially where it joins the power brick.\n* Avoid pulling on the power cord when unplugging your Surface. Gently removing the connector from the charging connector can help prevent damage.\n\nFor more info, see [Clean and care for your Surface](http://www.microsoft.com/surface/support/performance-and-maintenance/clean-and-care-for-your-surface) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:power cord care [] False [] 175 Surface
Registration, repair, and warranty https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:registration, repair, and warranty [] False [{"DisplayOrder":0,"QnaId":177,"Qna":null,"DisplayText":"Register your Surface Book"},{"DisplayOrder":1,"QnaId":178,"Qna":null,"DisplayText":"Repair"},{"DisplayOrder":2,"QnaId":179,"Qna":null,"DisplayText":"Warranty"},{"DisplayOrder":3,"QnaId":180,"Qna":null,"DisplayText":"Safety and regulatory information"}] 176 Surface
Register your Surface Book **Register your Surface Book**\n\nIf you havent already registered your Surface Book and other Surface products, you can do so at [microsoft.com/surface/support/register](http://www.microsoft.com/surface/support/register) . Youll need your Microsoft account (the email address and password that you use to sign in to your Surface and to download apps from the Windows Store), and the serial number of your Surface Book keyboard or Clipboard.\n\nFor more info, see [Find the serial number on Surface](http://www.microsoft.com/surface/support/warranty-service-and-recovery/find-the-serial-number-on-surface) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:register your surface book [] False [] 177 Surface
Repair **Repair**\n\nBefore sending your Surface Book in for service, check out the [Surface troubleshooting articles](http://www.microsoft.com/surface/support/troubleshoot) on Surface.com. If you cant solve the problem with troubleshooting, [contact us](http://www.microsoft.com/surface/support/contact-us) through Surface.com.\n\nIf you continue to have a problem with your Surface, you can open a service request and send your product in for service.\n\nBefore you send your Surface in for service, see [How to prepare your Surface for service](http://www.microsoft.com/surface/support/warranty-service-and-recovery/how-to-get-your-surface-ready-for-service) . Then go to [Send my Surface in for service](http://www.microsoft.com/surface/support/service-order) on Surface.com, sign in with your Microsoft account, and follow the on-screen instructions. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:repair [] False [] 178 Surface
Warranty **Warranty**\n\nFor warranty info, see [Surface warranty](http://www.microsoft.com/surface/support/warranty-service-and-recovery/surface-warranty) and [Surface warranty documents](http://www.microsoft.com/surface/support/documents) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:warranty [] False [] 179 Surface
Safety and regulatory information **Safety and regulatory information**\n\nSee [Safety and regulatory information](https://www.microsoft.com/surface/support/hardware-and-drivers/safety-and-regulatory-information) on Surface.com. https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:safety and regulatory information [] False [] 180 Surface
More help **More help**\n\nFor more how-to info and help for Surface Book, go to [www.surface.com/support](http://www.surface.com/support) . https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf explicitlytaggedheading:more help [] False [] 181 Surface
Не удается отобразить этот файл, потому что он содержит неожиданный символ в строке 2 и столбце 139.

Просмотреть файл

@ -0,0 +1,54 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"groupLocation": {
"value": ""
},
"groupName": {
"value": ""
},
"appId": {
"value": ""
},
"appSecret": {
"value": ""
},
"appType": {
"value": "MultiTenant"
},
"botId": {
"value": ""
},
"botSku": {
"value": ""
},
"newAppServicePlanName": {
"value": ""
},
"newAppServicePlanSku": {
"value": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
}
},
"newAppServicePlanLocation": {
"value": ""
},
"newWebAppName": {
"value": ""
},
"tenantId": {
"value": ""
},
"existingUserAssignedMSIName": {
"value": ""
},
"existingUserAssignedMSIResourceGroupName": {
"value": ""
}
}
}

Просмотреть файл

@ -0,0 +1,51 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"appId": {
"value": ""
},
"appSecret": {
"value": ""
},
"appType": {
"value": "MultiTenant"
},
"botId": {
"value": ""
},
"botSku": {
"value": ""
},
"newAppServicePlanName": {
"value": ""
},
"newAppServicePlanSku": {
"value": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
}
},
"appServicePlanLocation": {
"value": ""
},
"existingAppServicePlan": {
"value": ""
},
"newWebAppName": {
"value": ""
},
"tenantId": {
"value": ""
},
"existingUserAssignedMSIName": {
"value": ""
},
"existingUserAssignedMSIResourceGroupName": {
"value": ""
}
}
}

Просмотреть файл

@ -0,0 +1,258 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"groupLocation": {
"type": "string",
"metadata": {
"description": "Specifies the location of the Resource Group."
}
},
"groupName": {
"type": "string",
"metadata": {
"description": "Specifies the name of the Resource Group."
}
},
"appId": {
"type": "string",
"metadata": {
"description": "Active Directory App ID or User-Assigned Managed Identity Client ID, set as MicrosoftAppId in the Web App's Application Settings."
}
},
"appSecret": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Active Directory App Password, set as MicrosoftAppPassword in the Web App's Application Settings. Required for MultiTenant and SingleTenant app types. Defaults to \"\"."
}
},
"appType": {
"type": "string",
"defaultValue": "MultiTenant",
"allowedValues": [
"MultiTenant",
"SingleTenant",
"UserAssignedMSI"
],
"metadata": {
"description": "Type of Bot Authentication. set as MicrosoftAppType in the Web App's Application Settings. Allowed values are: MultiTenant, SingleTenant, UserAssignedMSI. Defaults to \"MultiTenant\"."
}
},
"botId": {
"type": "string",
"metadata": {
"description": "The globally unique and immutable bot ID. Also used to configure the displayName of the bot, which is mutable."
}
},
"botSku": {
"type": "string",
"metadata": {
"description": "The pricing tier of the Bot Service Registration. Acceptable values are F0 and S1."
}
},
"newAppServicePlanName": {
"type": "string",
"metadata": {
"description": "The name of the App Service Plan."
}
},
"newAppServicePlanSku": {
"type": "object",
"defaultValue": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
},
"metadata": {
"description": "The SKU of the App Service Plan. Defaults to Standard values."
}
},
"newAppServicePlanLocation": {
"type": "string",
"metadata": {
"description": "The location of the App Service Plan. Defaults to \"westus\"."
}
},
"newWebAppName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The globally unique name of the Web App. Defaults to the value passed in for \"botId\"."
}
},
"tenantId": {
"type": "string",
"defaultValue": "[subscription().tenantId]",
"metadata": {
"description": "The Azure AD Tenant ID to use as part of the Bot's Authentication. Only used for SingleTenant and UserAssignedMSI app types. Defaults to \"Subscription Tenant ID\"."
}
},
"existingUserAssignedMSIName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The User-Assigned Managed Identity Resource used for the Bot's Authentication. Defaults to \"\"."
}
},
"existingUserAssignedMSIResourceGroupName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The User-Assigned Managed Identity Resource Group used for the Bot's Authentication. Defaults to \"\"."
}
}
},
"variables": {
"appServicePlanName": "[parameters('newAppServicePlanName')]",
"resourcesLocation": "[parameters('newAppServicePlanLocation')]",
"webAppName": "[if(empty(parameters('newWebAppName')), parameters('botId'), parameters('newWebAppName'))]",
"siteHost": "[concat(variables('webAppName'), '.azurewebsites.net')]",
"botEndpoint": "[concat('https://', variables('siteHost'), '/api/messages')]",
"resourceGroupId": "[concat(subscription().id, '/resourceGroups/', parameters('groupName'))]",
"msiResourceId": "[concat(subscription().id, '/resourceGroups/', parameters('existingUserAssignedMSIResourceGroupName'), '/providers/', 'Microsoft.ManagedIdentity/userAssignedIdentities/', parameters('existingUserAssignedMSIName'))]",
"appTypeDef": {
"MultiTenant": {
"tenantId": "",
"msiResourceId": "",
"identity": { "type": "None" }
},
"SingleTenant": {
"tenantId": "[parameters('tenantId')]",
"msiResourceId": "",
"identity": { "type": "None" }
},
"UserAssignedMSI": {
"tenantId": "[parameters('tenantId')]",
"msiResourceId": "[variables('msiResourceId')]",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"[variables('msiResourceId')]": {}
}
}
}
},
"appType": {
"tenantId": "[variables('appTypeDef')[parameters('appType')].tenantId]",
"msiResourceId": "[variables('appTypeDef')[parameters('appType')].msiResourceId]",
"identity": "[variables('appTypeDef')[parameters('appType')].identity]"
}
},
"resources": [
{
"name": "[parameters('groupName')]",
"type": "Microsoft.Resources/resourceGroups",
"apiVersion": "2018-05-01",
"location": "[parameters('groupLocation')]",
"properties": {}
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2018-05-01",
"name": "storageDeployment",
"resourceGroup": "[parameters('groupName')]",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups/', parameters('groupName'))]"
],
"properties": {
"mode": "Incremental",
"template": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {},
"resources": [
{
"comments": "Create a new App Service Plan",
"type": "Microsoft.Web/serverfarms",
"name": "[variables('appServicePlanName')]",
"apiVersion": "2018-02-01",
"location": "[variables('resourcesLocation')]",
"sku": "[parameters('newAppServicePlanSku')]",
"properties": {
"name": "[variables('appServicePlanName')]"
}
},
{
"comments": "Create a Web App using the new App Service Plan",
"type": "Microsoft.Web/sites",
"apiVersion": "2015-08-01",
"location": "[variables('resourcesLocation')]",
"kind": "app",
"dependsOn": [
"[concat(variables('resourceGroupId'), '/providers/Microsoft.Web/serverfarms/', variables('appServicePlanName'))]"
],
"name": "[variables('webAppName')]",
"identity": "[variables('appType').identity]",
"properties": {
"name": "[variables('webAppName')]",
"serverFarmId": "[variables('appServicePlanName')]",
"siteConfig": {
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "10.14.1"
},
{
"name": "MicrosoftAppType",
"value": "[parameters('appType')]"
},
{
"name": "MicrosoftAppId",
"value": "[parameters('appId')]"
},
{
"name": "MicrosoftAppPassword",
"value": "[parameters('appSecret')]"
},
{
"name": "MicrosoftAppTenantId",
"value": "[variables('appType').tenantId]"
}
],
"cors": {
"allowedOrigins": [
"https://botservice.hosting.portal.azure.net",
"https://hosting.onecloud.azure-test.net/"
]
}
}
}
},
{
"apiVersion": "2021-03-01",
"type": "Microsoft.BotService/botServices",
"name": "[parameters('botId')]",
"location": "global",
"kind": "azurebot",
"sku": {
"name": "[parameters('botSku')]"
},
"properties": {
"name": "[parameters('botId')]",
"displayName": "[parameters('botId')]",
"iconUrl": "https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png",
"endpoint": "[variables('botEndpoint')]",
"msaAppId": "[parameters('appId')]",
"msaAppTenantId": "[variables('appType').tenantId]",
"msaAppMSIResourceId": "[variables('appType').msiResourceId]",
"msaAppType": "[parameters('appType')]",
"luisAppIds": [],
"schemaTransformationVersion": "1.3",
"isCmekEnabled": false,
"isIsolated": false
},
"dependsOn": [
"[concat(variables('resourceGroupId'), '/providers/Microsoft.Web/sites/', variables('webAppName'))]"
]
}
],
"outputs": {}
}
}
}
]
}

Просмотреть файл

@ -0,0 +1,229 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"appId": {
"type": "string",
"metadata": {
"description": "Active Directory App ID or User-Assigned Managed Identity Client ID, set as MicrosoftAppId in the Web App's Application Settings."
}
},
"appSecret": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Active Directory App Password, set as MicrosoftAppPassword in the Web App's Application Settings. Required for MultiTenant and SingleTenant app types. Defaults to \"\"."
}
},
"appType": {
"type": "string",
"defaultValue": "MultiTenant",
"allowedValues": [
"MultiTenant",
"SingleTenant",
"UserAssignedMSI"
],
"metadata": {
"description": "Type of Bot Authentication. set as MicrosoftAppType in the Web App's Application Settings. Allowed values are: MultiTenant, SingleTenant, UserAssignedMSI. Defaults to \"MultiTenant\"."
}
},
"botId": {
"type": "string",
"metadata": {
"description": "The globally unique and immutable bot ID. Also used to configure the displayName of the bot, which is mutable."
}
},
"botSku": {
"defaultValue": "F0",
"type": "string",
"metadata": {
"description": "The pricing tier of the Bot Service Registration. Acceptable values are F0 and S1."
}
},
"newAppServicePlanName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The name of the new App Service Plan."
}
},
"newAppServicePlanSku": {
"type": "object",
"defaultValue": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
},
"metadata": {
"description": "The SKU of the App Service Plan. Defaults to Standard values."
}
},
"appServicePlanLocation": {
"type": "string",
"metadata": {
"description": "The location of the App Service Plan."
}
},
"existingAppServicePlan": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Name of the existing App Service Plan used to create the Web App for the bot."
}
},
"newWebAppName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The globally unique name of the Web App. Defaults to the value passed in for \"botId\"."
}
},
"tenantId": {
"type": "string",
"defaultValue": "[subscription().tenantId]",
"metadata": {
"description": "The Azure AD Tenant ID to use as part of the Bot's Authentication. Only used for SingleTenant and UserAssignedMSI app types. Defaults to \"Subscription Tenant ID\"."
}
},
"existingUserAssignedMSIName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The User-Assigned Managed Identity Resource used for the Bot's Authentication. Defaults to \"\"."
}
},
"existingUserAssignedMSIResourceGroupName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "The User-Assigned Managed Identity Resource Group used for the Bot's Authentication. Defaults to \"\"."
}
}
},
"variables": {
"defaultAppServicePlanName": "[if(empty(parameters('existingAppServicePlan')), 'createNewAppServicePlan', parameters('existingAppServicePlan'))]",
"useExistingAppServicePlan": "[not(equals(variables('defaultAppServicePlanName'), 'createNewAppServicePlan'))]",
"servicePlanName": "[if(variables('useExistingAppServicePlan'), parameters('existingAppServicePlan'), parameters('newAppServicePlanName'))]",
"resourcesLocation": "[parameters('appServicePlanLocation')]",
"webAppName": "[if(empty(parameters('newWebAppName')), parameters('botId'), parameters('newWebAppName'))]",
"siteHost": "[concat(variables('webAppName'), '.azurewebsites.net')]",
"botEndpoint": "[concat('https://', variables('siteHost'), '/api/messages')]",
"msiResourceId": "[concat(subscription().id, '/resourceGroups/', parameters('existingUserAssignedMSIResourceGroupName'), '/providers/', 'Microsoft.ManagedIdentity/userAssignedIdentities/', parameters('existingUserAssignedMSIName'))]",
"appTypeDef": {
"MultiTenant": {
"tenantId": "",
"msiResourceId": "",
"identity": { "type": "None" }
},
"SingleTenant": {
"tenantId": "[parameters('tenantId')]",
"msiResourceId": "",
"identity": { "type": "None" }
},
"UserAssignedMSI": {
"tenantId": "[parameters('tenantId')]",
"msiResourceId": "[variables('msiResourceId')]",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"[variables('msiResourceId')]": {}
}
}
}
},
"appType": {
"tenantId": "[variables('appTypeDef')[parameters('appType')].tenantId]",
"msiResourceId": "[variables('appTypeDef')[parameters('appType')].msiResourceId]",
"identity": "[variables('appTypeDef')[parameters('appType')].identity]"
}
},
"resources": [
{
"comments": "Create a new App Service Plan if no existing App Service Plan name was passed in.",
"type": "Microsoft.Web/serverfarms",
"condition": "[not(variables('useExistingAppServicePlan'))]",
"name": "[variables('servicePlanName')]",
"apiVersion": "2018-02-01",
"location": "[variables('resourcesLocation')]",
"sku": "[parameters('newAppServicePlanSku')]",
"properties": {
"name": "[variables('servicePlanName')]"
}
},
{
"comments": "Create a Web App using an App Service Plan",
"type": "Microsoft.Web/sites",
"apiVersion": "2015-08-01",
"location": "[variables('resourcesLocation')]",
"kind": "app",
"dependsOn": [
"[resourceId('Microsoft.Web/serverfarms', variables('servicePlanName'))]"
],
"name": "[variables('webAppName')]",
"identity": "[variables('appType').identity]",
"properties": {
"name": "[variables('webAppName')]",
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('servicePlanName'))]",
"siteConfig": {
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "10.14.1"
},
{
"name": "MicrosoftAppType",
"value": "[parameters('appType')]"
},
{
"name": "MicrosoftAppId",
"value": "[parameters('appId')]"
},
{
"name": "MicrosoftAppPassword",
"value": "[parameters('appSecret')]"
},
{
"name": "MicrosoftAppTenantId",
"value": "[variables('appType').tenantId]"
}
],
"cors": {
"allowedOrigins": [
"https://botservice.hosting.portal.azure.net",
"https://hosting.onecloud.azure-test.net/"
]
}
}
}
},
{
"apiVersion": "2021-03-01",
"type": "Microsoft.BotService/botServices",
"name": "[parameters('botId')]",
"location": "global",
"kind": "azurebot",
"sku": {
"name": "[parameters('botSku')]"
},
"properties": {
"name": "[parameters('botId')]",
"displayName": "[parameters('botId')]",
"iconUrl": "https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png",
"endpoint": "[variables('botEndpoint')]",
"msaAppId": "[parameters('appId')]",
"msaAppTenantId": "[variables('appType').tenantId]",
"msaAppMSIResourceId": "[variables('appType').msiResourceId]",
"msaAppType": "[parameters('appType')]",
"luisAppIds": [],
"schemaTransformationVersion": "1.3",
"isCmekEnabled": false,
"isIsolated": false
},
"dependsOn": [
"[resourceId('Microsoft.Web/sites/', variables('webAppName'))]"
]
}
]
}

Просмотреть файл

@ -0,0 +1,81 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// index.js is used to setup and configure your bot
// Import required packages
const path = require('path');
// Note: Ensure you have a .env file and include QnAMakerKnowledgeBaseId, QnAMakerEndpointKey and QnAMakerHost.
const ENV_FILE = path.join(__dirname, '.env');
require('dotenv').config({ path: ENV_FILE });
const restify = require('restify');
// Import required bot services.
// See https://aka.ms/bot-services to learn more about the different parts of a bot.
const {
ActivityTypes,
CloudAdapter,
ConfigurationServiceClientCredentialFactory,
createBotFrameworkAuthenticationFromConfiguration
} = require('botbuilder');
// The bot.
const { CustomQABot } = require('./bots/CustomQABot');
const credentialsFactory = new ConfigurationServiceClientCredentialFactory({
MicrosoftAppId: process.env.MicrosoftAppId,
MicrosoftAppPassword: process.env.MicrosoftAppPassword,
MicrosoftAppType: process.env.MicrosoftAppType,
MicrosoftAppTenantId: process.env.MicrosoftAppTenantId
});
const botFrameworkAuthentication = createBotFrameworkAuthenticationFromConfiguration(null, credentialsFactory);
// Create adapter.
// See https://aka.ms/about-bot-adapter to learn more about adapters.
const adapter = new CloudAdapter(botFrameworkAuthentication);
// Catch-all for errors.
adapter.onTurnError = async (context, error) => {
// Create a trace activity that contains the error object
const traceActivity = {
type: ActivityTypes.Trace,
timestamp: new Date(),
name: 'onTurnError Trace',
label: 'TurnError',
value: `${ error }`,
valueType: 'https://www.botframework.com/schemas/error'
};
// This check writes out errors to console log .vs. app insights.
// NOTE: In production environment, you should consider logging this to Azure
// application insights. See https://aka.ms/bottelemetry for telemetry
// configuration instructions.
console.error(`\n [onTurnError] unhandled error: ${ error }`);
// Send a trace activity, which will be displayed in Bot Framework Emulator
await context.sendActivity(traceActivity);
// Send a message to the user
await context.sendActivity('The bot encountered an error or bug.');
await context.sendActivity('To continue to run this bot, please fix the bot source code.');
};
// Create the main dialog.
const bot = new CustomQABot();
// Create HTTP server
const server = restify.createServer();
server.use(restify.plugins.bodyParser());
server.listen(process.env.port || process.env.PORT || 3978, function() {
console.log(`\n${ server.name } listening to ${ server.url }`);
console.log('\nGet Bot Framework Emulator: https://aka.ms/botframework-emulator');
});
// Listen for incoming activities and route them to your bot main dialog.
server.post('/api/messages', async (req, res) => {
// Route received a request to adapter for processing
await adapter.process(req, res, (context) => bot.run(context));
});

Просмотреть файл

@ -0,0 +1,33 @@
{
"name": "qnamaker",
"version": "1.0.0",
"description": "Bot Builder v4 using Custom Question Answering in Language",
"author": "Microsoft",
"license": "MIT",
"main": "index.js",
"scripts": {
"start": "node ./index.js",
"watch": "nodemon ./index.js",
"lint": "eslint .",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.16.0",
"botbuilder-ai": "~4.16.0",
"dotenv": "^8.2.0",
"restify": "~8.6.0"
},
"devDependencies": {
"eslint": "^7.0.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}

Просмотреть файл

@ -17,10 +17,10 @@
},
"dependencies": {
"@microsoft/recognizers-text-data-types-timex-expression": "1.1.4",
"botbuilder": "~4.15.0",
"botbuilder-ai": "~4.15.0",
"botbuilder-dialogs": "~4.15.0",
"botbuilder-testing": "~4.15.0",
"botbuilder": "~4.16.0",
"botbuilder-ai": "~4.16.0",
"botbuilder-dialogs": "~4.16.0",
"botbuilder-testing": "~4.16.0",
"dotenv": "^8.2.0",
"moment-timezone": "~0.5.33",
"restify": "~8.6.0"

Просмотреть файл

@ -16,11 +16,11 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.15.0",
"botbuilder-ai": "~4.15.0",
"botbuilder-ai-orchestrator": "~4.15.0",
"botbuilder-azure": "~4.15.0",
"botbuilder-dialogs": "~4.15.0",
"botbuilder": "~4.16.0",
"botbuilder-ai": "~4.16.0",
"botbuilder-ai-orchestrator": "~4.16.0",
"botbuilder-azure": "~4.16.0",
"botbuilder-dialogs": "~4.16.0",
"dotenv": "^8.2.0",
"restify": "~8.6.0"
},

Просмотреть файл

@ -17,7 +17,7 @@
},
"dependencies": {
"axios": "^0.21.2",
"botbuilder": "~4.15.0",
"botbuilder": "~4.16.0",
"dotenv": "^8.2.0",
"restify": "~8.6.0"
},

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше