Skip to content

Commit

Permalink
chore: remove support for arm v7
Browse files Browse the repository at this point in the history
  • Loading branch information
abuaboud committed Sep 30, 2023
1 parent 88a1ace commit 2990f6a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
platforms: |
linux/amd64
linux/arm64
linux/arm/v7
push: true
tags: |
activepieces/activepieces:${{ env.RELEASE }}
activepieces/activepieces:latest
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN npx nx run-many --target=build --projects=backend,ui-core --skip-nx-cache

# Install backend production dependencies
RUN cd dist/packages/backend && \
npm install --production
npm install --production --legacy-peer-deps

### STAGE 2: Run ###
FROM activepieces/ap-base:7 AS run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const faissEmbedding = ({ openAIApiKey, botId }: { botId: string, openAIA
if (store.docstore._docs.size === 0) {
return []
}
const similarDocuments = await store.similaritySearch(input, 10, botId)
const similarDocuments = await store.similaritySearch(input, 5, botId)
return similarDocuments.map((doc) => doc.pageContent)
},
async addDocuments({
Expand Down

0 comments on commit 2990f6a

Please sign in to comment.