Closed cmdoret closed 1 year ago
Hello @cmdoret I'm trying to check this pull request.
Shall I use the docker compose up
for it? I guess in this case I need to have a collection already in the chroma right?
I'm having this error: AttributeError: module 'aikg.config.chroma' has no attribute 'Config'
Thanks @caviri I fixed the outdated import paths that caused the error. Yes ultimately we'll need to provided a demo collection for it to work out of the box, but maybe this could be handled in a separate PR?
This PR simplifies the chroma indexing flow and adds an RDF ingestion flow.
aikg/flows/insert_triples.py
: Load RDF files (e.g. turtle) to a SPARQL endpointaikg/flows/chroma_build.py
: SPARQL endpoint -> ChromaDB collectionThese scripts are provided for users who want to bring their own data to run the server, one just needs a Chroma server with a collection ready.