from mixpeek import Mixpeek
mix = Mixpeek(mixpeek_key="API_KEY")
# index our JPG file
mix.extract("file.jpg")
# now we have clean JPG data
[
{
"filename": "file.jpg",
"content": "This is the content of the jpg file".
"embedding": [0.1, 0.2, 0.3, ...]
"metadata": {
"author": "John Doe",
"date": "2022-01-01"
}
}
]
Read the Docs