Going through the notebook on Knowledge Graphs for RAG - DeepLearning.AI
Section “Populate the vector index” fails with error:
ClientError: {code: Neo.ClientError.Procedure.ProcedureCallFailed} {message: Failed to invoke function `genai.vector.encode`: Caused by: com.neo4j.genai.vector.MalformedGenAIResponseException: Unexpected HTTP response code: 403 Forbidden - {
"error": {
"message": "Project `proj_OXEC08aO6rKYJweAEj6Aae5D` does not have access to model `text-embedding-ada-002`",
"type": "invalid_request_error",
"param": null,
"code": "model_not_found"
}
}
}
I skipped that cell, hoping that the db would be prepopulated, and indeed the following queries work. I then go to the next section…
" Similarity search" section fails with error:
ClientError: {code: Neo.ClientError.Procedure.ProcedureCallFailed} {message: Failed to invoke function `genai.vector.encode`: Caused by: com.neo4j.genai.vector.MalformedGenAIResponseException: Unexpected HTTP response code: 403 Forbidden - {
"error": {
"message": "Project `proj_OXEC08aO6rKYJweAEj6Aae5D` does not have access to model `text-embedding-ada-002`",
"type": "invalid_request_error",
"param": null,
"code": "model_not_found"
}
}
}