File tree 4 files changed +14
-1
lines changed
4 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 15
15
"default" : " js-character-generator" ,
16
16
"options" : {
17
17
"js-character-generator" : " Simple Character Generator" ,
18
+ "js-chatbot" : " A chatbot using Vertex and Llama 3.1 or Gemini Flash" ,
18
19
"js-coffee-shop" : " Coffeeshop w Several types of Prompt" ,
19
20
"js-schoolAgent" : " A Multi-Agent School Assistant" ,
20
21
"js-prompts" : " A sample with various prompt styles" ,
Original file line number Diff line number Diff line change 67
67
},
68
68
"serve" : {
69
69
"builder" : " @angular-devkit/build-angular:dev-server" ,
70
+ "options" : {
71
+ "proxyConfig" : " proxy.conf.json"
72
+ },
70
73
"configurations" : {
71
74
"production" : {
72
75
"buildTarget" : " genkit-app:build:production"
Original file line number Diff line number Diff line change
1
+ {
2
+ "/chatbotFlow" : {
3
+ "target" : " http://localhost:3400/" ,
4
+ "secure" : false ,
5
+ "logLevel" : " debug"
6
+ }
7
+ }
Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ import { MatRadioModule } from '@angular/material/radio';
33
33
import { streamFlow } from 'genkit/beta/client' ;
34
34
import { MarkdownModule } from 'ngx-markdown' ;
35
35
36
- const url = 'http://127.0.0.1:3400/chatbotFlow' ;
36
+ // This sample uses an angular proxy to connect to the flow
37
+ // see the config in genkit-app/proxy.conf.json
38
+ const url = '/chatbotFlow' ;
37
39
38
40
interface ToolResponse {
39
41
name : string ;
You can’t perform that action at this time.
0 commit comments