Skip to content

Commit

Permalink
Merge pull request #9 from appwrite/fix-failed-build
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldiron authored Aug 20, 2023
2 parents 8b027a4 + 6b4bb38 commit 66d2a5a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions embeddings.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const search_index = FaissStore.fromDocuments(
export const getChain = (res) => {
return loadQAStuffChain(
new OpenAIChat({
openAIApiKey: process.env._APP_ASSISTANT_OPENAI_API_KEY,
temperature: 0.6,
max_tokens: 1000,
streaming: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"express": "^4.18.2",
"faiss-node": "^0.3.0",
"faiss-node": "^0.2.2",
"glob": "^10.3.1",
"langchain": "^0.0.104",
"nodemon": "^2.0.22",
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 66d2a5a

Please sign in to comment.