Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aacebo committed Jan 9, 2024
1 parent 590cc1c commit 952fe43
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
17 changes: 10 additions & 7 deletions js/packages/teams-ai/src/Application.spec.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import { strict as assert } from 'assert';
import { Activity, ActivityTypes, Channels, CloudAdapter, MemoryStorage, MessageReactionTypes, TestAdapter } from 'botbuilder';
import {
Application,
ConversationUpdateEvents,
MessageReactionEvents,
TeamsMessageEvents
} from './Application';
Activity,
ActivityTypes,
Channels,
CloudAdapter,
MemoryStorage,
MessageReactionTypes,
TestAdapter
} from 'botbuilder';
import { Application, ConversationUpdateEvents, MessageReactionEvents, TeamsMessageEvents } from './Application';
import { AdaptiveCardsOptions } from './AdaptiveCards';
import { AIOptions } from './AI';
import { TaskModulesOptions } from './TaskModules';
Expand Down Expand Up @@ -69,7 +72,7 @@ describe('Application', () => {

describe('botAuthentication', () => {
const app = new Application({
botAuthentication: { }
botAuthentication: {}
});

it('should initialize `CloudAdapter`', () => {
Expand Down
2 changes: 1 addition & 1 deletion js/packages/teams-ai/src/Application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export interface ApplicationOptions<TState extends TurnState> {
botAppId?: string;

/**
* Optional. Bot authentication configuration
* Optional. Bot authentication configuration for initializing the bot adapter
*/
botAuthentication?: {
botFrameworkAuthConfig?: ConfigurationBotFrameworkAuthenticationOptions;
Expand Down
4 changes: 2 additions & 2 deletions js/samples/04.ai.a.teamsChefBot/src/VectraDataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ export class VectraDataSource implements DataSource {
const embeddings = new OpenAIEmbeddings({
model: 'text-embedding-ada-002',
apiKey: options.apiKey,

// Azure OpenAI Support
azureApiKey: options.azureApiKey,
azureDeployment: 'embedding',
azureEndpoint: options.azureEndpoint,
azureEndpoint: options.azureEndpoint
});

// Create local index
Expand Down

0 comments on commit 952fe43

Please sign in to comment.