mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 12:17:59 +00:00
Port the remaining open weights we decided to name
This commit is contained in:
15 files changed
+565
-113
No files matched your search
@@ -0,0 +1,29 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
using static AIStudio.Provider.Capability;
|
||||
|
||||
namespace AIStudio.Models.Nomic;
|
||||
|
||||
/// <summary>
|
||||
/// The Nomic embedding models, which everybody runs locally and nobody chats with.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// One of the most widely served models there is: it is what a local setup reaches for when it
|
||||
/// needs vectors. The previous rules had no idea it existed, so it fell into the assumption that an
|
||||
/// unknown model chats and calls functions -- three statements about a model which does none of
|
||||
/// them, and the one thing it does was not said at all.
|
||||
/// </remarks>
|
||||
public sealed class NomicEmbedFamily : ModelFamily
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override ModelVendor Vendor => ModelVendor.NOMIC_AI;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override ModelSource Source => new("https://huggingface.co/nomic-ai", new DateOnly(2026, 9, 11), "The app lists these under IProvider.GetEmbeddingModels, which is where the statement that they embed comes from.");
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Declare(ModelFamilyBuilder builder) =>
|
||||
builder.Rule("nomic-embed").AsSubstring()
|
||||
.Capabilities(TEXT_INPUT | EMBEDDING)
|
||||
.Kind(ModelKind.EMBEDDING);
|
||||
}
|
||||
Reference in new issue
Block a user