| 
8 | 8 |   GenerativeFriendliAIConfig,  | 
9 | 9 |   GenerativeGoogleConfig,  | 
10 | 10 |   GenerativeMistralConfig,  | 
11 |  | -  GenerativeOctoAIConfig,  | 
12 | 11 |   GenerativeOllamaConfig,  | 
13 | 12 |   GenerativeOpenAIConfig,  | 
14 | 13 |   ModuleConfig,  | 
@@ -1098,45 +1097,6 @@ describe('Unit testing of the vectorizer factory class', () => {  | 
1098 | 1097 |     });  | 
1099 | 1098 |   });  | 
1100 | 1099 | 
 
  | 
1101 |  | -  it('should create the correct Text2VecOctoAIConfig type with defaults', () => {  | 
1102 |  | -    const config = configure.vectorizer.text2VecOctoAI();  | 
1103 |  | -    expect(config).toEqual<VectorConfigCreate<never, undefined, 'hnsw', 'text2vec-octoai'>>({  | 
1104 |  | -      name: undefined,  | 
1105 |  | -      vectorIndex: {  | 
1106 |  | -        name: 'hnsw',  | 
1107 |  | -        config: undefined,  | 
1108 |  | -      },  | 
1109 |  | -      vectorizer: {  | 
1110 |  | -        name: 'text2vec-octoai',  | 
1111 |  | -        config: undefined,  | 
1112 |  | -      },  | 
1113 |  | -    });  | 
1114 |  | -  });  | 
1115 |  | - | 
1116 |  | -  it('should create the correct Text2VecOctoAIConfig type with all values', () => {  | 
1117 |  | -    const config = configure.vectorizer.text2VecOctoAI({  | 
1118 |  | -      name: 'test',  | 
1119 |  | -      baseURL: 'base-url',  | 
1120 |  | -      model: 'model',  | 
1121 |  | -      vectorizeCollectionName: true,  | 
1122 |  | -    });  | 
1123 |  | -    expect(config).toEqual<VectorConfigCreate<never, 'test', 'hnsw', 'text2vec-octoai'>>({  | 
1124 |  | -      name: 'test',  | 
1125 |  | -      vectorIndex: {  | 
1126 |  | -        name: 'hnsw',  | 
1127 |  | -        config: undefined,  | 
1128 |  | -      },  | 
1129 |  | -      vectorizer: {  | 
1130 |  | -        name: 'text2vec-octoai',  | 
1131 |  | -        config: {  | 
1132 |  | -          baseURL: 'base-url',  | 
1133 |  | -          model: 'model',  | 
1134 |  | -          vectorizeCollectionName: true,  | 
1135 |  | -        },  | 
1136 |  | -      },  | 
1137 |  | -    });  | 
1138 |  | -  });  | 
1139 |  | - | 
1140 | 1100 |   it('should create the correct Text2VecOllamaConfig type with defaults', () => {  | 
1141 | 1101 |     const config = configure.vectorizer.text2VecOllama();  | 
1142 | 1102 |     expect(config).toEqual<VectorConfigCreate<never, undefined, 'hnsw', 'text2vec-ollama'>>({  | 
@@ -1619,32 +1579,6 @@ describe('Unit testing of the generative factory class', () => {  | 
1619 | 1579 |     });  | 
1620 | 1580 |   });  | 
1621 | 1581 | 
 
  | 
1622 |  | -  it('should create the correct GenerativeOctoAIConfig type with required & default values', () => {  | 
1623 |  | -    const config = configure.generative.octoai();  | 
1624 |  | -    expect(config).toEqual<ModuleConfig<'generative-octoai', GenerativeOctoAIConfig | undefined>>({  | 
1625 |  | -      name: 'generative-octoai',  | 
1626 |  | -      config: undefined,  | 
1627 |  | -    });  | 
1628 |  | -  });  | 
1629 |  | - | 
1630 |  | -  it('should create the correct GenerativeOctoAIConfig type with all values', () => {  | 
1631 |  | -    const config = configure.generative.octoai({  | 
1632 |  | -      baseURL: 'base-url',  | 
1633 |  | -      maxTokens: 100,  | 
1634 |  | -      model: 'model',  | 
1635 |  | -      temperature: 0.5,  | 
1636 |  | -    });  | 
1637 |  | -    expect(config).toEqual<ModuleConfig<'generative-octoai', GenerativeOctoAIConfig | undefined>>({  | 
1638 |  | -      name: 'generative-octoai',  | 
1639 |  | -      config: {  | 
1640 |  | -        baseURL: 'base-url',  | 
1641 |  | -        maxTokens: 100,  | 
1642 |  | -        model: 'model',  | 
1643 |  | -        temperature: 0.5,  | 
1644 |  | -      },  | 
1645 |  | -    });  | 
1646 |  | -  });  | 
1647 |  | - | 
1648 | 1582 |   it('should create the correct GenerativeOllamaConfig type with required & default values', () => {  | 
1649 | 1583 |     const config = configure.generative.ollama();  | 
1650 | 1584 |     expect(config).toEqual<ModuleConfig<'generative-ollama', GenerativeOllamaConfig | undefined>>({  | 
 | 
0 commit comments