Replies: 15 comments 6 replies
-
So I made the base model just now with some standard fields... if there are any other fields which you think people would need to provide to use this api |
Beta Was this translation helpful? Give feedback.
-
By |
Beta Was this translation helpful? Give feedback.
-
API user |
Beta Was this translation helpful? Give feedback.
-
Right. I also think that this may be useful for mCart because it can suggest scriptures to do with ministry, angels guiding us, etc. if you know what I mean. If we can write an algo to index the scriptures, I can design a spicy ML algo to vectorize the scriptures and classify them based on topics. I can then display them on mCart as a 'featured' scripture or something. |
Beta Was this translation helpful? Give feedback.
-
good idea... now please explain what you mean by index the scriptures... I'm sorry to have to do this 😭💀 |
Beta Was this translation helpful? Give feedback.
-
No problem at all. By indexing, I mean to categorize, or order (index) by topic (or at least a few). Then with the ML algorithm, we can classify by topic/relevance |
Beta Was this translation helpful? Give feedback.
-
Cool, thanks for explaining 👌 |
Beta Was this translation helpful? Give feedback.
-
And I removed the |
Beta Was this translation helpful? Give feedback.
-
I know that mongodb actually has an indexing feature and you can use it to find documents quickly. Instead of looking through every single document to match a specific field mongo looks at the index and it only examines the necessary documents. This improves read performance for obvious reasons, but I wonder if the functionality extends further than read/write performance. |
Beta Was this translation helpful? Give feedback.
-
API tokens could be stores as part of a User model in mongoDB |
Beta Was this translation helpful? Give feedback.
-
Ok since I haven't really made any real progress for this in terms of commits and actual code im going to downgrade this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
So I think I am going to end up making this use a database (rip databaseless architecture). I'm probably going to just do standard email, password data model for the users |
Beta Was this translation helpful? Give feedback.
-
@j-koziel the tokens could be sha256 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions