a16z-infra / a16z-infra/companion-app

OpenAI API key required when using Replicate

未關閉
#101 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
6k
分支
950
PR 合併指標
30 天內沒有已合併 PR

描述

Getting the following error when running: npm run generate-embeddings-pinecone:

Error: (Azure) OpenAI API key not found
at new OpenAIEmbeddings (file:///workspaces/companion-app/node_modules/langchain/dist/embeddings/openai.js:73:19)
at file:///workspaces/companion-app/src/scripts/indexPinecone.mjs:47:3
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

This is my code referring to Replicate

# OpenAI related environment variables
# OPENAI_API_KEY=sk-****

# Replicate related environment variables
REPLICATE_API_TOKEN=****

After checking the project demo, I have noticed that the project seems broken. No replies are received after text input.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。