Chat component and service coverage

This commit is contained in:
shamoon
2025-04-26 00:25:33 -07:00
parent 96fa522394
commit 5195a97e4c
4 changed files with 193 additions and 9 deletions

View File

@@ -20,7 +20,6 @@ export class ChatService {
constructor(private http: HttpClient) {}
streamChat(documentId: number, prompt: string): Observable<string> {
// use httpclient as we have withFetch
return this.http
.post(
`${environment.apiBaseUrl}documents/chat/`,