Skip to content

Commit

Permalink
Use union type (langchain-ai#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marviel authored Feb 27, 2023
1 parent 7baeb6b commit 7e09227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion langchain/chains/summarization/load.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface summarizationChainParams {
prompt?: PromptTemplate;
combineMapPrompt?: PromptTemplate;
combinePrompt?: PromptTemplate;
type?: string;
type?: "map_reduce" | "stuff";
}
export const loadSummarizationChain = (
llm: BaseLLM,
Expand Down

0 comments on commit 7e09227

Please sign in to comment.