update ChatGPT-App
This commit is contained in:
parent
a27cb05c46
commit
0ea049f9a3
|
@ -8,9 +8,6 @@ import {
|
|||
IHttpClientOptions,
|
||||
} from '@microsoft/sp-http';
|
||||
|
||||
/* const APPID = "6b4a20b2-bf2f-4cbb-a162-af960a40c2dc";
|
||||
const AZURE_FUNCTION_URL = "https://openaifunctionsapp.azurewebsites.net/api/OpenAICompletion"; */
|
||||
|
||||
export const useChatGpt = (context: BaseComponentContext, appId: string, AzureFunctionUrl: string) => {
|
||||
const client = React.useMemo(() => {
|
||||
if (context) {
|
||||
|
|
|
@ -3,7 +3,7 @@ define([], function() {
|
|||
CgatGPTAppOpenAILabel: " Open AI",
|
||||
ChatGPTAppNotificationMessage: "Answer was sent to chat",
|
||||
ChatGPTAppNotificationTitle: "Sent to chat",
|
||||
ChatGPTAppPoweredByLabel: "Powered by OpenAI, GPT-3",
|
||||
ChatGPTAppPoweredByLabel: "Powered by OpenAI, ChatGPT-3.5-turbo",
|
||||
ChatGPTAppPreviewChatInfoMessage: " Please create a mesage first and after return here",
|
||||
PropertyPaneDescription: "ChatGPT App",
|
||||
BasicGroupName: "Properties",
|
||||
|
|
Loading…
Reference in New Issue