feat(backend): fix type errors
This commit is contained in:
parent
f4b58c7157
commit
3ffb20b777
2 changed files with 3 additions and 3 deletions
|
@ -47,7 +47,7 @@ const generateSuggestions = (
|
|||
input: SuggestionGeneratorInput,
|
||||
llm: BaseChatModel,
|
||||
) => {
|
||||
(llm as ChatOpenAI).temperature = 0;
|
||||
(llm as unknown as ChatOpenAI).temperature = 0;
|
||||
const suggestionGeneratorChain = createSuggestionGeneratorChain(llm);
|
||||
return suggestionGeneratorChain.invoke(input);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue