From f3e26706191536b677a73a51a83a775e11ce1a56 Mon Sep 17 00:00:00 2001 From: Artur Date: Mon, 21 Oct 2024 20:14:44 +0200 Subject: [PATCH] https://ai.arti24.eu/chatgpt/ask --- src/app/chat-gpt/service/ai-api.service.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/chat-gpt/service/ai-api.service.ts b/src/app/chat-gpt/service/ai-api.service.ts index c9411d6..f1de594 100644 --- a/src/app/chat-gpt/service/ai-api.service.ts +++ b/src/app/chat-gpt/service/ai-api.service.ts @@ -9,10 +9,11 @@ import { Sentence } from './chats'; }) export class AiApiService { - private aiApiUrl = 'http://127.0.0.1:5001/chatgpt/ask'; + private aiApiUrl ="https://ai.arti24.eu/chatgpt/ask"; + // private aiApiUrl = 'http://localhost:5001/chatgpt/ask'; // private aiApiUrl = 'http://127.0.0.1:8801/chatgpt/ask'; // private aiApiUrl = 'http://127.0.0.1:8801/chatgpt/ask'; - + // private aiApiUrl ="http://localhost:5001/chatgpt/ask"; constructor(private http: HttpClient) { } ask(question: Sentence ) : Observable{