File tree Expand file tree Collapse file tree 4 files changed +12
-19
lines changed Expand file tree Collapse file tree 4 files changed +12
-19
lines changed Original file line number Diff line number Diff line change @@ -356,16 +356,11 @@ public static VectorConfigBuilder Text2VecDatabricks(
356356 }
357357 ) ;
358358
359- public static VectorConfigBuilder Text2VecGpt4All (
360- bool ? vectorizeCollectionName = null
361- ) =>
359+ public static VectorConfigBuilder Text2VecGpt4All ( bool ? vectorizeCollectionName = null ) =>
362360 new (
363- new Vectorizer . Text2VecGpt4All
364- {
365- VectorizeCollectionName = vectorizeCollectionName ,
366- }
367- ) ;
368-
361+ new Vectorizer . Text2VecGpt4All { VectorizeCollectionName = vectorizeCollectionName }
362+ ) ;
363+
369364 public static VectorConfigBuilder Text2VecHuggingFace (
370365 string ? endpointURL = null ,
371366 string ? model = null ,
@@ -436,16 +431,14 @@ public static VectorConfigBuilder Text2VecMistral(
436431 }
437432 ) ;
438433
439- public static VectorConfigBuilder Text2VecModel2Vec (
440- bool ? vectorizeCollectionName = null
441- ) =>
434+ public static VectorConfigBuilder Text2VecModel2Vec ( bool ? vectorizeCollectionName = null ) =>
442435 new (
443436 new Vectorizer . Text2VecModel2Vec
444437 {
445438 VectorizeCollectionName = vectorizeCollectionName ,
446439 }
447- ) ;
448-
440+ ) ;
441+
449442 public static VectorConfigBuilder Text2VecOllama (
450443 string ? apiEndpoint = null ,
451444 string ? model = null ,
Original file line number Diff line number Diff line change @@ -231,8 +231,8 @@ public partial record Text2VecGpt4All : VectorizerConfig
231231
232232 public Text2VecGpt4All ( )
233233 : base ( IdentifierValue ) { }
234- }
235-
234+ }
235+
236236 /// <summary>
237237 /// The configuration for text vectorization using the HuggingFace module.
238238 /// See the documentation for detailed usage.
Original file line number Diff line number Diff line change @@ -238,10 +238,10 @@ public partial record Multi2VecNvidia
238238 public partial record Text2VecMistral
239239 {
240240 public string ? BaseURL { get ; set ; } = null ;
241- public string ? Model { get ; set ; } = null ;
241+ public string ? Model { get ; set ; } = null ;
242242 public bool ? VectorizeCollectionName { get ; set ; } = null ;
243243 }
244-
244+
245245 public partial record Text2VecModel2Vec
246246 {
247247 public bool ? VectorizeCollectionName { get ; set ; } = null ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ internal static class VectorizerConfigFactory
2323 { Vectorizer . Text2VecAzureOpenAI . IdentifierValue , typeof ( Vectorizer . Text2VecAzureOpenAI ) } ,
2424 { Vectorizer . Text2VecCohere . IdentifierValue , typeof ( Vectorizer . Text2VecCohere ) } ,
2525 { Vectorizer . Text2VecDatabricks . IdentifierValue , typeof ( Vectorizer . Text2VecDatabricks ) } ,
26- { Vectorizer . Text2VecGpt4All . IdentifierValue , typeof ( Vectorizer . Text2VecGpt4All ) } ,
26+ { Vectorizer . Text2VecGpt4All . IdentifierValue , typeof ( Vectorizer . Text2VecGpt4All ) } ,
2727 { Vectorizer . Text2VecHuggingFace . IdentifierValue , typeof ( Vectorizer . Text2VecHuggingFace ) } ,
2828 { Vectorizer . Text2VecJinaAI . IdentifierValue , typeof ( Vectorizer . Text2VecJinaAI ) } ,
2929 { Vectorizer . Text2VecNvidia . IdentifierValue , typeof ( Vectorizer . Text2VecNvidia ) } ,
You can’t perform that action at this time.
0 commit comments