* fix core * add cohere extension * add cohere response customizable * nitpicking * use transformResponse * Update extensions/inference-cohere-extension/src/index.ts Co-authored-by: Louis <louis@jan.ai> * use prettier * Update extensions/inference-cohere-extension/src/index.ts Co-authored-by: Louis <louis@jan.ai> * pass requestBody as object * transformPayload as a property * This is not correct. CHATBOT is an equivalent role to assistant. system message should be used with the preamble parameter and should not be included in the chat_history --------- Co-authored-by: Jack Tri Le <Jack> Co-authored-by: Louis <louis@jan.ai>
15 lines
301 B
JSON
15 lines
301 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2016",
|
|
"module": "ES6",
|
|
"moduleResolution": "node",
|
|
"outDir": "./dist",
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strict": false,
|
|
"skipLibCheck": true,
|
|
"rootDir": "./src"
|
|
},
|
|
"include": ["./src"]
|
|
}
|