1import * as Alchemy from "alchemy";
2import * as GCP from "alchemy/GCP";
3import * as Effect from "effect/Effect";
4import Chat from "./src/Chat.ts";
5
6export default Alchemy.Stack(
7 "GcpVertexAiExample",
8 { providers: GCP.providers(), state: Alchemy.localState() },
9 Effect.gen(function* () {
10 const chat = yield* Chat;
11 return {
12 url: chat.uri,
13 serviceName: chat.name,
14 serviceAccount: chat.serviceAccount,
15 };
16 }),
17);