langchain-rate-limit-errors
БесплатноБез исполняемых скриптовНе проверенSub-skill of langchain: Rate Limit Errors (+2).
от vamseeachanta★ 21 звезда на GitHubОб этом скилле
Rate Limit Errors (+2)
Rate Limit Errors
from langchain_openai import ChatOpenAI
from tenacity import retry, wait_exponential, stop_after_attempt
llm = ChatOpenAI(
model="gpt-4",
max_retries=3,
request_timeout=60
)
@retry(wait=wait_exponential(min=1, max=60), stop=stop_after_attempt(5))
def invoke_with_retry(chain, input_data):
return chain.invoke(input_data)
Memory Issues with Large Documents
# Process documents in batches
def batch_process_documents(documents, batch_size=100):
for i in range(0, len(documents), batch_size):
batch = documents[i:i + batch_size]
yield process_batch(batch)
Vector Store Performance
# Use FAISS for larger collections
from langchain_community.vectorstores import FAISS
vectorstore = FAISS.from_documents(
documents,
embeddings,
distance_strategy="COSINE"
)
# Add index for faster retrieval
vectorstore.save_local("faiss_index")
Установить langchain-rate-limit-errors в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл langchain-rate-limit-errors?
Sub-skill of langchain: Rate Limit Errors (+2).
Как установить скилл langchain-rate-limit-errors?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл langchain-rate-limit-errors запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic