anything-llm/server/utils/AiProviders/perplexity/models.js

40 lines
1.0 KiB
JavaScript
Raw Normal View History

const MODELS = {
"llama-3-sonar-small-32k-online\\*": {
id: "llama-3-sonar-small-32k-online\\*",
name: "llama-3-sonar-small-32k-online\\*",
maxLength: 28000,
},
"llama-3-sonar-small-32k-chat": {
id: "llama-3-sonar-small-32k-chat",
name: "llama-3-sonar-small-32k-chat",
maxLength: 32768,
},
"llama-3-sonar-large-32k-online\\*": {
id: "llama-3-sonar-large-32k-online\\*",
name: "llama-3-sonar-large-32k-online\\*",
maxLength: 28000,
},
"llama-3-sonar-large-32k-chat": {
id: "llama-3-sonar-large-32k-chat",
name: "llama-3-sonar-large-32k-chat",
maxLength: 32768,
},
"llama-3-8b-instruct": {
id: "llama-3-8b-instruct",
name: "llama-3-8b-instruct",
maxLength: 8192,
},
"llama-3-70b-instruct": {
id: "llama-3-70b-instruct",
name: "llama-3-70b-instruct",
maxLength: 8192,
},
"mixtral-8x7b-instruct": {
id: "mixtral-8x7b-instruct",
name: "mixtral-8x7b-instruct",
maxLength: 16384,
},
};
module.exports.MODELS = MODELS;