Find answers from the community

Home
Members
spacepineapple
s
spacepineapple
Offline, last seen 3 months ago
Joined September 25, 2024
s
spacepineapple
·

Hi,

Hi,
I am trying to query a VectorStoreindex which I have created using Gemini,
Plain Text
 query_engine = index.as_query_engine(llm=Settings.llm, similarity_top_k=5)


but facing the following issue
Plain Text
 
shapes (1536,) and (768,) not aligned: 1536 (dim 0) != 768 (dim 0)


I figured that I might have to use Gemini to load the indexes well, but enable to pass it while using
Plain Text
storage_context = StorageContext.from_defaults(persist_dir=path)
load_index_from_storage(storage_context)

Can anyone please suggest me how to do the same. Thanks in advance.
2 comments
s
L
s
spacepineapple
·

Quota

Hi all , i'm exploring the llama index with open ai, to generate VectoreStoreIndex, but encountered an error....
Plain Text
openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

Do i need a paid open api account for testing the poc for my project as well ?
2 comments
S
L
Hi all , i'm exploring the llama index with open ai, to generate VectoreStoreIndex, but encountered an error....
Plain Text
openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

Do i need a paid open api account for testing the poc for my project as well ?
1 comment
T