Skip to content

Commit

Permalink
fix(llm): watsonx chat preset typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas2D committed Oct 3, 2024
1 parent 93b3167 commit f7d5128
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/adapters/watsonx/chatPreset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ export const WatsonXChatLLMPreset = {
};
},
"meta-llama/llama-3-1-405b-instruct"() {
return this["meta-llama/llama-3-1-70b-instruct"]();
return WatsonXChatLLMPreset["meta-llama/llama-3-1-70b-instruct"]();
},
"meta-llama/llama-3-1-8b-instruct"() {
return this["meta-llama/llama-3-1-70b-instruct"]();
return WatsonXChatLLMPreset["meta-llama/llama-3-1-70b-instruct"]();
},
"meta-llama/llama-3-70b-instruct": (): WatsonXChatLLMPreset => {
const { template, messagesToPrompt, parameters } = LLMChatTemplates.get("llama3");
Expand All @@ -66,7 +66,7 @@ export const WatsonXChatLLMPreset = {
};
},
"meta-llama/llama-3-8b-instruct"() {
return this["meta-llama/llama-3-70b-instruct"]();
return WatsonXChatLLMPreset["meta-llama/llama-3-70b-instruct"]();
},
} as const;

Expand Down

0 comments on commit f7d5128

Please sign in to comment.