update ChatGPT-App

This commit is contained in:
João Mendes 2023-03-02 19:45:09 +00:00
parent a27cb05c46
commit 0ea049f9a3
2 changed files with 1 additions and 4 deletions

View File

@ -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) {

View File

@ -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",