#community-help

Trouble Creating New Collection With Typesense on Mac OS X

TLDR Bill was struggling to create a new collection using Typesense on Mac OS X due to system crashing. The issue was resolved when they realized their PC didn't have enough RAM to load the embedding model.

Powered by Struct AI

1

1

3
1mo
Solved
Join the chat
Aug 29, 2023 (1 month ago)
Bill
Photo of md5-be53735a2b0297bb542711c1d2ecea45
Bill
02:10 PM
Hello, I have an issue when I create a new collection with typesense in mac os x, localhost install usin docker. My payload:

{
"enable_nested_fields": false,
"fields": [
{
"facet": false,
"index": true,
"infix": false,
"locale": "sr",
"name": "title",
"optional": true,
"sort": false,
"type": "string"
},
{
"name": "embedding",
"type": "float[]",
"embed": {
"from": [
"title"
],
"model_config": {
"model_name": "ts/multilingual-e5-base"
}
}
}
],
"name": "books"
}

When I send POST to http://localhost:8108/collections in order to create the collection the server crash. If I don't use embedding in the payload, it works
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
02:51 PM
Could you share the exact crash logs?
Bill
Photo of md5-be53735a2b0297bb542711c1d2ecea45
Bill
02:56 PM
Jason I figured it out, my pc didn’t have so much Ram in order to load the embedding model

1

1