Function
layer
(options: {
readonly model: (string & {}) | Model
readonly config?: Omit<Config.Service, "model">
})
Source from the content-addressed store, hash-verified
| 305 | * @category Layers |
| 306 | */ |
| 307 | export const layer = (options: { |
| 308 | readonly model: (string & {}) | Model |
| 309 | readonly config?: Omit<Config.Service, "model"> |
| 310 | }): Layer.Layer<LanguageModel.LanguageModel, never, AmazonBedrockClient> => |
| 311 | Layer.effect(LanguageModel.LanguageModel, make({ model: options.model, config: options.config })) |
| 312 | |
| 313 | /** |
| 314 | * @since 1.0.0 |
Tested by
no test coverage detected