You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/collections/configure/generative.ts
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
import{
2
2
GenerativeAWSConfig,
3
+
GenerativeAnthropicConfig,
3
4
GenerativeAnyscaleConfig,
4
5
GenerativeAzureOpenAIConfig,
5
6
GenerativeCohereConfig,
@@ -12,6 +13,7 @@ import {
12
13
}from'../config/types/index.js';
13
14
import{
14
15
GenerativeAWSConfigCreate,
16
+
GenerativeAnthropicConfigCreate,
15
17
GenerativeAnyscaleConfigCreate,
16
18
GenerativeAzureOpenAIConfigCreate,
17
19
GenerativeCohereConfigCreate,
@@ -23,12 +25,28 @@ import {
23
25
}from'../index.js';
24
26
25
27
exportdefault{
28
+
/**
29
+
* Create a `ModuleConfig<'generative-anthropic', GenerativeAnthropicConfig | undefined>` object for use when performing AI generation using the `generative-anthropic` module.
30
+
*
31
+
* See the [documentation](https://weaviate.io/developers/weaviate/modules/reader-generator-modules/generative-anthropic) for detailed usage.
32
+
*
33
+
* @param {GenerativeAnthropicConfigCreate} [config] The configuration for the `generative-anthropic` module.
34
+
* @returns {ModuleConfig<'generative-anthropic', GenerativeAnthropicConfig | undefined>} The configuration object.
* Create a `ModuleConfig<'generative-anyscale', GenerativeAnyscaleConfig | undefined>` object for use when performing AI generation using the `generative-anyscale` module.
28
46
*
29
47
* See the [documentation](https://weaviate.io/developers/weaviate/modules/reader-generator-modules/generative-anyscale) for detailed usage.
30
48
*
31
-
* @param {GenerativeAnyscaleConfigCreate} config The configuration for the `generative-aws` module.
49
+
* @param {GenerativeAnyscaleConfigCreate} [config] The configuration for the `generative-aws` module.
32
50
* @returns {ModuleConfig<'generative-anyscale', GenerativeAnyscaleConfig | undefined>} The configuration object.
0 commit comments