- 강의 질문
- AI TECH
RateLimitError 에러 문제
안녕하세요
'Part01.-03.Langchain으로 구현하는 Basic, Agentic RAG' 강의 18분쯔음에,
동일하게 실행해보니 아래와 같은 에러가 발생했습니다.
uv 가상환경 설정이고 오늘 처음 실행했는데도 제가 잘 모르지만 Key 사용 과금?과 관련이 있는건지 싶네요
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'}}
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...
(예제소스)
from langchain_openai import OpenAIEmbeddings
from langchain_core.vectorstores import InMemoryVectorStore
# 임베딩 모델 초기화
embeddings = OpenAIEmbeddings(model="text-embedding-3-small")
# 인메모리 벡터 저장소 생성 및 문서 인덱싱
vector_store = InMemoryVectorStore.from_documents(
documents=all_splits,
embedding=embeddings
)
