File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ node_modules
Original file line number Diff line number Diff line change 42
42
uses : docker/build-push-action@v4
43
43
with :
44
44
context : .
45
- platforms : linux/amd64
45
+ platforms : linux/amd64,linux/arm64
46
46
push : true
47
47
tags : ${{ steps.meta.outputs.tags }}
48
48
labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change @@ -40,11 +40,14 @@ const sources = globSync("docs/*.json").map((filename) => {
40
40
41
41
export const search_index = FaissStore . fromDocuments (
42
42
await chunk_sources ( sources ) ,
43
- new OpenAIEmbeddings ( )
43
+ new OpenAIEmbeddings ( {
44
+ openAIApiKey : process . env . _APP_ASSISTANT_OPENAI_API_KEY ,
45
+ } )
44
46
) ;
45
47
export const getChain = ( res ) => {
46
48
return loadQAStuffChain (
47
49
new OpenAIChat ( {
50
+ openAIApiKey : process . env . _APP_ASSISTANT_OPENAI_API_KEY ,
48
51
temperature : 0.6 ,
49
52
max_tokens : 1000 ,
50
53
streaming : true ,
You can’t perform that action at this time.
0 commit comments