EverydayTech Platform - Developer Reference
Complete Source Code Documentation - All Applications
Loading...
Searching...
No Matches
qwenService.js
Go to the documentation of this file.
1// qwenService.js - Node.js service for Qwen via llama.cpp
2// Now uses llama.cpp HTTP API instead of Ollama
3const { callLlama } = require('./llamaCppService');
4
5// Backward compatibility wrapper
6/**
7 *
8 * @param text
9 * @param type
10 * @param model
11 */
12async function callQwen(text, type = "rewrite", model = "qwen2.5:0.5b") {
13 return await callLlama(text, type, { model });
14}
15
16module.exports = { callQwen };