Skip to content

Commit 8efe3c8

Browse files
committed
refactor: remove Text2VecGpt4All configuration and related methods
1 parent d7c8346 commit 8efe3c8

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

src/Weaviate.Client/Configure/Vectorizer.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -356,11 +356,6 @@ public static VectorConfigBuilder Text2VecDatabricks(
356356
}
357357
);
358358

359-
public static VectorConfigBuilder Text2VecGpt4All(bool? vectorizeCollectionName = null) =>
360-
new(
361-
new Vectorizer.Text2VecGpt4All { VectorizeCollectionName = vectorizeCollectionName }
362-
);
363-
364359
public static VectorConfigBuilder Text2VecHuggingFace(
365360
string? endpointURL = null,
366361
string? model = null,

src/Weaviate.Client/Models/Vectorizer.Declarations.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -221,18 +221,6 @@ public Text2VecDatabricks()
221221
: base(IdentifierValue) { }
222222
}
223223

224-
/// <summary>
225-
/// The configuration for text vectorization using the GPT4All module.
226-
/// See the documentation for detailed usage.
227-
/// </summary>
228-
public partial record Text2VecGpt4All : VectorizerConfig
229-
{
230-
public const string IdentifierValue = "text2vec-gpt4all";
231-
232-
public Text2VecGpt4All()
233-
: base(IdentifierValue) { }
234-
}
235-
236224
/// <summary>
237225
/// The configuration for text vectorization using the HuggingFace module.
238226
/// See the documentation for detailed usage.

src/Weaviate.Client/Models/Vectorizer.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,6 @@ public partial record Text2VecDatabricks
190190
public bool? VectorizeCollectionName { get; set; } = null;
191191
}
192192

193-
public partial record Text2VecGpt4All
194-
{
195-
public bool? VectorizeCollectionName { get; set; } = null;
196-
}
197-
198193
public partial record Text2VecHuggingFace
199194
{
200195
public string? EndpointURL { get; set; } = null;

0 commit comments

Comments
 (0)