kopia lustrzana https://github.com/learn-awesome/learndb
inshallah this works
rodzic
1f0f249b72
commit
4026cb5889
|
@ -1,6 +1,6 @@
|
|||
const https = require('https'); // Import for webscraping (fetchContentFromURL(url) function
|
||||
// const fetch = require('node-fetch');
|
||||
const openai = require('openai');
|
||||
const { OpenAIApi, Configuration } = require('openai');
|
||||
|
||||
// Placeholder function to fetch content from URL using a web scraping service
|
||||
async function fetchContentFromURL(url) {
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
"dependencies": {
|
||||
"openai": "4.20.0"
|
||||
}
|
||||
}
|
||||
}
|
Ładowanie…
Reference in New Issue