admin管理员组文章数量:1122832
I'm trying to set up a RAG system that reads data through google drive, and sets up the vector store locally. I was following the insturctions in this wiki: .10.33/examples/ingestion/ingestion_gdrive/ to accomplish this. But I keep running into what I believe are authentication issues.
What I tried
I set up a Google Cloud Project, I added "Google Drive API" as one of the "Enabled APIs and Services". I set up credentials where the redirect_uri is "http://localhost:8080/" I set the Oauth Consent Screen to make this a Testing app and set the email associated with my google drive as a test user. I then wrote the following code as is set up in the instructions:
from llama_index.readers.google import GoogleDriveReader
import logging
logging.basicConfig(level=logging.DEBUG)
FOLDER_ID = "1HMvMXSd64rzwg3Tbca9ti4fOGJ_BM_uF"
FIXED_PORT = 8080
reader = GoogleDriveReader(
folder_id=FOLDER_ID,
oauth_port_number=FIXED_PORT
)
data = reader.load_data(folder_id=FOLDER_ID)
And on the reader.load_data line, it first redirects me to the localhost:8080 link to fill out some authentication stuff, where I select my gmail as a login. It then tells me the app isn't verified but would I like to proceed: enter image description here
I then click on Continue where finally it takes me to a screen that simply says: enter image description here
At this point I'm out of debugging steps. I am not sure where the logs would be to tell me what the problem actually is here, or how to debug it. I would love some insight from anyone who has successfully gotten llama_index's GoogleDriveReader to work, and ask if there are any steps here that I'm missing.
What I expected
For this to handle the authentication with Google Cloud Project and I could move on to create a Vector Store
版权声明:本文标题:llama index - llama_index GoogleDriveReader authentication issues with Google Cloud Project - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736282725a1926736.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论