Oviya commited on
Commit ·
b3c38f1
1
Parent(s): d45d678
latest
Browse files13 unmodified lines1415161718192021222313 unmodified linesconstructor(private http: HttpClient) { }start(body = { n_questions: 10, batch_size: 5, domain: 'marriage' }) {return this.http.post<any>(`${this.base}/q/start`, body);}next(session_id: string, selected_color: 'blue' | 'green' | 'red' | 'yellow') {return this.http.post<any>(`${this.base}/q/next`, { session_id, selected_color });}}13 unmodified lines1415161718192021222313 unmodified linesconstructor(private http: HttpClient) { }start(body = { n_questions: 10, batch_size: 5, domain: 'marriage' }) {return this.http.post<any>(`${this.base}/llm/start`, body);}next(session_id: string, selected_color: 'blue' | 'green' | 'red' | 'yellow') {return this.http.post<any>(`${this.base}/llm/next`, { session_id, selected_color });}}
src/app/api.service.ts+2-2