Commit 929761d
committed
deploy: feat(embeddingModel): Add Backend API selection fields (googleapis#2592)
Allow users to use both VertexAI and Google AI as gemini embedding model
backend.
- Use ADC for VertexAI authentication (either configure `project` and
`location` inside the yaml file or as env vars).
- Use API key for Google AI authentication. 912aa9e1 parent 7de043f commit 929761d
File tree
33 files changed
+99
-67
lines changed- dev
- documentation/configuration/embedding-models
- gemini
- integrations/mongodb/tools
- mongodb-find-one
- pagefind
- fragment
- index
33 files changed
+99
-67
lines changedLines changed: 22 additions & 12 deletions
Large diffs are not rendered by default.
Lines changed: 4 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 11 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4140 | 4140 | | |
4141 | 4141 | | |
4142 | 4142 | | |
4143 | | - | |
4144 | | - | |
4145 | | - | |
4146 | | - | |
4147 | | - | |
4148 | | - | |
4149 | | - | |
4150 | | - | |
4151 | | - | |
4152 | | - | |
4153 | | - | |
4154 | | - | |
4155 | | - | |
| 4143 | + | |
| 4144 | + | |
| 4145 | + | |
| 4146 | + | |
| 4147 | + | |
| 4148 | + | |
| 4149 | + | |
| 4150 | + | |
| 4151 | + | |
| 4152 | + | |
| 4153 | + | |
4156 | 4154 | | |
4157 | 4155 | | |
4158 | 4156 | | |
| |||
7417 | 7415 | | |
7418 | 7416 | | |
7419 | 7417 | | |
7420 | | - | |
| 7418 | + | |
7421 | 7419 | | |
7422 | 7420 | | |
7423 | 7421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
| 509 | + | |
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
| 513 | + | |
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
3027 | 3027 | | |
3028 | 3028 | | |
3029 | 3029 | | |
| 3030 | + | |
3030 | 3031 | | |
3031 | 3032 | | |
3032 | 3033 | | |
| |||
3046 | 3047 | | |
3047 | 3048 | | |
3048 | 3049 | | |
| 3050 | + | |
3049 | 3051 | | |
3050 | 3052 | | |
3051 | 3053 | | |
| |||
3078 | 3080 | | |
3079 | 3081 | | |
3080 | 3082 | | |
3081 | | - | |
3082 | | - | |
3083 | | - | |
| 3083 | + | |
3084 | 3084 | | |
3085 | | - | |
3086 | | - | |
| 3085 | + | |
| 3086 | + | |
| 3087 | + | |
| 3088 | + | |
| 3089 | + | |
| 3090 | + | |
3087 | 3091 | | |
3088 | | - | |
3089 | | - | |
| 3092 | + | |
| 3093 | + | |
3090 | 3094 | | |
3091 | 3095 | | |
3092 | 3096 | | |
| |||
3106 | 3110 | | |
3107 | 3111 | | |
3108 | 3112 | | |
3109 | | - | |
3110 | | - | |
| 3113 | + | |
| 3114 | + | |
3111 | 3115 | | |
3112 | 3116 | | |
3113 | | - | |
| 3117 | + | |
3114 | 3118 | | |
3115 | 3119 | | |
3116 | 3120 | | |
| 3121 | + | |
| 3122 | + | |
| 3123 | + | |
| 3124 | + | |
| 3125 | + | |
3117 | 3126 | | |
3118 | 3127 | | |
3119 | 3128 | | |
| |||
3123 | 3132 | | |
3124 | 3133 | | |
3125 | 3134 | | |
3126 | | - | |
3127 | | - | |
3128 | | - | |
| 3135 | + | |
| 3136 | + | |
| 3137 | + | |
| 3138 | + | |
| 3139 | + | |
| 3140 | + | |
| 3141 | + | |
| 3142 | + | |
| 3143 | + | |
| 3144 | + | |
| 3145 | + | |
| 3146 | + | |
| 3147 | + | |
| 3148 | + | |
| 3149 | + | |
| 3150 | + | |
| 3151 | + | |
| 3152 | + | |
| 3153 | + | |
3129 | 3154 | | |
3130 | 3155 | | |
3131 | 3156 | | |
3132 | 3157 | | |
3133 | | - | |
3134 | | - | |
3135 | | - | |
3136 | | - | |
3137 | | - | |
3138 | | - | |
| 3158 | + | |
| 3159 | + | |
| 3160 | + | |
| 3161 | + | |
| 3162 | + | |
3139 | 3163 | | |
3140 | 3164 | | |
3141 | 3165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Binary file not shown.
Binary file not shown.
0 commit comments