a16z-infra / a16z-infra/companion-app

OpenAI API key required when using Replicate

Đang mở
#101 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
6k
Fork
950
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.