diff --git a/lib/ai/chat_test.go b/lib/ai/chat_test.go index c1673d25ad88a..19aacd5be2368 100644 --- a/lib/ai/chat_test.go +++ b/lib/ai/chat_test.go @@ -128,7 +128,7 @@ func TestChat_Complete(t *testing.T) { require.NoError(t, err) expectedResp := &Message{Role: "assistant", - Content: "Hey, I'm Teleport - a powerful tool that can assist you in managing your Teleport cluster via ChatGPT.", + Content: "Hey, I'm Teleport - a powerful tool that can assist you in managing your Teleport cluster via OpenAI GPT-4.", Idx: 0, } require.Equal(t, expectedResp, msg) diff --git a/lib/ai/prompt.go b/lib/ai/prompt.go index 3dfd23fbe53a6..df3b46dffd5d5 100644 --- a/lib/ai/prompt.go +++ b/lib/ai/prompt.go @@ -21,7 +21,7 @@ import "fmt" const promptSummarizeTitle = `You will be given a message. Create a short summary of that message. Respond only with summary, nothing else.` -const initialAIResponse = `Hey, I'm Teleport - a powerful tool that can assist you in managing your Teleport cluster via ChatGPT.` +const initialAIResponse = `Hey, I'm Teleport - a powerful tool that can assist you in managing your Teleport cluster via OpenAI GPT-4.` const promptExtractInstruction = `If the input is a request to complete a task on a server, try to extract the following information: - A Linux shell command diff --git a/web/packages/design/src/SVGIcon/ChatGPT.tsx b/web/packages/design/src/SVGIcon/OpenAI.tsx similarity index 97% rename from web/packages/design/src/SVGIcon/ChatGPT.tsx rename to web/packages/design/src/SVGIcon/OpenAI.tsx index 15b5a8e127a7b..c36e4f8755130 100644 --- a/web/packages/design/src/SVGIcon/ChatGPT.tsx +++ b/web/packages/design/src/SVGIcon/OpenAI.tsx @@ -20,7 +20,7 @@ import { SVGIcon } from 'design/SVGIcon/SVGIcon'; import type { SVGIconProps } from './common'; -export function ChatGPTIcon({ size = 20, fill }: SVGIconProps) { +export function OpenAIIcon({ size = 20, fill }: SVGIconProps) { return ( diff --git a/web/packages/design/src/SVGIcon/index.ts b/web/packages/design/src/SVGIcon/index.ts index b26c3fd92951c..e8b56b7a6279b 100644 --- a/web/packages/design/src/SVGIcon/index.ts +++ b/web/packages/design/src/SVGIcon/index.ts @@ -21,7 +21,6 @@ export { ApplicationsIcon } from './Applications'; export { AuditLogIcon } from './AuditLog'; export { AuthConnectorsIcon } from './AuthConnectors'; export { AWSIcon } from './AWS'; -export { ChatGPTIcon } from './ChatGPT'; export { ChatIcon } from './Chat'; export { ChevronRightIcon } from './ChevronRight'; export { ChevronDownIcon } from './ChevronDown'; @@ -37,6 +36,7 @@ export { LabelIcon } from './Label'; export { LockIcon } from './Lock'; export { LogoutIcon } from './Logout'; export { ManageClustersIcon } from './ManageClusters'; +export { OpenAIIcon } from './OpenAI'; export { PlusIcon } from './Plus'; export { RemoteCommandIcon } from './RemoteCommand'; export { RolesIcon } from './Roles'; diff --git a/web/packages/teleport/src/Assist/Chat/ChatItem/ChatItem.tsx b/web/packages/teleport/src/Assist/Chat/ChatItem/ChatItem.tsx index 8b70a79f1510c..7475f09577789 100644 --- a/web/packages/teleport/src/Assist/Chat/ChatItem/ChatItem.tsx +++ b/web/packages/teleport/src/Assist/Chat/ChatItem/ChatItem.tsx @@ -300,7 +300,8 @@ export function ExampleChatItem() { Hey {ctx.storeUser.state.username}, I'm Teleport - a powerful tool that - can assist you in managing your Teleport cluster via ChatGPT.
+ can assist you in managing your Teleport cluster via OpenAI GPT-4. +

Start a new chat with me on the left to get started! Here's some of the things I can do: diff --git a/web/packages/teleport/src/Navigation/NavigationSwitcher.tsx b/web/packages/teleport/src/Navigation/NavigationSwitcher.tsx index c04913606e35b..d8fceb9c26636 100644 --- a/web/packages/teleport/src/Navigation/NavigationSwitcher.tsx +++ b/web/packages/teleport/src/Navigation/NavigationSwitcher.tsx @@ -20,7 +20,7 @@ import styled, { useTheme } from 'styled-components'; import { ChevronDownIcon } from 'design/SVGIcon/ChevronDown'; import { useLocalStorage } from 'shared/hooks/useLocalStorage'; -import { ChatGPTIcon } from 'design/SVGIcon/ChatGPT'; +import { OpenAIIcon } from 'design/SVGIcon/OpenAI'; import { useHistory, useLocation } from 'react-router'; @@ -295,10 +295,11 @@ export function NavigationSwitcher(props: NavigationSwitcherProps) { New! {' '} - Connect Teleport to ChatGPT and try out our new Assist integration + Connect Teleport to OpenAI GPT-4 and try out our new Assist + integration - + +