kopia lustrzana https://github.com/learn-awesome/learndb
removed the install script
rodzic
b73bc63922
commit
7da53fb064
|
@ -1,5 +1,6 @@
|
||||||
const https = require('https'); // Import for webscraping (fetchContentFromURL(url) function
|
const https = require('https'); // Import for webscraping (fetchContentFromURL(url) function
|
||||||
// const fetch = require('node-fetch');
|
// const fetch = require('node-fetch');
|
||||||
|
|
||||||
const openai = require('openai');
|
const openai = require('openai');
|
||||||
|
|
||||||
// Placeholder function to fetch content from URL using a web scraping service
|
// Placeholder function to fetch content from URL using a web scraping service
|
||||||
|
@ -70,7 +71,6 @@ function formatResponse(predefinedMediaType, predefinedTopics) {
|
||||||
const response = {
|
const response = {
|
||||||
format: predefinedMediaType,
|
format: predefinedMediaType,
|
||||||
topics: predefinedTopics,
|
topics: predefinedTopics,
|
||||||
// Other metadata fields if needed
|
|
||||||
};
|
};
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue