-
-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
I have attempted to switch from using NativeEmbeddings to NativeContextualEmbeddings and it is causing my iOS app to crash. It seems that the embeddings object is failing to initialize the model.
Error:
SimilaritySearchKit/NativeContextualEmbeddings.swift:43: Fatal error: 'try!' expression unexpectedly raised an error: Foundation._GenericObjCError.nilErrorUsage:
await SimilarityIndex(
model: NativeContextualEmbeddings(),
metric: CosineSimilarity()
)Device:
iPhone 13 Pro Max
iOS Version 17.2.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels