Add FTS lookup for seeded Civitai Krea2 prompt examples.
Index Assistent/civitai-examples.jsonl without embeddings and expose AssistentLookupExamples plus ask:examples hop for remix references. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -414,6 +414,7 @@ public sealed partial class AssistentMemory : IDisposable
|
||||
if (docs.Count == 0)
|
||||
{
|
||||
TryIndexTags();
|
||||
TryIndexExamples();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -434,6 +435,7 @@ public sealed partial class AssistentMemory : IDisposable
|
||||
if (!missing)
|
||||
{
|
||||
TryIndexTags();
|
||||
TryIndexExamples();
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -447,6 +449,7 @@ public sealed partial class AssistentMemory : IDisposable
|
||||
{
|
||||
Logs.Debug($"AssistentMemory seed defer (embed unavailable): {ex.Message}");
|
||||
TryIndexTags();
|
||||
TryIndexExamples();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -505,6 +508,7 @@ public sealed partial class AssistentMemory : IDisposable
|
||||
}
|
||||
}
|
||||
TryIndexTags();
|
||||
TryIndexExamples();
|
||||
}
|
||||
|
||||
public void Upsert(string kind, string key, string text, string source, JToken meta, float[] embedding, string persona = null)
|
||||
|
||||
Reference in New Issue
Block a user