Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to search for particular things stored this can be anything that is stored I would like either time or something and is there a way to earase all data of a particular user #56

Open
furkanshaikh313 opened this issue Aug 23, 2023 · 11 comments

Comments

@furkanshaikh313
Copy link

No description provided.

@JoanFM
Copy link
Member

JoanFM commented Aug 23, 2023

Hello @furkanshaikh313,

Can you be more explicit? What are you trying to search? This library is to search based on embeddings

@furkanshaikh313
Copy link
Author

furkanshaikh313 commented Aug 23, 2023

I want to be able to save different types of data inside a vector database with having the ability to retrive data easily @JoanFM can you help me on that?

@JoanFM
Copy link
Member

JoanFM commented Aug 23, 2023

What kind of data you want to store. Right now, vectordb allows to store data in a specific format schema

@furkanshaikh313
Copy link
Author

Like mainly text but it would be amazing if i can save images and audio as well

@JoanFM
Copy link
Member

JoanFM commented Aug 23, 2023

You can define the schema like this:

from docarray import BaseDoc
from docarray.documents import ImageDoc, TextDoc, AudioDoc

class MyDoc(BaseDoc):
    text: Optional[TextDoc]
    image: Optional[ImageDoc]
    audio: Optional[AudioDoc]
    embedding: NdArray

@furkanshaikh313
Copy link
Author

so should i use this with vector db?

@JoanFM
Copy link
Member

JoanFM commented Aug 23, 2023

yes, u can use this, define a schema that satisfies ur needs, and u can do this

@furkanshaikh313
Copy link
Author

by the way @JoanFM do you know a way i can like host this 24/7 on cloud for free?

@JoanFM
Copy link
Member

JoanFM commented Aug 24, 2023

I do not think there are options to host for free. You can check JCloud option, were it would scale to 0 and u would only pay when it actually receives requests

@furkanshaikh313
Copy link
Author

hmm Listen I am thinking of using this on a big project of mine and it need to be able to handle different customers and not intermix anything is that possible?

@JoanFM
Copy link
Member

JoanFM commented Aug 24, 2023

multitenancy is not supported. You would need to create an index for each of ur customers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants