First upload version 0.0.1
This commit is contained in:
9
node_modules/node-llama-cpp/dist/utils/getChatWrapperSegmentDefinition.js
generated
vendored
Normal file
9
node_modules/node-llama-cpp/dist/utils/getChatWrapperSegmentDefinition.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
export function getChatWrapperSegmentDefinition(chatWrapperSetting, segmentType) {
|
||||
if (segmentType === "thought")
|
||||
return chatWrapperSetting.segments?.thought;
|
||||
else if (segmentType === "comment")
|
||||
return chatWrapperSetting.segments?.comment;
|
||||
void segmentType;
|
||||
return undefined;
|
||||
}
|
||||
//# sourceMappingURL=getChatWrapperSegmentDefinition.js.map
|
||||
Reference in New Issue
Block a user