Skip to content

Commit

Permalink
Change instances of "Copilot Chat" to "Chat Copilot" (microsoft#639)
Browse files Browse the repository at this point in the history
### Motivation and Context
Chat Copilot used to be called Copilot Chat.

### Description
Change strings to reflect new reality

### Contribution Checklist
- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
  • Loading branch information
glahaye authored Nov 20, 2023
1 parent 55e2a86 commit 82e039d
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions memorypipeline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

### Memory

One of the exciting features of the Copilot Chat App is its ability to store contextual information
One of the exciting features of the Chat Copilot App is its ability to store contextual information
to [memories](https://github.com/microsoft/semantic-kernel/blob/main/docs/EMBEDDINGS.md) and retrieve
relevant information from memories to provide more meaningful answers to users through out the conversations.

Memories can be generated from conversations as well as imported from external sources, such as documents.
Importing documents enables Copilot Chat to have up-to-date knowledge of specific contexts, such as enterprise and personal data.
Importing documents enables Chat Copilot to have up-to-date knowledge of specific contexts, such as enterprise and personal data.

### Memory pipeline in Chat Copilot

Expand Down
4 changes: 2 additions & 2 deletions tools/importdocument/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace ImportDocument;

/// <summary>
/// This console app imports a list of files to the CopilotChat WebAPI document memory store.
/// This console app imports a list of files to Chat Copilot's WebAPI document memory store.
/// </summary>
public static class Program
{
Expand All @@ -39,7 +39,7 @@ public static void Main(string[] args)
);

var rootCommand = new RootCommand(
"This console app imports files to the CopilotChat WebAPI's document memory store."
"This console app imports files to Chat Copilot's WebAPI document memory store."
)
{
filesOption,
Expand Down
4 changes: 2 additions & 2 deletions tools/importdocument/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
> **!IMPORTANT**
> This sample is for educational purposes only and is not recommended for production deployments.
One of the exciting features of the Copilot Chat App is its ability to store contextual information
One of the exciting features of the Chat Copilot App is its ability to store contextual information
to [memories](https://github.com/microsoft/semantic-kernel/blob/main/docs/EMBEDDINGS.md) and retrieve
relevant information from memories to provide more meaningful answers to users through out the conversations.

Memories can be generated from conversations as well as imported from external sources, such as documents.
Importing documents enables Copilot Chat to have up-to-date knowledge of specific contexts, such as enterprise and personal data.
Importing documents enables Chat Copilot to have up-to-date knowledge of specific contexts, such as enterprise and personal data.


## Running the app against a local Chat Copilot instance
Expand Down
4 changes: 2 additions & 2 deletions webapi/Extensions/ServiceExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public static IServiceCollection AddPersistentChatStore(this IServiceCollection
/// <summary>
/// Add authorization services
/// </summary>
public static IServiceCollection AddCopilotChatAuthorization(this IServiceCollection services)
public static IServiceCollection AddChatCopilotAuthorization(this IServiceCollection services)
{
return services.AddScoped<IAuthorizationHandler, ChatParticipantAuthorizationHandler>()
.AddAuthorizationCore(options =>
Expand All @@ -275,7 +275,7 @@ public static IServiceCollection AddCopilotChatAuthorization(this IServiceCollec
/// <summary>
/// Add authentication services
/// </summary>
public static IServiceCollection AddCopilotChatAuthentication(this IServiceCollection services, IConfiguration configuration)
public static IServiceCollection AddChatCopilotAuthentication(this IServiceCollection services, IConfiguration configuration)
{
services.AddScoped<IAuthInfo, AuthInfo>();
var config = services.BuildServiceProvider().GetRequiredService<IOptions<ChatAuthenticationOptions>>().Value;
Expand Down
2 changes: 1 addition & 1 deletion webapi/Options/ServiceOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace CopilotChat.WebApi.Options;

/// <summary>
/// Configuration options for the CopilotChat service.
/// Configuration options for the Chat Copilot service.
/// </summary>
public class ServiceOptions
{
Expand Down
2 changes: 1 addition & 1 deletion webapi/Plugins/Chat/ExternalInformationPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class ExternalInformationPlugin
private readonly PromptsOptions _promptOptions;

/// <summary>
/// CopilotChat's planner to gather additional information for the chat context.
/// Chat Copilot's planner to gather additional information for the chat context.
/// </summary>
private readonly CopilotChatPlanner _planner;

Expand Down
4 changes: 2 additions & 2 deletions webapi/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ public static async Task Main(string[] args)
.AddPersistentChatStore()
.AddPlugins(builder.Configuration)
.AddUtilities()
.AddCopilotChatAuthentication(builder.Configuration)
.AddCopilotChatAuthorization();
.AddChatCopilotAuthentication(builder.Configuration)
.AddChatCopilotAuthorization();

// Configure and add semantic services
builder
Expand Down
2 changes: 1 addition & 1 deletion webapi/Services/AzureContentSafety.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public record ImageAnalysisRequest(
/// </summary>
public sealed class AzureContentSafety : IContentSafetyService
{
private const string HttpUserAgent = "Copilot Chat";
private const string HttpUserAgent = "Chat Copilot";

private readonly string _endpoint;
private readonly HttpClient _httpClient;
Expand Down

0 comments on commit 82e039d

Please sign in to comment.