kopia lustrzana https://github.com/learn-awesome/learndb
was returning the wrong thing
rodzic
17f6bbc08e
commit
feb3843e27
|
@ -37,7 +37,7 @@ function simplifyContent(content) {
|
||||||
// // Simple summarization: taking the first few sentences
|
// // Simple summarization: taking the first few sentences
|
||||||
// const sentences = simplifiedContent.split('. ');
|
// const sentences = simplifiedContent.split('. ');
|
||||||
// const summarizedContent = sentences.slice(0, Math.min(5, sentences.length)).join('. ');
|
// const summarizedContent = sentences.slice(0, Math.min(5, sentences.length)).join('. ');
|
||||||
return summarizedContent;
|
return simplifiedContent;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Placeholder function to perform GPT analysis for media type and topics using Mistral-7b via OpenRouter
|
// Placeholder function to perform GPT analysis for media type and topics using Mistral-7b via OpenRouter
|
||||||
|
|
Ładowanie…
Reference in New Issue