MCPcopy Index your code
hub / github.com/Effect-TS/effect / model

Function model

packages/ai/google/src/GoogleLanguageModel.ts:169–173  ·  view source on GitHub ↗
(
  model: (string & {}) | Model,
  config?: Omit<Config.Service, "model">
)

Source from the content-addressed store, hash-verified

167 * @category AiModel
168 */
169export const model = (
170 model: (string & {}) | Model,
171 config?: Omit<Config.Service, "model">
172): AiModel.Model<"google", LanguageModel.LanguageModel, GoogleClient> =>
173 AiModel.make("google", layer({ model, config }))
174
175/**
176 * @since 1.0.0

Callers

nothing calls this directly

Calls 2

layerFunction · 0.70
makeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…