kopia lustrzana https://github.com/learn-awesome/learndb
removed he as it is not really needed, just helpful, but gave runtime error
rodzic
950a4aee3c
commit
6e6d44fc16
|
@ -1,7 +1,6 @@
|
|||
const fetch = require('node-fetch'); // Import for webscraping in fetchContentFromURL()
|
||||
import { OpenAIApi, Configuration } from 'openai';
|
||||
// const { Configuration, OpenAIApi } = require('openai');
|
||||
import { he } from 'he';
|
||||
|
||||
// Function to fetch content from URL using a web scraping service
|
||||
async function fetchContentFromURL(url) {
|
||||
|
|
Ładowanie…
Reference in New Issue