Log in
Log into community
Find answers from the community
s
F
Y
a
P
3,278
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated last month
0
Follow
Local db
Local db
0
Follow
s
sunwoong
2 years ago
Β·
Can I use local DB while I'm querying?
L
s
9 comments
Share
Open in Discord
L
Logan M
2 years ago
Do you mean for a sql index? Or something else?
s
sunwoong
2 years ago
I just mean some kind of Pydantic class.
s
sunwoong
2 years ago
So I just save it as json, and read that json file
L
Logan M
2 years ago
So what's the full use case then? You want to index some json files?
s
sunwoong
2 years ago
No my full use case was
s
sunwoong
2 years ago
I want to use as pre-built db(local db, just a simple PyDantic class), with a composite indices.
s
sunwoong
2 years ago
For example, I want to use Doc1, Doc2, DB as a {context_str} when querying.
s
sunwoong
2 years ago
So I construct an index for Doc1, Doc2 and made DB as a json, and then construct is as an index
L
Logan M
2 years ago
Yea that's definitely possible by the sound of it! π
Add a reply
Sign up and join the conversation on Discord
Join on Discord