samschifman / RAG_on_FHIR

Work on using Retrieval-Augmented Generation (RAG) to combine Fast Healthcare Interoperable Resources (FHIR) with Generative AI.
MIT License
75 stars 30 forks source link

Unable to create Index fhir_text Index #4

Open ravenrip opened 6 months ago

ravenrip commented 6 months ago

Thank you for the example and Youtube video. I was able to populate the Neo4j database but I was not able to create the 'fhir_text' index. Any idea what could be the issue? Does Neo4j need to be an enterprise database?

Neo4jVector.from_existing_graph( HuggingFaceBgeEmbeddings(model_name="BAAI/bge-small-en-v1.5"), url=NEO4J_URI, username=USERNAME, password=PASSWORD, index_name='fhir_text', node_label="resource", text_node_properties=['text'], embedding_node_property='embedding', )