├── .env.example ├── .gitignore ├── README.md ├── assets └── state_of_the_union.txt ├── build ├── app.js ├── app.js.map ├── appBak.js └── appBak.js.map ├── package.json ├── pnpm-lock.yaml ├── src └── app.ts └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- 1 | OPENAI_API_KEY= -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | .pnpm-debug.log* 9 | 10 | # Diagnostic reports (https://nodejs.org/api/report.html) 11 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 12 | 13 | # Runtime data 14 | pids 15 | *.pid 16 | *.seed 17 | *.pid.lock 18 | 19 | # Directory for instrumented libs generated by jscoverage/JSCover 20 | lib-cov 21 | 22 | # Coverage directory used by tools like istanbul 23 | coverage 24 | *.lcov 25 | 26 | # nyc test coverage 27 | .nyc_output 28 | 29 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 30 | .grunt 31 | 32 | # Bower dependency directory (https://bower.io/) 33 | bower_components 34 | 35 | # node-waf configuration 36 | .lock-wscript 37 | 38 | # Compiled binary addons (https://nodejs.org/api/addons.html) 39 | build/Release 40 | 41 | # Dependency directories 42 | node_modules/ 43 | jspm_packages/ 44 | 45 | # Snowpack dependency directory (https://snowpack.dev/) 46 | web_modules/ 47 | 48 | # TypeScript cache 49 | *.tsbuildinfo 50 | 51 | # Optional npm cache directory 52 | .npm 53 | 54 | # Optional eslint cache 55 | .eslintcache 56 | 57 | # Optional stylelint cache 58 | .stylelintcache 59 | 60 | # Microbundle cache 61 | .rpt2_cache/ 62 | .rts2_cache_cjs/ 63 | .rts2_cache_es/ 64 | .rts2_cache_umd/ 65 | 66 | # Optional REPL history 67 | .node_repl_history 68 | 69 | # Output of 'npm pack' 70 | *.tgz 71 | 72 | # Yarn Integrity file 73 | .yarn-integrity 74 | 75 | # dotenv environment variable files 76 | .env 77 | .env.development.local 78 | .env.test.local 79 | .env.production.local 80 | .env.local 81 | 82 | # parcel-bundler cache (https://parceljs.org/) 83 | .cache 84 | .parcel-cache 85 | 86 | # Next.js build output 87 | .next 88 | out 89 | 90 | # Nuxt.js build / generate output 91 | .nuxt 92 | dist 93 | 94 | # Gatsby files 95 | .cache/ 96 | # Comment in the public line in if your project uses Gatsby and not Next.js 97 | # https://nextjs.org/blog/next-9-1#public-directory-support 98 | # public 99 | 100 | # vuepress build output 101 | .vuepress/dist 102 | 103 | # vuepress v2.x temp and cache directory 104 | .temp 105 | .cache 106 | 107 | # Docusaurus cache and generated files 108 | .docusaurus 109 | 110 | # Serverless directories 111 | .serverless/ 112 | 113 | # FuseBox cache 114 | .fusebox/ 115 | 116 | # DynamoDB Local files 117 | .dynamodb/ 118 | 119 | # TernJS port file 120 | .tern-port 121 | 122 | # Stores VSCode versions used for testing VSCode extensions 123 | .vscode-test 124 | 125 | # yarn v2 126 | .yarn/cache 127 | .yarn/unplugged 128 | .yarn/build-state.yml 129 | .yarn/install-state.gz 130 | .pnp.* 131 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Semantic Chunker 💫 2 | 3 | This TypeScript project implements an algorithm to split large text corpora into semantically cohesive chunks using embeddings. 4 | 5 | Taken from Greg Kamradt’s wonderful notebook: [5_Levels_Of_Text_Splitting](https://github.com/FullStackRetrieval-com/RetrievalTutorials/blob/main/tutorials/LevelsOfTextSplitting/5_Levels_Of_Text_Splitting.ipynb) 6 | 7 | Key Features: 8 | 9 | - Intelligent Sentence Grouping: Combines sentences contextually for more meaningful analysis. 10 | - OpenAI Sentence Embeddings: Leverages OpenAI's embedding models to understand text semantics. 11 | - Cosine Similarity Analysis: Measures the semantic 'distance' between sentence groups to pinpoint shifts in topics. 12 | - Flexible Thresholding: Adjust sensitivity to define what constitutes a significant semantic shift. 13 | 14 | ## Getting Started 15 | 16 | ### Clone the repository: 17 | 18 | ``` 19 | git clone https://github.com/tsensei/Semantic-Chunking-Typescript.git 20 | ``` 21 | 22 | ### Install dependencies: 23 | 24 | ``` 25 | pnpm install 26 | ``` 27 | 28 | ### Set up your OpenAI API key: 29 | 30 | - Create a .env file by copying .env.example 31 | - Add your OpenAI API key in the .env file 32 | 33 | Run the chunker: 34 | 35 | ``` 36 | tsc 37 | node build/app.js 38 | ``` 39 | 40 | ### Customization : 41 | 42 | - Experiment with the `bufferSize` in the `structureSentences` function to control the contextual window for embeddings. 43 | - Adjust the `percentileThreshold` in `calculateCosineDistancesAndSignificantShifts` to fine-tune the sensitivity of chunk boundaries. 44 | -------------------------------------------------------------------------------- /assets/state_of_the_union.txt: -------------------------------------------------------------------------------- 1 | Madam Speaker, Madam Vice President, our First Lady and Second Gentleman. Members of Congress and the Cabinet. Justices of the Supreme Court. My fellow Americans. 2 | 3 | Last year COVID-19 kept us apart. This year we are finally together again. 4 | 5 | Tonight, we meet as Democrats Republicans and Independents. But most importantly as Americans. 6 | 7 | With a duty to one another to the American people to the Constitution. 8 | 9 | And with an unwavering resolve that freedom will always triumph over tyranny. 10 | 11 | Six days ago, Russia’s Vladimir Putin sought to shake the foundations of the free world thinking he could make it bend to his menacing ways. But he badly miscalculated. 12 | 13 | He thought he could roll into Ukraine and the world would roll over. Instead he met a wall of strength he never imagined. 14 | 15 | He met the Ukrainian people. 16 | 17 | From President Zelenskyy to every Ukrainian, their fearlessness, their courage, their determination, inspires the world. 18 | 19 | Groups of citizens blocking tanks with their bodies. Everyone from students to retirees teachers turned soldiers defending their homeland. 20 | 21 | In this struggle as President Zelenskyy said in his speech to the European Parliament “Light will win over darkness.” The Ukrainian Ambassador to the United States is here tonight. 22 | 23 | Let each of us here tonight in this Chamber send an unmistakable signal to Ukraine and to the world. 24 | 25 | Please rise if you are able and show that, Yes, we the United States of America stand with the Ukrainian people. 26 | 27 | Throughout our history we’ve learned this lesson when dictators do not pay a price for their aggression they cause more chaos. 28 | 29 | They keep moving. 30 | 31 | And the costs and the threats to America and the world keep rising. 32 | 33 | That’s why the NATO Alliance was created to secure peace and stability in Europe after World War 2. 34 | 35 | The United States is a member along with 29 other nations. 36 | 37 | It matters. American diplomacy matters. American resolve matters. 38 | 39 | Putin’s latest attack on Ukraine was premeditated and unprovoked. 40 | 41 | He rejected repeated efforts at diplomacy. 42 | 43 | He thought the West and NATO wouldn’t respond. And he thought he could divide us at home. Putin was wrong. We were ready. Here is what we did. 44 | 45 | We prepared extensively and carefully. 46 | 47 | We spent months building a coalition of other freedom-loving nations from Europe and the Americas to Asia and Africa to confront Putin. 48 | 49 | I spent countless hours unifying our European allies. We shared with the world in advance what we knew Putin was planning and precisely how he would try to falsely justify his aggression. 50 | 51 | We countered Russia’s lies with truth. 52 | 53 | And now that he has acted the free world is holding him accountable. 54 | 55 | Along with twenty-seven members of the European Union including France, Germany, Italy, as well as countries like the United Kingdom, Canada, Japan, Korea, Australia, New Zealand, and many others, even Switzerland. 56 | 57 | We are inflicting pain on Russia and supporting the people of Ukraine. Putin is now isolated from the world more than ever. 58 | 59 | Together with our allies –we are right now enforcing powerful economic sanctions. 60 | 61 | We are cutting off Russia’s largest banks from the international financial system. 62 | 63 | Preventing Russia’s central bank from defending the Russian Ruble making Putin’s $630 Billion “war fund” worthless. 64 | 65 | We are choking off Russia’s access to technology that will sap its economic strength and weaken its military for years to come. 66 | 67 | Tonight I say to the Russian oligarchs and corrupt leaders who have bilked billions of dollars off this violent regime no more. 68 | 69 | The U.S. Department of Justice is assembling a dedicated task force to go after the crimes of Russian oligarchs. 70 | 71 | We are joining with our European allies to find and seize your yachts your luxury apartments your private jets. We are coming for your ill-begotten gains. 72 | 73 | And tonight I am announcing that we will join our allies in closing off American air space to all Russian flights – further isolating Russia – and adding an additional squeeze –on their economy. The Ruble has lost 30% of its value. 74 | 75 | The Russian stock market has lost 40% of its value and trading remains suspended. Russia’s economy is reeling and Putin alone is to blame. 76 | 77 | Together with our allies we are providing support to the Ukrainians in their fight for freedom. Military assistance. Economic assistance. Humanitarian assistance. 78 | 79 | We are giving more than $1 Billion in direct assistance to Ukraine. 80 | 81 | And we will continue to aid the Ukrainian people as they defend their country and to help ease their suffering. 82 | 83 | Let me be clear, our forces are not engaged and will not engage in conflict with Russian forces in Ukraine. 84 | 85 | Our forces are not going to Europe to fight in Ukraine, but to defend our NATO Allies – in the event that Putin decides to keep moving west. 86 | 87 | For that purpose we’ve mobilized American ground forces, air squadrons, and ship deployments to protect NATO countries including Poland, Romania, Latvia, Lithuania, and Estonia. 88 | 89 | As I have made crystal clear the United States and our Allies will defend every inch of territory of NATO countries with the full force of our collective power. 90 | 91 | And we remain clear-eyed. The Ukrainians are fighting back with pure courage. But the next few days weeks, months, will be hard on them. 92 | 93 | Putin has unleashed violence and chaos. But while he may make gains on the battlefield – he will pay a continuing high price over the long run. 94 | 95 | And a proud Ukrainian people, who have known 30 years of independence, have repeatedly shown that they will not tolerate anyone who tries to take their country backwards. 96 | 97 | To all Americans, I will be honest with you, as I’ve always promised. A Russian dictator, invading a foreign country, has costs around the world. 98 | 99 | And I’m taking robust action to make sure the pain of our sanctions is targeted at Russia’s economy. And I will use every tool at our disposal to protect American businesses and consumers. 100 | 101 | Tonight, I can announce that the United States has worked with 30 other countries to release 60 Million barrels of oil from reserves around the world. 102 | 103 | America will lead that effort, releasing 30 Million barrels from our own Strategic Petroleum Reserve. And we stand ready to do more if necessary, unified with our allies. 104 | 105 | These steps will help blunt gas prices here at home. And I know the news about what’s happening can seem alarming. 106 | 107 | But I want you to know that we are going to be okay. 108 | 109 | When the history of this era is written Putin’s war on Ukraine will have left Russia weaker and the rest of the world stronger. 110 | 111 | While it shouldn’t have taken something so terrible for people around the world to see what’s at stake now everyone sees it clearly. 112 | 113 | We see the unity among leaders of nations and a more unified Europe a more unified West. And we see unity among the people who are gathering in cities in large crowds around the world even in Russia to demonstrate their support for Ukraine. 114 | 115 | In the battle between democracy and autocracy, democracies are rising to the moment, and the world is clearly choosing the side of peace and security. 116 | 117 | This is a real test. It’s going to take time. So let us continue to draw inspiration from the iron will of the Ukrainian people. 118 | 119 | To our fellow Ukrainian Americans who forge a deep bond that connects our two nations we stand with you. 120 | 121 | Putin may circle Kyiv with tanks, but he will never gain the hearts and souls of the Ukrainian people. 122 | 123 | He will never extinguish their love of freedom. He will never weaken the resolve of the free world. 124 | 125 | We meet tonight in an America that has lived through two of the hardest years this nation has ever faced. 126 | 127 | The pandemic has been punishing. 128 | 129 | And so many families are living paycheck to paycheck, struggling to keep up with the rising cost of food, gas, housing, and so much more. 130 | 131 | I understand. 132 | 133 | I remember when my Dad had to leave our home in Scranton, Pennsylvania to find work. I grew up in a family where if the price of food went up, you felt it. 134 | 135 | That’s why one of the first things I did as President was fight to pass the American Rescue Plan. 136 | 137 | Because people were hurting. We needed to act, and we did. 138 | 139 | Few pieces of legislation have done more in a critical moment in our history to lift us out of crisis. 140 | 141 | It fueled our efforts to vaccinate the nation and combat COVID-19. It delivered immediate economic relief for tens of millions of Americans. 142 | 143 | Helped put food on their table, keep a roof over their heads, and cut the cost of health insurance. 144 | 145 | And as my Dad used to say, it gave people a little breathing room. 146 | 147 | And unlike the $2 Trillion tax cut passed in the previous administration that benefitted the top 1% of Americans, the American Rescue Plan helped working people—and left no one behind. 148 | 149 | And it worked. It created jobs. Lots of jobs. 150 | 151 | In fact—our economy created over 6.5 Million new jobs just last year, more jobs created in one year 152 | than ever before in the history of America. 153 | 154 | Our economy grew at a rate of 5.7% last year, the strongest growth in nearly 40 years, the first step in bringing fundamental change to an economy that hasn’t worked for the working people of this nation for too long. 155 | 156 | For the past 40 years we were told that if we gave tax breaks to those at the very top, the benefits would trickle down to everyone else. 157 | 158 | But that trickle-down theory led to weaker economic growth, lower wages, bigger deficits, and the widest gap between those at the top and everyone else in nearly a century. 159 | 160 | Vice President Harris and I ran for office with a new economic vision for America. 161 | 162 | Invest in America. Educate Americans. Grow the workforce. Build the economy from the bottom up 163 | and the middle out, not from the top down. 164 | 165 | Because we know that when the middle class grows, the poor have a ladder up and the wealthy do very well. 166 | 167 | America used to have the best roads, bridges, and airports on Earth. 168 | 169 | Now our infrastructure is ranked 13th in the world. 170 | 171 | We won’t be able to compete for the jobs of the 21st Century if we don’t fix that. 172 | 173 | That’s why it was so important to pass the Bipartisan Infrastructure Law—the most sweeping investment to rebuild America in history. 174 | 175 | This was a bipartisan effort, and I want to thank the members of both parties who worked to make it happen. 176 | 177 | We’re done talking about infrastructure weeks. 178 | 179 | We’re going to have an infrastructure decade. 180 | 181 | It is going to transform America and put us on a path to win the economic competition of the 21st Century that we face with the rest of the world—particularly with China. 182 | 183 | As I’ve told Xi Jinping, it is never a good bet to bet against the American people. 184 | 185 | We’ll create good jobs for millions of Americans, modernizing roads, airports, ports, and waterways all across America. 186 | 187 | And we’ll do it all to withstand the devastating effects of the climate crisis and promote environmental justice. 188 | 189 | We’ll build a national network of 500,000 electric vehicle charging stations, begin to replace poisonous lead pipes—so every child—and every American—has clean water to drink at home and at school, provide affordable high-speed internet for every American—urban, suburban, rural, and tribal communities. 190 | 191 | 4,000 projects have already been announced. 192 | 193 | And tonight, I’m announcing that this year we will start fixing over 65,000 miles of highway and 1,500 bridges in disrepair. 194 | 195 | When we use taxpayer dollars to rebuild America – we are going to Buy American: buy American products to support American jobs. 196 | 197 | The federal government spends about $600 Billion a year to keep the country safe and secure. 198 | 199 | There’s been a law on the books for almost a century 200 | to make sure taxpayers’ dollars support American jobs and businesses. 201 | 202 | Every Administration says they’ll do it, but we are actually doing it. 203 | 204 | We will buy American to make sure everything from the deck of an aircraft carrier to the steel on highway guardrails are made in America. 205 | 206 | But to compete for the best jobs of the future, we also need to level the playing field with China and other competitors. 207 | 208 | That’s why it is so important to pass the Bipartisan Innovation Act sitting in Congress that will make record investments in emerging technologies and American manufacturing. 209 | 210 | Let me give you one example of why it’s so important to pass it. 211 | 212 | If you travel 20 miles east of Columbus, Ohio, you’ll find 1,000 empty acres of land. 213 | 214 | It won’t look like much, but if you stop and look closely, you’ll see a “Field of dreams,” the ground on which America’s future will be built. 215 | 216 | This is where Intel, the American company that helped build Silicon Valley, is going to build its $20 billion semiconductor “mega site”. 217 | 218 | Up to eight state-of-the-art factories in one place. 10,000 new good-paying jobs. 219 | 220 | Some of the most sophisticated manufacturing in the world to make computer chips the size of a fingertip that power the world and our everyday lives. 221 | 222 | Smartphones. The Internet. Technology we have yet to invent. 223 | 224 | But that’s just the beginning. 225 | 226 | Intel’s CEO, Pat Gelsinger, who is here tonight, told me they are ready to increase their investment from 227 | $20 billion to $100 billion. 228 | 229 | That would be one of the biggest investments in manufacturing in American history. 230 | 231 | And all they’re waiting for is for you to pass this bill. 232 | 233 | So let’s not wait any longer. Send it to my desk. I’ll sign it. 234 | 235 | And we will really take off. 236 | 237 | And Intel is not alone. 238 | 239 | There’s something happening in America. 240 | 241 | Just look around and you’ll see an amazing story. 242 | 243 | The rebirth of the pride that comes from stamping products “Made In America.” The revitalization of American manufacturing. 244 | 245 | Companies are choosing to build new factories here, when just a few years ago, they would have built them overseas. 246 | 247 | That’s what is happening. Ford is investing $11 billion to build electric vehicles, creating 11,000 jobs across the country. 248 | 249 | GM is making the largest investment in its history—$7 billion to build electric vehicles, creating 4,000 jobs in Michigan. 250 | 251 | All told, we created 369,000 new manufacturing jobs in America just last year. 252 | 253 | Powered by people I’ve met like JoJo Burgess, from generations of union steelworkers from Pittsburgh, who’s here with us tonight. 254 | 255 | As Ohio Senator Sherrod Brown says, “It’s time to bury the label “Rust Belt.” 256 | 257 | It’s time. 258 | 259 | But with all the bright spots in our economy, record job growth and higher wages, too many families are struggling to keep up with the bills. 260 | 261 | Inflation is robbing them of the gains they might otherwise feel. 262 | 263 | I get it. That’s why my top priority is getting prices under control. 264 | 265 | Look, our economy roared back faster than most predicted, but the pandemic meant that businesses had a hard time hiring enough workers to keep up production in their factories. 266 | 267 | The pandemic also disrupted global supply chains. 268 | 269 | When factories close, it takes longer to make goods and get them from the warehouse to the store, and prices go up. 270 | 271 | Look at cars. 272 | 273 | Last year, there weren’t enough semiconductors to make all the cars that people wanted to buy. 274 | 275 | And guess what, prices of automobiles went up. 276 | 277 | So—we have a choice. 278 | 279 | One way to fight inflation is to drive down wages and make Americans poorer. 280 | 281 | I have a better plan to fight inflation. 282 | 283 | Lower your costs, not your wages. 284 | 285 | Make more cars and semiconductors in America. 286 | 287 | More infrastructure and innovation in America. 288 | 289 | More goods moving faster and cheaper in America. 290 | 291 | More jobs where you can earn a good living in America. 292 | 293 | And instead of relying on foreign supply chains, let’s make it in America. 294 | 295 | Economists call it “increasing the productive capacity of our economy.” 296 | 297 | I call it building a better America. 298 | 299 | My plan to fight inflation will lower your costs and lower the deficit. 300 | 301 | 17 Nobel laureates in economics say my plan will ease long-term inflationary pressures. Top business leaders and most Americans support my plan. And here’s the plan: 302 | 303 | First – cut the cost of prescription drugs. Just look at insulin. One in ten Americans has diabetes. In Virginia, I met a 13-year-old boy named Joshua Davis. 304 | 305 | He and his Dad both have Type 1 diabetes, which means they need insulin every day. Insulin costs about $10 a vial to make. 306 | 307 | But drug companies charge families like Joshua and his Dad up to 30 times more. I spoke with Joshua’s mom. 308 | 309 | Imagine what it’s like to look at your child who needs insulin and have no idea how you’re going to pay for it. 310 | 311 | What it does to your dignity, your ability to look your child in the eye, to be the parent you expect to be. 312 | 313 | Joshua is here with us tonight. Yesterday was his birthday. Happy birthday, buddy. 314 | 315 | For Joshua, and for the 200,000 other young people with Type 1 diabetes, let’s cap the cost of insulin at $35 a month so everyone can afford it. 316 | 317 | Drug companies will still do very well. And while we’re at it let Medicare negotiate lower prices for prescription drugs, like the VA already does. 318 | 319 | Look, the American Rescue Plan is helping millions of families on Affordable Care Act plans save $2,400 a year on their health care premiums. Let’s close the coverage gap and make those savings permanent. 320 | 321 | Second – cut energy costs for families an average of $500 a year by combatting climate change. 322 | 323 | Let’s provide investments and tax credits to weatherize your homes and businesses to be energy efficient and you get a tax credit; double America’s clean energy production in solar, wind, and so much more; lower the price of electric vehicles, saving you another $80 a month because you’ll never have to pay at the gas pump again. 324 | 325 | Third – cut the cost of child care. Many families pay up to $14,000 a year for child care per child. 326 | 327 | Middle-class and working families shouldn’t have to pay more than 7% of their income for care of young children. 328 | 329 | My plan will cut the cost in half for most families and help parents, including millions of women, who left the workforce during the pandemic because they couldn’t afford child care, to be able to get back to work. 330 | 331 | My plan doesn’t stop there. It also includes home and long-term care. More affordable housing. And Pre-K for every 3- and 4-year-old. 332 | 333 | All of these will lower costs. 334 | 335 | And under my plan, nobody earning less than $400,000 a year will pay an additional penny in new taxes. Nobody. 336 | 337 | The one thing all Americans agree on is that the tax system is not fair. We have to fix it. 338 | 339 | I’m not looking to punish anyone. But let’s make sure corporations and the wealthiest Americans start paying their fair share. 340 | 341 | Just last year, 55 Fortune 500 corporations earned $40 billion in profits and paid zero dollars in federal income tax. 342 | 343 | That’s simply not fair. That’s why I’ve proposed a 15% minimum tax rate for corporations. 344 | 345 | We got more than 130 countries to agree on a global minimum tax rate so companies can’t get out of paying their taxes at home by shipping jobs and factories overseas. 346 | 347 | That’s why I’ve proposed closing loopholes so the very wealthy don’t pay a lower tax rate than a teacher or a firefighter. 348 | 349 | So that’s my plan. It will grow the economy and lower costs for families. 350 | 351 | So what are we waiting for? Let’s get this done. And while you’re at it, confirm my nominees to the Federal Reserve, which plays a critical role in fighting inflation. 352 | 353 | My plan will not only lower costs to give families a fair shot, it will lower the deficit. 354 | 355 | The previous Administration not only ballooned the deficit with tax cuts for the very wealthy and corporations, it undermined the watchdogs whose job was to keep pandemic relief funds from being wasted. 356 | 357 | But in my administration, the watchdogs have been welcomed back. 358 | 359 | We’re going after the criminals who stole billions in relief money meant for small businesses and millions of Americans. 360 | 361 | And tonight, I’m announcing that the Justice Department will name a chief prosecutor for pandemic fraud. 362 | 363 | By the end of this year, the deficit will be down to less than half what it was before I took office. 364 | 365 | The only president ever to cut the deficit by more than one trillion dollars in a single year. 366 | 367 | Lowering your costs also means demanding more competition. 368 | 369 | I’m a capitalist, but capitalism without competition isn’t capitalism. 370 | 371 | It’s exploitation—and it drives up prices. 372 | 373 | When corporations don’t have to compete, their profits go up, your prices go up, and small businesses and family farmers and ranchers go under. 374 | 375 | We see it happening with ocean carriers moving goods in and out of America. 376 | 377 | During the pandemic, these foreign-owned companies raised prices by as much as 1,000% and made record profits. 378 | 379 | Tonight, I’m announcing a crackdown on these companies overcharging American businesses and consumers. 380 | 381 | And as Wall Street firms take over more nursing homes, quality in those homes has gone down and costs have gone up. 382 | 383 | That ends on my watch. 384 | 385 | Medicare is going to set higher standards for nursing homes and make sure your loved ones get the care they deserve and expect. 386 | 387 | We’ll also cut costs and keep the economy going strong by giving workers a fair shot, provide more training and apprenticeships, hire them based on their skills not degrees. 388 | 389 | Let’s pass the Paycheck Fairness Act and paid leave. 390 | 391 | Raise the minimum wage to $15 an hour and extend the Child Tax Credit, so no one has to raise a family in poverty. 392 | 393 | Let’s increase Pell Grants and increase our historic support of HBCUs, and invest in what Jill—our First Lady who teaches full-time—calls America’s best-kept secret: community colleges. 394 | 395 | And let’s pass the PRO Act when a majority of workers want to form a union—they shouldn’t be stopped. 396 | 397 | When we invest in our workers, when we build the economy from the bottom up and the middle out together, we can do something we haven’t done in a long time: build a better America. 398 | 399 | For more than two years, COVID-19 has impacted every decision in our lives and the life of the nation. 400 | 401 | And I know you’re tired, frustrated, and exhausted. 402 | 403 | But I also know this. 404 | 405 | Because of the progress we’ve made, because of your resilience and the tools we have, tonight I can say 406 | we are moving forward safely, back to more normal routines. 407 | 408 | We’ve reached a new moment in the fight against COVID-19, with severe cases down to a level not seen since last July. 409 | 410 | Just a few days ago, the Centers for Disease Control and Prevention—the CDC—issued new mask guidelines. 411 | 412 | Under these new guidelines, most Americans in most of the country can now be mask free. 413 | 414 | And based on the projections, more of the country will reach that point across the next couple of weeks. 415 | 416 | Thanks to the progress we have made this past year, COVID-19 need no longer control our lives. 417 | 418 | I know some are talking about “living with COVID-19”. Tonight – I say that we will never just accept living with COVID-19. 419 | 420 | We will continue to combat the virus as we do other diseases. And because this is a virus that mutates and spreads, we will stay on guard. 421 | 422 | Here are four common sense steps as we move forward safely. 423 | 424 | First, stay protected with vaccines and treatments. We know how incredibly effective vaccines are. If you’re vaccinated and boosted you have the highest degree of protection. 425 | 426 | We will never give up on vaccinating more Americans. Now, I know parents with kids under 5 are eager to see a vaccine authorized for their children. 427 | 428 | The scientists are working hard to get that done and we’ll be ready with plenty of vaccines when they do. 429 | 430 | We’re also ready with anti-viral treatments. If you get COVID-19, the Pfizer pill reduces your chances of ending up in the hospital by 90%. 431 | 432 | We’ve ordered more of these pills than anyone in the world. And Pfizer is working overtime to get us 1 Million pills this month and more than double that next month. 433 | 434 | And we’re launching the “Test to Treat” initiative so people can get tested at a pharmacy, and if they’re positive, receive antiviral pills on the spot at no cost. 435 | 436 | If you’re immunocompromised or have some other vulnerability, we have treatments and free high-quality masks. 437 | 438 | We’re leaving no one behind or ignoring anyone’s needs as we move forward. 439 | 440 | And on testing, we have made hundreds of millions of tests available for you to order for free. 441 | 442 | Even if you already ordered free tests tonight, I am announcing that you can order more from covidtests.gov starting next week. 443 | 444 | Second – we must prepare for new variants. Over the past year, we’ve gotten much better at detecting new variants. 445 | 446 | If necessary, we’ll be able to deploy new vaccines within 100 days instead of many more months or years. 447 | 448 | And, if Congress provides the funds we need, we’ll have new stockpiles of tests, masks, and pills ready if needed. 449 | 450 | I cannot promise a new variant won’t come. But I can promise you we’ll do everything within our power to be ready if it does. 451 | 452 | Third – we can end the shutdown of schools and businesses. We have the tools we need. 453 | 454 | It’s time for Americans to get back to work and fill our great downtowns again. People working from home can feel safe to begin to return to the office. 455 | 456 | We’re doing that here in the federal government. The vast majority of federal workers will once again work in person. 457 | 458 | Our schools are open. Let’s keep it that way. Our kids need to be in school. 459 | 460 | And with 75% of adult Americans fully vaccinated and hospitalizations down by 77%, most Americans can remove their masks, return to work, stay in the classroom, and move forward safely. 461 | 462 | We achieved this because we provided free vaccines, treatments, tests, and masks. 463 | 464 | Of course, continuing this costs money. 465 | 466 | I will soon send Congress a request. 467 | 468 | The vast majority of Americans have used these tools and may want to again, so I expect Congress to pass it quickly. 469 | 470 | Fourth, we will continue vaccinating the world. 471 | 472 | We’ve sent 475 Million vaccine doses to 112 countries, more than any other nation. 473 | 474 | And we won’t stop. 475 | 476 | We have lost so much to COVID-19. Time with one another. And worst of all, so much loss of life. 477 | 478 | Let’s use this moment to reset. Let’s stop looking at COVID-19 as a partisan dividing line and see it for what it is: A God-awful disease. 479 | 480 | Let’s stop seeing each other as enemies, and start seeing each other for who we really are: Fellow Americans. 481 | 482 | We can’t change how divided we’ve been. But we can change how we move forward—on COVID-19 and other issues we must face together. 483 | 484 | I recently visited the New York City Police Department days after the funerals of Officer Wilbert Mora and his partner, Officer Jason Rivera. 485 | 486 | They were responding to a 9-1-1 call when a man shot and killed them with a stolen gun. 487 | 488 | Officer Mora was 27 years old. 489 | 490 | Officer Rivera was 22. 491 | 492 | Both Dominican Americans who’d grown up on the same streets they later chose to patrol as police officers. 493 | 494 | I spoke with their families and told them that we are forever in debt for their sacrifice, and we will carry on their mission to restore the trust and safety every community deserves. 495 | 496 | I’ve worked on these issues a long time. 497 | 498 | I know what works: Investing in crime preventionand community police officers who’ll walk the beat, who’ll know the neighborhood, and who can restore trust and safety. 499 | 500 | So let’s not abandon our streets. Or choose between safety and equal justice. 501 | 502 | Let’s come together to protect our communities, restore trust, and hold law enforcement accountable. 503 | 504 | That’s why the Justice Department required body cameras, banned chokeholds, and restricted no-knock warrants for its officers. 505 | 506 | That’s why the American Rescue Plan provided $350 Billion that cities, states, and counties can use to hire more police and invest in proven strategies like community violence interruption—trusted messengers breaking the cycle of violence and trauma and giving young people hope. 507 | 508 | We should all agree: The answer is not to Defund the police. The answer is to FUND the police with the resources and training they need to protect our communities. 509 | 510 | I ask Democrats and Republicans alike: Pass my budget and keep our neighborhoods safe. 511 | 512 | And I will keep doing everything in my power to crack down on gun trafficking and ghost guns you can buy online and make at home—they have no serial numbers and can’t be traced. 513 | 514 | And I ask Congress to pass proven measures to reduce gun violence. Pass universal background checks. Why should anyone on a terrorist list be able to purchase a weapon? 515 | 516 | Ban assault weapons and high-capacity magazines. 517 | 518 | Repeal the liability shield that makes gun manufacturers the only industry in America that can’t be sued. 519 | 520 | These laws don’t infringe on the Second Amendment. They save lives. 521 | 522 | The most fundamental right in America is the right to vote – and to have it counted. And it’s under assault. 523 | 524 | In state after state, new laws have been passed, not only to suppress the vote, but to subvert entire elections. 525 | 526 | We cannot let this happen. 527 | 528 | Tonight. I call on the Senate to: Pass the Freedom to Vote Act. Pass the John Lewis Voting Rights Act. And while you’re at it, pass the Disclose Act so Americans can know who is funding our elections. 529 | 530 | Tonight, I’d like to honor someone who has dedicated his life to serve this country: Justice Stephen Breyer—an Army veteran, Constitutional scholar, and retiring Justice of the United States Supreme Court. Justice Breyer, thank you for your service. 531 | 532 | One of the most serious constitutional responsibilities a President has is nominating someone to serve on the United States Supreme Court. 533 | 534 | And I did that 4 days ago, when I nominated Circuit Court of Appeals Judge Ketanji Brown Jackson. One of our nation’s top legal minds, who will continue Justice Breyer’s legacy of excellence. 535 | 536 | A former top litigator in private practice. A former federal public defender. And from a family of public school educators and police officers. A consensus builder. Since she’s been nominated, she’s received a broad range of support—from the Fraternal Order of Police to former judges appointed by Democrats and Republicans. 537 | 538 | And if we are to advance liberty and justice, we need to secure the Border and fix the immigration system. 539 | 540 | We can do both. At our border, we’ve installed new technology like cutting-edge scanners to better detect drug smuggling. 541 | 542 | We’ve set up joint patrols with Mexico and Guatemala to catch more human traffickers. 543 | 544 | We’re putting in place dedicated immigration judges so families fleeing persecution and violence can have their cases heard faster. 545 | 546 | We’re securing commitments and supporting partners in South and Central America to host more refugees and secure their own borders. 547 | 548 | We can do all this while keeping lit the torch of liberty that has led generations of immigrants to this land—my forefathers and so many of yours. 549 | 550 | Provide a pathway to citizenship for Dreamers, those on temporary status, farm workers, and essential workers. 551 | 552 | Revise our laws so businesses have the workers they need and families don’t wait decades to reunite. 553 | 554 | It’s not only the right thing to do—it’s the economically smart thing to do. 555 | 556 | That’s why immigration reform is supported by everyone from labor unions to religious leaders to the U.S. Chamber of Commerce. 557 | 558 | Let’s get it done once and for all. 559 | 560 | Advancing liberty and justice also requires protecting the rights of women. 561 | 562 | The constitutional right affirmed in Roe v. Wade—standing precedent for half a century—is under attack as never before. 563 | 564 | If we want to go forward—not backward—we must protect access to health care. Preserve a woman’s right to choose. And let’s continue to advance maternal health care in America. 565 | 566 | And for our LGBTQ+ Americans, let’s finally get the bipartisan Equality Act to my desk. The onslaught of state laws targeting transgender Americans and their families is wrong. 567 | 568 | As I said last year, especially to our younger transgender Americans, I will always have your back as your President, so you can be yourself and reach your God-given potential. 569 | 570 | While it often appears that we never agree, that isn’t true. I signed 80 bipartisan bills into law last year. From preventing government shutdowns to protecting Asian-Americans from still-too-common hate crimes to reforming military justice. 571 | 572 | And soon, we’ll strengthen the Violence Against Women Act that I first wrote three decades ago. It is important for us to show the nation that we can come together and do big things. 573 | 574 | So tonight I’m offering a Unity Agenda for the Nation. Four big things we can do together. 575 | 576 | First, beat the opioid epidemic. 577 | 578 | There is so much we can do. Increase funding for prevention, treatment, harm reduction, and recovery. 579 | 580 | Get rid of outdated rules that stop doctors from prescribing treatments. And stop the flow of illicit drugs by working with state and local law enforcement to go after traffickers. 581 | 582 | If you’re suffering from addiction, know you are not alone. I believe in recovery, and I celebrate the 23 million Americans in recovery. 583 | 584 | Second, let’s take on mental health. Especially among our children, whose lives and education have been turned upside down. 585 | 586 | The American Rescue Plan gave schools money to hire teachers and help students make up for lost learning. 587 | 588 | I urge every parent to make sure your school does just that. And we can all play a part—sign up to be a tutor or a mentor. 589 | 590 | Children were also struggling before the pandemic. Bullying, violence, trauma, and the harms of social media. 591 | 592 | As Frances Haugen, who is here with us tonight, has shown, we must hold social media platforms accountable for the national experiment they’re conducting on our children for profit. 593 | 594 | It’s time to strengthen privacy protections, ban targeted advertising to children, demand tech companies stop collecting personal data on our children. 595 | 596 | And let’s get all Americans the mental health services they need. More people they can turn to for help, and full parity between physical and mental health care. 597 | 598 | Third, support our veterans. 599 | 600 | Veterans are the best of us. 601 | 602 | I’ve always believed that we have a sacred obligation to equip all those we send to war and care for them and their families when they come home. 603 | 604 | My administration is providing assistance with job training and housing, and now helping lower-income veterans get VA care debt-free. 605 | 606 | Our troops in Iraq and Afghanistan faced many dangers. 607 | 608 | One was stationed at bases and breathing in toxic smoke from “burn pits” that incinerated wastes of war—medical and hazard material, jet fuel, and more. 609 | 610 | When they came home, many of the world’s fittest and best trained warriors were never the same. 611 | 612 | Headaches. Numbness. Dizziness. 613 | 614 | A cancer that would put them in a flag-draped coffin. 615 | 616 | I know. 617 | 618 | One of those soldiers was my son Major Beau Biden. 619 | 620 | We don’t know for sure if a burn pit was the cause of his brain cancer, or the diseases of so many of our troops. 621 | 622 | But I’m committed to finding out everything we can. 623 | 624 | Committed to military families like Danielle Robinson from Ohio. 625 | 626 | The widow of Sergeant First Class Heath Robinson. 627 | 628 | He was born a soldier. Army National Guard. Combat medic in Kosovo and Iraq. 629 | 630 | Stationed near Baghdad, just yards from burn pits the size of football fields. 631 | 632 | Heath’s widow Danielle is here with us tonight. They loved going to Ohio State football games. He loved building Legos with their daughter. 633 | 634 | But cancer from prolonged exposure to burn pits ravaged Heath’s lungs and body. 635 | 636 | Danielle says Heath was a fighter to the very end. 637 | 638 | He didn’t know how to stop fighting, and neither did she. 639 | 640 | Through her pain she found purpose to demand we do better. 641 | 642 | Tonight, Danielle—we are. 643 | 644 | The VA is pioneering new ways of linking toxic exposures to diseases, already helping more veterans get benefits. 645 | 646 | And tonight, I’m announcing we’re expanding eligibility to veterans suffering from nine respiratory cancers. 647 | 648 | I’m also calling on Congress: pass a law to make sure veterans devastated by toxic exposures in Iraq and Afghanistan finally get the benefits and comprehensive health care they deserve. 649 | 650 | And fourth, let’s end cancer as we know it. 651 | 652 | This is personal to me and Jill, to Kamala, and to so many of you. 653 | 654 | Cancer is the #2 cause of death in America–second only to heart disease. 655 | 656 | Last month, I announced our plan to supercharge 657 | the Cancer Moonshot that President Obama asked me to lead six years ago. 658 | 659 | Our goal is to cut the cancer death rate by at least 50% over the next 25 years, turn more cancers from death sentences into treatable diseases. 660 | 661 | More support for patients and families. 662 | 663 | To get there, I call on Congress to fund ARPA-H, the Advanced Research Projects Agency for Health. 664 | 665 | It’s based on DARPA—the Defense Department project that led to the Internet, GPS, and so much more. 666 | 667 | ARPA-H will have a singular purpose—to drive breakthroughs in cancer, Alzheimer’s, diabetes, and more. 668 | 669 | A unity agenda for the nation. 670 | 671 | We can do this. 672 | 673 | My fellow Americans—tonight , we have gathered in a sacred space—the citadel of our democracy. 674 | 675 | In this Capitol, generation after generation, Americans have debated great questions amid great strife, and have done great things. 676 | 677 | We have fought for freedom, expanded liberty, defeated totalitarianism and terror. 678 | 679 | And built the strongest, freest, and most prosperous nation the world has ever known. 680 | 681 | Now is the hour. 682 | 683 | Our moment of responsibility. 684 | 685 | Our test of resolve and conscience, of history itself. 686 | 687 | It is in this moment that our character is formed. Our purpose is found. Our future is forged. 688 | 689 | Well I know this nation. 690 | 691 | We will meet the test. 692 | 693 | To protect freedom and liberty, to expand fairness and opportunity. 694 | 695 | We will save democracy. 696 | 697 | As hard as these times have been, I am more optimistic about America today than I have been my whole life. 698 | 699 | Because I see the future that is within our grasp. 700 | 701 | Because I know there is simply nothing beyond our capacity. 702 | 703 | We are the only nation on Earth that has always turned every crisis we have faced into an opportunity. 704 | 705 | The only nation that can be defined by a single word: possibilities. 706 | 707 | So on this night, in our 245th year as a nation, I have come to report on the State of the Union. 708 | 709 | And my report is this: the State of the Union is strong—because you, the American people, are strong. 710 | 711 | We are stronger today than we were a year ago. 712 | 713 | And we will be stronger a year from now than we are today. 714 | 715 | Now is our moment to meet and overcome the challenges of our time. 716 | 717 | And we will, as one people. 718 | 719 | One America. 720 | 721 | The United States of America. 722 | 723 | May God bless you all. May God protect our troops. -------------------------------------------------------------------------------- /build/app.js: -------------------------------------------------------------------------------- 1 | import "dotenv/config"; 2 | import { OpenAIEmbeddings } from "@langchain/openai"; 3 | import { TextLoader } from "langchain/document_loaders/fs/text"; 4 | import { DocxLoader } from "langchain/document_loaders/fs/docx"; 5 | import natural from "natural"; 6 | import * as math from "mathjs"; 7 | import { quantile } from "d3-array"; 8 | import { RecursiveCharacterTextSplitter } from "langchain/text_splitter"; 9 | const loadTextFile = async (relativePath) => { 10 | const loader = new TextLoader(relativePath); 11 | const docs = await loader.load(); 12 | const textCorpus = docs[0].pageContent; 13 | return textCorpus; 14 | }; 15 | const loadDocxFile = async (relativePath) => { 16 | const loader = new DocxLoader(relativePath); 17 | const docs = await loader.load(); 18 | const textCorpus = docs[0].pageContent; 19 | return textCorpus; 20 | }; 21 | const splitToSentencesUsingNLP = (textCorpus) => { 22 | const tokenizer = new natural.SentenceTokenizerNew(); 23 | const sentences = tokenizer.tokenize(textCorpus); 24 | return sentences; 25 | }; 26 | const splitToSentences = async (textCorpus) => { 27 | const splitter = new RecursiveCharacterTextSplitter({ 28 | chunkSize: 200, 29 | chunkOverlap: 20, 30 | }); 31 | const output = await splitter.createDocuments([textCorpus]); 32 | return output.map((out) => out.pageContent); 33 | }; 34 | const structureSentences = (sentences, bufferSize = 1) => { 35 | const sentenceObjectArray = sentences.map((sentence, i) => ({ 36 | sentence, 37 | index: i, 38 | })); 39 | sentenceObjectArray.forEach((currentSentenceObject, i) => { 40 | let combinedSentence = ""; 41 | for (let j = i - bufferSize; j < i; j++) { 42 | if (j >= 0) { 43 | combinedSentence += sentenceObjectArray[j].sentence + " "; 44 | } 45 | } 46 | combinedSentence += currentSentenceObject.sentence + " "; 47 | for (let j = i + 1; j <= i + bufferSize; j++) { 48 | if (j < sentenceObjectArray.length) { 49 | combinedSentence += sentenceObjectArray[j].sentence; 50 | } 51 | } 52 | sentenceObjectArray[i].combined_sentence = combinedSentence.trim(); 53 | }); 54 | return sentenceObjectArray; 55 | }; 56 | const generateAndAttachEmbeddings = async (sentencesArray) => { 57 | const embeddings = new OpenAIEmbeddings(); 58 | const sentencesArrayCopy = sentencesArray.map((sentenceObject) => ({ 59 | ...sentenceObject, 60 | combined_sentence_embedding: sentenceObject.combined_sentence_embedding 61 | ? [...sentenceObject.combined_sentence_embedding] 62 | : undefined, 63 | })); 64 | const combinedSentencesStrings = sentencesArrayCopy 65 | .filter((item) => item.combined_sentence !== undefined) 66 | .map((item) => item.combined_sentence); 67 | const embeddingsArray = await embeddings.embedDocuments(combinedSentencesStrings); 68 | let embeddingIndex = 0; 69 | for (let i = 0; i < sentencesArrayCopy.length; i++) { 70 | if (sentencesArrayCopy[i].combined_sentence !== undefined) { 71 | sentencesArrayCopy[i].combined_sentence_embedding = 72 | embeddingsArray[embeddingIndex++]; 73 | } 74 | } 75 | return sentencesArrayCopy; 76 | }; 77 | const cosineSimilarity = (vecA, vecB) => { 78 | const dotProduct = math.dot(vecA, vecB); 79 | const normA = math.norm(vecA); 80 | const normB = math.norm(vecB); 81 | if (normA === 0 || normB === 0) { 82 | return 0; 83 | } 84 | const similarity = dotProduct / (normA * normB); 85 | return similarity; 86 | }; 87 | const calculateCosineDistancesAndSignificantShifts = (sentenceObjectArray, percentileThreshold) => { 88 | const distances = []; 89 | const updatedSentenceObjectArray = sentenceObjectArray.map((item, index, array) => { 90 | if (index < array.length - 1 && 91 | item.combined_sentence_embedding && 92 | array[index + 1].combined_sentence_embedding) { 93 | const embeddingCurrent = item.combined_sentence_embedding; 94 | const embeddingNext = array[index + 1].combined_sentence_embedding; 95 | const similarity = cosineSimilarity(embeddingCurrent, embeddingNext); 96 | const distance = 1 - similarity; 97 | distances.push(distance); 98 | return { ...item, distance_to_next: distance }; 99 | } 100 | else { 101 | return { ...item, distance_to_next: undefined }; 102 | } 103 | }); 104 | const sortedDistances = [...distances].sort((a, b) => a - b); 105 | const quantileThreshold = percentileThreshold / 100; 106 | const breakpointDistanceThreshold = quantile(sortedDistances, quantileThreshold); 107 | if (breakpointDistanceThreshold === undefined) { 108 | throw new Error("Failed to calculate breakpoint distance threshold"); 109 | } 110 | const significantShiftIndices = distances 111 | .map((distance, index) => distance > breakpointDistanceThreshold ? index : -1) 112 | .filter((index) => index !== -1); 113 | return { 114 | updatedArray: updatedSentenceObjectArray, 115 | significantShiftIndices, 116 | }; 117 | }; 118 | const groupSentencesIntoChunks = (sentenceObjectArray, shiftIndices) => { 119 | let startIdx = 0; 120 | const chunks = []; 121 | const adjustedBreakpoints = [...shiftIndices, sentenceObjectArray.length - 1]; 122 | adjustedBreakpoints.forEach((breakpoint) => { 123 | const group = sentenceObjectArray.slice(startIdx, breakpoint + 1); 124 | const combinedText = group.map((item) => item.sentence).join(" "); 125 | chunks.push(combinedText); 126 | startIdx = breakpoint + 1; 127 | }); 128 | return chunks; 129 | }; 130 | async function main() { 131 | try { 132 | const textCorpus = await loadTextFile("assets/state_of_the_union.txt"); 133 | const sentences = splitToSentencesUsingNLP(textCorpus); 134 | const structuredSentences = structureSentences(sentences, 1); 135 | const sentencesWithEmbeddings = await generateAndAttachEmbeddings(structuredSentences); 136 | const { updatedArray, significantShiftIndices } = calculateCosineDistancesAndSignificantShifts(sentencesWithEmbeddings, 90); 137 | const semanticChunks = groupSentencesIntoChunks(updatedArray, significantShiftIndices); 138 | console.log(`Total Chunks Processed : ${semanticChunks.length}`); 139 | console.log("Semantic Chunks:\n"); 140 | semanticChunks.forEach((chunk, index) => { 141 | console.log(`Chunk #${index + 1}:`); 142 | console.log(chunk); 143 | console.log("\n--------------------------------------------------\n"); 144 | }); 145 | } 146 | catch (error) { 147 | console.error("An error occurred in the main function:", error); 148 | } 149 | } 150 | main(); 151 | //# sourceMappingURL=app.js.map -------------------------------------------------------------------------------- /build/app.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"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"} -------------------------------------------------------------------------------- /build/appBak.js: -------------------------------------------------------------------------------- 1 | import "dotenv/config"; 2 | import natural from "natural"; 3 | import { TextLoader } from "langchain/document_loaders/fs/text"; 4 | import { OpenAIEmbeddings } from "@langchain/openai"; 5 | import * as math from "mathjs"; 6 | import { quantile } from "d3-array"; 7 | const tokenizer = new natural.SentenceTokenizer(); 8 | const loader = new TextLoader("assets/essaySmall.txt"); 9 | const docs = await loader.load(); 10 | const textCorpus = docs[0].pageContent; 11 | const sentences = tokenizer.tokenize(textCorpus); 12 | function splitIntoSentences(text) { 13 | const sentenceEndingsRegex = /(?<=[.?!])\s+/; 14 | return text.split(sentenceEndingsRegex); 15 | } 16 | const sentencesDictionaryList = []; 17 | for (let i = 0; i < sentences.length; i++) { 18 | sentencesDictionaryList.push({ 19 | sentence: sentences[i], 20 | index: i, 21 | }); 22 | } 23 | function combineSentences(sentences, bufferSize = 1) { 24 | sentences.forEach((currentSentence, i) => { 25 | let combinedSentence = ""; 26 | for (let j = i - bufferSize; j < i; j++) { 27 | if (j >= 0) { 28 | combinedSentence += sentences[j].sentence + " "; 29 | } 30 | } 31 | combinedSentence += currentSentence.sentence; 32 | for (let j = i + 1; j <= i + bufferSize; j++) { 33 | if (j < sentences.length) { 34 | combinedSentence += " " + sentences[j].sentence; 35 | } 36 | } 37 | sentences[i].combined_sentence = combinedSentence.trim(); 38 | }); 39 | return sentences; 40 | } 41 | const combinedSentences = combineSentences(sentencesDictionaryList); 42 | const embeddings = new OpenAIEmbeddings(); 43 | const combinedSentencesStrings = combinedSentences 44 | .filter((item) => item.combined_sentence !== undefined) 45 | .map((item) => item.combined_sentence); 46 | const embeddingsArray = await embeddings.embedDocuments(combinedSentencesStrings); 47 | const attachEmbeddings = (sentencesArray, embeddingsArray) => { 48 | const newSentencesArray = JSON.parse(JSON.stringify(sentencesArray)); 49 | for (let i = 0; i < newSentencesArray.length; i++) { 50 | if (newSentencesArray[i].combined_sentence !== undefined) { 51 | newSentencesArray[i].combined_sentence_embedding = embeddingsArray[i]; 52 | } 53 | } 54 | return newSentencesArray; 55 | }; 56 | const updatedSentencesWithEmbeddings = attachEmbeddings(combinedSentences, embeddingsArray); 57 | const cosineSimilarity = (vecA, vecB) => { 58 | const dotProduct = math.dot(vecA, vecB); 59 | const normA = math.norm(vecA); 60 | const normB = math.norm(vecB); 61 | if (normA === 0 || normB === 0) { 62 | return 0; 63 | } 64 | const similarity = dotProduct / (normA * normB); 65 | return similarity; 66 | }; 67 | const calculateCosineDistances = (sentenceDictArray) => { 68 | if (sentenceDictArray.length < 2) { 69 | return sentenceDictArray.map((item) => ({ 70 | ...item, 71 | distance_to_next: undefined, 72 | })); 73 | } 74 | const updatedSentenceDictArray = sentenceDictArray.map((item, index, array) => { 75 | if (index < array.length - 1) { 76 | const embeddingCurrent = item.combined_sentence_embedding; 77 | const embeddingNext = array[index + 1].combined_sentence_embedding; 78 | const similarity = cosineSimilarity(embeddingCurrent, embeddingNext); 79 | const distance = 1 - similarity; 80 | return { ...item, distance_to_next: distance }; 81 | } 82 | else { 83 | return { ...item, distance_to_next: undefined }; 84 | } 85 | }); 86 | return updatedSentenceDictArray; 87 | }; 88 | const updatedSentencesWithNextDistance = calculateCosineDistances(updatedSentencesWithEmbeddings); 89 | const distancesArray = updatedSentencesWithNextDistance 90 | .filter((sentence) => sentence.distance_to_next !== undefined) 91 | .map((sentence) => sentence.distance_to_next); 92 | function calculateIndicesAboveThreshold(distances, percentileThreshold) { 93 | const quantileThreshold = percentileThreshold / 100; 94 | const sortedDistances = [...distances].sort((a, b) => a - b); 95 | const breakpointDistanceThreshold = quantile(sortedDistances, quantileThreshold); 96 | if (breakpointDistanceThreshold === undefined) { 97 | throw new Error("Failed to calculate breakpoint distance threshold"); 98 | } 99 | const indicesAboveThresh = distances 100 | .map((distance, index) => distance > breakpointDistanceThreshold ? index : -1) 101 | .filter((index) => index !== -1); 102 | return indicesAboveThresh; 103 | } 104 | const percentileThreshold = 90; 105 | const indicesAboveThresh = calculateIndicesAboveThreshold(distancesArray, percentileThreshold); 106 | const groupSentencesIntoChunks = (sentencesArray, breakpoints) => { 107 | let startIdx = 0; 108 | const chunks = []; 109 | breakpoints.forEach((breakpoint) => { 110 | const endIdx = breakpoint; 111 | const group = sentencesArray.slice(startIdx, endIdx + 1); 112 | const combinedText = group.map((d) => d.sentence).join(" "); 113 | chunks.push(combinedText); 114 | startIdx = breakpoint + 1; 115 | }); 116 | if (startIdx < sentencesArray.length) { 117 | const remainingGroup = sentencesArray.slice(startIdx); 118 | const combinedText = remainingGroup.map((d) => d.sentence).join(" "); 119 | chunks.push(combinedText); 120 | } 121 | return chunks; 122 | }; 123 | const semanticChunks = groupSentencesIntoChunks(updatedSentencesWithNextDistance, indicesAboveThresh); 124 | semanticChunks.forEach((chunk, index) => { 125 | console.log(`Chunk #${index + 1}\n`); 126 | console.log(chunk); 127 | if (index < semanticChunks.length - 1) { 128 | console.log("\n--------------------------------------------------\n"); 129 | } 130 | }); 131 | //# sourceMappingURL=appBak.js.map -------------------------------------------------------------------------------- /build/appBak.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"appBak.js","sourceRoot":"","sources":["../src/appBak.ts"],"names":[],"mappings":"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"} -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ts-template", 3 | "version": "1.0.0", 4 | "description": "", 5 | "type": "module", 6 | "main": "app.js", 7 | "scripts": { 8 | "start:build": "tsc -w", 9 | "start:run": "nodemon build/app.js", 10 | "start": "concurrently npm:start:*" 11 | }, 12 | "keywords": [], 13 | "author": "", 14 | "license": "ISC", 15 | "devDependencies": { 16 | "@types/d3-array": "^3.2.1", 17 | "@types/node": "^20.1.0", 18 | "@types/numjs": "^0.16.8" 19 | }, 20 | "dependencies": { 21 | "@langchain/openai": "^0.0.26", 22 | "compromise": "^14.13.0", 23 | "d3-array": "^3.2.4", 24 | "dotenv": "^16.0.3", 25 | "langchain": "^0.1.31", 26 | "mammoth": "^1.7.1", 27 | "mathjs": "^12.4.1", 28 | "natural": "^6.12.0", 29 | "node-nlp": "^4.27.0", 30 | "numjs": "^0.16.1", 31 | "statistics-js": "^1.0.2", 32 | "youtube-transcript": "^1.1.0", 33 | "youtubei.js": "^9.2.0" 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: '6.0' 2 | 3 | settings: 4 | autoInstallPeers: true 5 | excludeLinksFromLockfile: false 6 | 7 | dependencies: 8 | '@langchain/openai': 9 | specifier: ^0.0.26 10 | version: 0.0.26 11 | compromise: 12 | specifier: ^14.13.0 13 | version: 14.13.0 14 | d3-array: 15 | specifier: ^3.2.4 16 | version: 3.2.4 17 | dotenv: 18 | specifier: ^16.0.3 19 | version: 16.0.3 20 | langchain: 21 | specifier: ^0.1.31 22 | version: 0.1.31(mammoth@1.7.1)(pg@8.11.5)(youtube-transcript@1.1.0)(youtubei.js@9.2.0) 23 | mammoth: 24 | specifier: ^1.7.1 25 | version: 1.7.1 26 | mathjs: 27 | specifier: ^12.4.1 28 | version: 12.4.1 29 | natural: 30 | specifier: ^6.12.0 31 | version: 6.12.0 32 | node-nlp: 33 | specifier: ^4.27.0 34 | version: 4.27.0 35 | numjs: 36 | specifier: ^0.16.1 37 | version: 0.16.1 38 | statistics-js: 39 | specifier: ^1.0.2 40 | version: 1.0.2 41 | youtube-transcript: 42 | specifier: ^1.1.0 43 | version: 1.1.0 44 | youtubei.js: 45 | specifier: ^9.2.0 46 | version: 9.2.0 47 | 48 | devDependencies: 49 | '@types/d3-array': 50 | specifier: ^3.2.1 51 | version: 3.2.1 52 | '@types/node': 53 | specifier: ^20.1.0 54 | version: 20.1.0 55 | '@types/numjs': 56 | specifier: ^0.16.8 57 | version: 0.16.8 58 | 59 | packages: 60 | 61 | /@anthropic-ai/sdk@0.9.1: 62 | resolution: {integrity: sha512-wa1meQ2WSfoY8Uor3EdrJq0jTiZJoKoSii2ZVWRY1oN4Tlr5s59pADg9T79FTbPe1/se5c3pBeZgJL63wmuoBA==} 63 | dependencies: 64 | '@types/node': 18.19.29 65 | '@types/node-fetch': 2.6.11 66 | abort-controller: 3.0.0 67 | agentkeepalive: 4.5.0 68 | digest-fetch: 1.3.0 69 | form-data-encoder: 1.7.2 70 | formdata-node: 4.4.1 71 | node-fetch: 2.7.0 72 | web-streams-polyfill: 3.3.3 73 | transitivePeerDependencies: 74 | - encoding 75 | dev: false 76 | 77 | /@babel/runtime@7.24.4: 78 | resolution: {integrity: sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==} 79 | engines: {node: '>=6.9.0'} 80 | dependencies: 81 | regenerator-runtime: 0.14.1 82 | dev: false 83 | 84 | /@fastify/busboy@2.1.1: 85 | resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} 86 | engines: {node: '>=14'} 87 | dev: false 88 | 89 | /@langchain/community@0.0.44(pg@8.11.5): 90 | resolution: {integrity: sha512-II9Hz90jJmfWRICtxTg1auQWzFw0npqacWiiOpaxNhzs6rptdf56gyfC48Z6n1ii4R8FfAlfX6YxhOE7lGGKXg==} 91 | engines: {node: '>=18'} 92 | peerDependencies: 93 | '@aws-crypto/sha256-js': ^5.0.0 94 | '@aws-sdk/client-bedrock-agent-runtime': ^3.485.0 95 | '@aws-sdk/client-bedrock-runtime': ^3.422.0 96 | '@aws-sdk/client-dynamodb': ^3.310.0 97 | '@aws-sdk/client-kendra': ^3.352.0 98 | '@aws-sdk/client-lambda': ^3.310.0 99 | '@aws-sdk/client-sagemaker-runtime': ^3.310.0 100 | '@aws-sdk/client-sfn': ^3.310.0 101 | '@aws-sdk/credential-provider-node': ^3.388.0 102 | '@azure/search-documents': ^12.0.0 103 | '@clickhouse/client': ^0.2.5 104 | '@cloudflare/ai': '*' 105 | '@datastax/astra-db-ts': ^0.1.4 106 | '@elastic/elasticsearch': ^8.4.0 107 | '@getmetal/metal-sdk': '*' 108 | '@getzep/zep-js': ^0.9.0 109 | '@gomomento/sdk': ^1.51.1 110 | '@gomomento/sdk-core': ^1.51.1 111 | '@google-ai/generativelanguage': ^0.2.1 112 | '@gradientai/nodejs-sdk': ^1.2.0 113 | '@huggingface/inference': ^2.6.4 114 | '@mozilla/readability': '*' 115 | '@opensearch-project/opensearch': '*' 116 | '@pinecone-database/pinecone': '*' 117 | '@planetscale/database': ^1.8.0 118 | '@premai/prem-sdk': ^0.3.25 119 | '@qdrant/js-client-rest': ^1.2.0 120 | '@raycast/api': ^1.55.2 121 | '@rockset/client': ^0.9.1 122 | '@smithy/eventstream-codec': ^2.0.5 123 | '@smithy/protocol-http': ^3.0.6 124 | '@smithy/signature-v4': ^2.0.10 125 | '@smithy/util-utf8': ^2.0.0 126 | '@supabase/postgrest-js': ^1.1.1 127 | '@supabase/supabase-js': ^2.10.0 128 | '@tensorflow-models/universal-sentence-encoder': '*' 129 | '@tensorflow/tfjs-converter': '*' 130 | '@tensorflow/tfjs-core': '*' 131 | '@upstash/redis': ^1.20.6 132 | '@upstash/vector': ^1.0.2 133 | '@vercel/kv': ^0.2.3 134 | '@vercel/postgres': ^0.5.0 135 | '@writerai/writer-sdk': ^0.40.2 136 | '@xata.io/client': ^0.28.0 137 | '@xenova/transformers': ^2.5.4 138 | '@zilliz/milvus2-sdk-node': '>=2.2.7' 139 | better-sqlite3: ^9.4.0 140 | cassandra-driver: ^4.7.2 141 | cborg: ^4.1.1 142 | chromadb: '*' 143 | closevector-common: 0.1.3 144 | closevector-node: 0.1.6 145 | closevector-web: 0.1.6 146 | cohere-ai: '*' 147 | convex: ^1.3.1 148 | couchbase: ^4.3.0 149 | discord.js: ^14.14.1 150 | dria: ^0.0.3 151 | duck-duck-scrape: ^2.2.5 152 | faiss-node: ^0.5.1 153 | firebase-admin: ^11.9.0 || ^12.0.0 154 | google-auth-library: ^8.9.0 155 | googleapis: ^126.0.1 156 | hnswlib-node: ^1.4.2 157 | html-to-text: ^9.0.5 158 | interface-datastore: ^8.2.11 159 | ioredis: ^5.3.2 160 | it-all: ^3.0.4 161 | jsdom: '*' 162 | jsonwebtoken: ^9.0.2 163 | llmonitor: ^0.5.9 164 | lodash: ^4.17.21 165 | lunary: ^0.6.11 166 | mongodb: '>=5.2.0' 167 | mysql2: ^3.3.3 168 | neo4j-driver: '*' 169 | node-llama-cpp: '*' 170 | pg: ^8.11.0 171 | pg-copy-streams: ^6.0.5 172 | pickleparser: ^0.2.1 173 | portkey-ai: ^0.1.11 174 | redis: '*' 175 | replicate: ^0.18.0 176 | typeorm: ^0.3.12 177 | typesense: ^1.5.3 178 | usearch: ^1.1.1 179 | vectordb: ^0.1.4 180 | voy-search: 0.6.2 181 | weaviate-ts-client: '*' 182 | web-auth-library: ^1.0.3 183 | ws: ^8.14.2 184 | peerDependenciesMeta: 185 | '@aws-crypto/sha256-js': 186 | optional: true 187 | '@aws-sdk/client-bedrock-agent-runtime': 188 | optional: true 189 | '@aws-sdk/client-bedrock-runtime': 190 | optional: true 191 | '@aws-sdk/client-dynamodb': 192 | optional: true 193 | '@aws-sdk/client-kendra': 194 | optional: true 195 | '@aws-sdk/client-lambda': 196 | optional: true 197 | '@aws-sdk/client-sagemaker-runtime': 198 | optional: true 199 | '@aws-sdk/client-sfn': 200 | optional: true 201 | '@aws-sdk/credential-provider-node': 202 | optional: true 203 | '@azure/search-documents': 204 | optional: true 205 | '@clickhouse/client': 206 | optional: true 207 | '@cloudflare/ai': 208 | optional: true 209 | '@datastax/astra-db-ts': 210 | optional: true 211 | '@elastic/elasticsearch': 212 | optional: true 213 | '@getmetal/metal-sdk': 214 | optional: true 215 | '@getzep/zep-js': 216 | optional: true 217 | '@gomomento/sdk': 218 | optional: true 219 | '@gomomento/sdk-core': 220 | optional: true 221 | '@google-ai/generativelanguage': 222 | optional: true 223 | '@gradientai/nodejs-sdk': 224 | optional: true 225 | '@huggingface/inference': 226 | optional: true 227 | '@mozilla/readability': 228 | optional: true 229 | '@opensearch-project/opensearch': 230 | optional: true 231 | '@pinecone-database/pinecone': 232 | optional: true 233 | '@planetscale/database': 234 | optional: true 235 | '@premai/prem-sdk': 236 | optional: true 237 | '@qdrant/js-client-rest': 238 | optional: true 239 | '@raycast/api': 240 | optional: true 241 | '@rockset/client': 242 | optional: true 243 | '@smithy/eventstream-codec': 244 | optional: true 245 | '@smithy/protocol-http': 246 | optional: true 247 | '@smithy/signature-v4': 248 | optional: true 249 | '@smithy/util-utf8': 250 | optional: true 251 | '@supabase/postgrest-js': 252 | optional: true 253 | '@supabase/supabase-js': 254 | optional: true 255 | '@tensorflow-models/universal-sentence-encoder': 256 | optional: true 257 | '@tensorflow/tfjs-converter': 258 | optional: true 259 | '@tensorflow/tfjs-core': 260 | optional: true 261 | '@upstash/redis': 262 | optional: true 263 | '@upstash/vector': 264 | optional: true 265 | '@vercel/kv': 266 | optional: true 267 | '@vercel/postgres': 268 | optional: true 269 | '@writerai/writer-sdk': 270 | optional: true 271 | '@xata.io/client': 272 | optional: true 273 | '@xenova/transformers': 274 | optional: true 275 | '@zilliz/milvus2-sdk-node': 276 | optional: true 277 | better-sqlite3: 278 | optional: true 279 | cassandra-driver: 280 | optional: true 281 | cborg: 282 | optional: true 283 | chromadb: 284 | optional: true 285 | closevector-common: 286 | optional: true 287 | closevector-node: 288 | optional: true 289 | closevector-web: 290 | optional: true 291 | cohere-ai: 292 | optional: true 293 | convex: 294 | optional: true 295 | couchbase: 296 | optional: true 297 | discord.js: 298 | optional: true 299 | dria: 300 | optional: true 301 | duck-duck-scrape: 302 | optional: true 303 | faiss-node: 304 | optional: true 305 | firebase-admin: 306 | optional: true 307 | google-auth-library: 308 | optional: true 309 | googleapis: 310 | optional: true 311 | hnswlib-node: 312 | optional: true 313 | html-to-text: 314 | optional: true 315 | interface-datastore: 316 | optional: true 317 | ioredis: 318 | optional: true 319 | it-all: 320 | optional: true 321 | jsdom: 322 | optional: true 323 | jsonwebtoken: 324 | optional: true 325 | llmonitor: 326 | optional: true 327 | lodash: 328 | optional: true 329 | lunary: 330 | optional: true 331 | mongodb: 332 | optional: true 333 | mysql2: 334 | optional: true 335 | neo4j-driver: 336 | optional: true 337 | node-llama-cpp: 338 | optional: true 339 | pg: 340 | optional: true 341 | pg-copy-streams: 342 | optional: true 343 | pickleparser: 344 | optional: true 345 | portkey-ai: 346 | optional: true 347 | redis: 348 | optional: true 349 | replicate: 350 | optional: true 351 | typeorm: 352 | optional: true 353 | typesense: 354 | optional: true 355 | usearch: 356 | optional: true 357 | vectordb: 358 | optional: true 359 | voy-search: 360 | optional: true 361 | weaviate-ts-client: 362 | optional: true 363 | web-auth-library: 364 | optional: true 365 | ws: 366 | optional: true 367 | dependencies: 368 | '@langchain/core': 0.1.54 369 | '@langchain/openai': 0.0.26 370 | expr-eval: 2.0.2 371 | flat: 5.0.2 372 | langsmith: 0.1.14 373 | pg: 8.11.5 374 | uuid: 9.0.1 375 | zod: 3.22.4 376 | zod-to-json-schema: 3.22.5(zod@3.22.4) 377 | transitivePeerDependencies: 378 | - encoding 379 | dev: false 380 | 381 | /@langchain/core@0.1.54: 382 | resolution: {integrity: sha512-87pQ8dnWY8P1Kgnu/SgnRijLRNSEzTzkjBK6O/Z1klXf/eQTXAG5O5cKwe3lwM6Afn+4U2byzSMYjwViAYuR4g==} 383 | engines: {node: '>=18'} 384 | dependencies: 385 | ansi-styles: 5.2.0 386 | camelcase: 6.3.0 387 | decamelize: 1.2.0 388 | js-tiktoken: 1.0.10 389 | langsmith: 0.1.14 390 | ml-distance: 4.0.1 391 | p-queue: 6.6.2 392 | p-retry: 4.6.2 393 | uuid: 9.0.1 394 | zod: 3.22.4 395 | zod-to-json-schema: 3.22.5(zod@3.22.4) 396 | dev: false 397 | 398 | /@langchain/openai@0.0.26: 399 | resolution: {integrity: sha512-FpqYvVRP2CkFFjTLrj2tbXeY6JTIgbq8tRoi0rvGzmhRpoi6cWHlfgclSzDm+e6P9DqKBkzDjo6SPTJgTOabNA==} 400 | engines: {node: '>=18'} 401 | dependencies: 402 | '@langchain/core': 0.1.54 403 | js-tiktoken: 1.0.10 404 | openai: 4.32.2 405 | zod: 3.22.4 406 | zod-to-json-schema: 3.22.5(zod@3.22.4) 407 | transitivePeerDependencies: 408 | - encoding 409 | dev: false 410 | 411 | /@microsoft/recognizers-text-choice@1.3.1: 412 | resolution: {integrity: sha512-HubunMJVq/OetmdvcAmBh5skMlg+yiScm3V2wNyNZIVvLgli4+8nzbg/W/fI9dpaf6wv9ZQ7d2IYvn8swJBo3A==} 413 | engines: {node: '>=10.3.0'} 414 | dependencies: 415 | '@microsoft/recognizers-text': 1.3.1 416 | grapheme-splitter: 1.0.4 417 | dev: false 418 | 419 | /@microsoft/recognizers-text-data-types-timex-expression@1.3.1: 420 | resolution: {integrity: sha512-jarJIFIJZBqeofy3hh0vdQo1yOmTM+jCjj6/zmo9JunsQ6LO750eZHCg9eLptQhsvq321XCt5xdRNLCwU8YeNA==} 421 | engines: {node: '>=10.3.0'} 422 | dev: false 423 | 424 | /@microsoft/recognizers-text-date-time@1.3.2: 425 | resolution: {integrity: sha512-fUEGOTccS55ZY0erzjS1bunJYA9lGXjcZoru5oPOlnxbJS4Lk0ylgdH2Ub2EjAyqr8DIJhdLNOEesCdAXMvlNg==} 426 | engines: {node: '>=10.3.0'} 427 | dependencies: 428 | '@microsoft/recognizers-text': 1.3.1 429 | '@microsoft/recognizers-text-number': 1.3.1 430 | '@microsoft/recognizers-text-number-with-unit': 1.3.1 431 | lodash: 4.17.21 432 | dev: false 433 | 434 | /@microsoft/recognizers-text-number-with-unit@1.3.1: 435 | resolution: {integrity: sha512-gzCpPP4zQ5Vb+RHaWjzP2t1c+mj6GYOsFoI2NyJkm8OZ52XI+x9SJCgrrD2ujzjOd5/CQVC46rE22rfGwXLDkA==} 436 | engines: {node: '>=10.3.0'} 437 | dependencies: 438 | '@microsoft/recognizers-text': 1.3.1 439 | '@microsoft/recognizers-text-number': 1.3.1 440 | lodash: 4.17.21 441 | dev: false 442 | 443 | /@microsoft/recognizers-text-number@1.3.1: 444 | resolution: {integrity: sha512-JBxhSdihdQLQilCtqISEBw5kM+CNGTXzy5j5hNoZECNUEvBUPkAGNEJAeQPMP5abrYks29aSklnSvSyLObXaNQ==} 445 | engines: {node: '>=10.3.0'} 446 | dependencies: 447 | '@microsoft/recognizers-text': 1.3.1 448 | bignumber.js: 7.2.1 449 | lodash: 4.17.21 450 | dev: false 451 | 452 | /@microsoft/recognizers-text-sequence@1.3.1: 453 | resolution: {integrity: sha512-J7Kg35hpm0NcFHmu69Bb4q7DPDiSpCd8ApUZqNm59itIjrQJHpSdl9HF6JxuQQz0Ftc/li5ZLqSuupJAmA/sgg==} 454 | engines: {node: '>=10.3.0'} 455 | dependencies: 456 | '@microsoft/recognizers-text': 1.3.1 457 | grapheme-splitter: 1.0.4 458 | dev: false 459 | 460 | /@microsoft/recognizers-text-suite@1.3.0: 461 | resolution: {integrity: sha512-uqG4vzy5N2CmBaeINny0bLdnGp0jDbT1moNoLC+Yim3G8kHOU9lpDfwA6VN6HTYaDM5854SNMEzLjJdS1TPFTw==} 462 | engines: {node: '>=10.3.0'} 463 | dependencies: 464 | '@microsoft/recognizers-text': 1.3.1 465 | '@microsoft/recognizers-text-choice': 1.3.1 466 | '@microsoft/recognizers-text-data-types-timex-expression': 1.3.1 467 | '@microsoft/recognizers-text-date-time': 1.3.2 468 | '@microsoft/recognizers-text-number': 1.3.1 469 | '@microsoft/recognizers-text-number-with-unit': 1.3.1 470 | '@microsoft/recognizers-text-sequence': 1.3.1 471 | dev: false 472 | 473 | /@microsoft/recognizers-text@1.3.1: 474 | resolution: {integrity: sha512-HikLoRUgSzM4OKP3JVBzUUp3Q7L4wgI17p/3rERF01HVmopcujY3i6wgx8PenCwbenyTNxjr1AwSDSVuFlYedQ==} 475 | engines: {node: '>=10.3.0'} 476 | dev: false 477 | 478 | /@mongodb-js/saslprep@1.1.5: 479 | resolution: {integrity: sha512-XLNOMH66KhJzUJNwT/qlMnS4WsNDWD5ASdyaSH3EtK+F4r/CFGa3jT4GNi4mfOitGvWXtdLgQJkQjxSVrio+jA==} 480 | dependencies: 481 | sparse-bitfield: 3.0.3 482 | dev: false 483 | 484 | /@nlpjs/builtin-duckling@4.26.1: 485 | resolution: {integrity: sha512-3qkH955X2g5MXV1EqT3fTAT/lLEdiqqe5IgBDyr+MQB7FOV9R3YhqGIn3DFOl+TSm/tP5n/BAEptkTNn/TOpmQ==} 486 | dependencies: 487 | '@nlpjs/core': 4.26.1 488 | dev: false 489 | 490 | /@nlpjs/builtin-microsoft@4.26.1: 491 | resolution: {integrity: sha512-AODgzTcfYUf5Ozm00aQnHImDum7Idtl0F9dSPoaXpfj7rZqP8hPZ7iWwdGTAvISH/da2YhjPOU65QSYk2YpjFA==} 492 | dependencies: 493 | '@microsoft/recognizers-text-suite': 1.3.0 494 | '@nlpjs/core': 4.26.1 495 | dev: false 496 | 497 | /@nlpjs/core-loader@4.26.1: 498 | resolution: {integrity: sha512-IiRtn65bdiUSQHy2kusco2fmhk39u2Mc2c5Fsm9+9EVG6BtJCmVEFU/btAzGDAmxEA/E4qKecaAT4LvcW6TPbA==} 499 | dependencies: 500 | '@nlpjs/core': 4.26.1 501 | '@nlpjs/request': 4.25.0 502 | transitivePeerDependencies: 503 | - supports-color 504 | dev: false 505 | 506 | /@nlpjs/core@4.26.1: 507 | resolution: {integrity: sha512-M/PeFddsi3y7Z1piFJxsLGm5/xdMhcrpOsml7s6CTEgYo8iduaT30HDd61tZxDyvvJseU6uFqlXSn7XKkAcC1g==} 508 | dev: false 509 | 510 | /@nlpjs/emoji@4.26.1: 511 | resolution: {integrity: sha512-Q0PoXwIvaB1bnRXK4U/YD7mrqaz29Yfed3s2au0iXl1bffUgoG+hs4GORCvyy7DFCCLlc9d5yDM3oLIX/ggZ+Q==} 512 | dependencies: 513 | '@nlpjs/core': 4.26.1 514 | dev: false 515 | 516 | /@nlpjs/evaluator@4.26.1: 517 | resolution: {integrity: sha512-WeUrC8qq7+V8Jhkkjc2yiXdzy9V0wbETv8/qasQmL0QmEuwBDJF+fvfl4z2vWpBb0vW07A8aNrFElKELzbpkdg==} 518 | dependencies: 519 | escodegen: 2.1.0 520 | esprima: 4.0.1 521 | dev: false 522 | 523 | /@nlpjs/lang-all@4.26.1: 524 | resolution: {integrity: sha512-UzRm1JRRAyQqilEOxQ2ySMOitKbhPk5iKYbjD8FREDcPjreUvDxVuQsYUOvYucmEyFcZU2U/TdJx+fX9/bcaKQ==} 525 | dependencies: 526 | '@nlpjs/core': 4.26.1 527 | '@nlpjs/lang-ar': 4.26.1 528 | '@nlpjs/lang-bn': 4.26.1 529 | '@nlpjs/lang-ca': 4.26.1 530 | '@nlpjs/lang-cs': 4.26.1 531 | '@nlpjs/lang-da': 4.26.1 532 | '@nlpjs/lang-de': 4.26.1 533 | '@nlpjs/lang-el': 4.26.1 534 | '@nlpjs/lang-en': 4.26.1 535 | '@nlpjs/lang-es': 4.26.1 536 | '@nlpjs/lang-eu': 4.26.1 537 | '@nlpjs/lang-fa': 4.26.1 538 | '@nlpjs/lang-fi': 4.26.1 539 | '@nlpjs/lang-fr': 4.26.1 540 | '@nlpjs/lang-ga': 4.26.1 541 | '@nlpjs/lang-gl': 4.26.1 542 | '@nlpjs/lang-hi': 4.26.1 543 | '@nlpjs/lang-hu': 4.26.1 544 | '@nlpjs/lang-hy': 4.26.1 545 | '@nlpjs/lang-id': 4.26.1 546 | '@nlpjs/lang-it': 4.26.1 547 | '@nlpjs/lang-ja': 4.26.1 548 | '@nlpjs/lang-ko': 4.26.1 549 | '@nlpjs/lang-lt': 4.26.1 550 | '@nlpjs/lang-ms': 4.26.1 551 | '@nlpjs/lang-ne': 4.26.1 552 | '@nlpjs/lang-nl': 4.26.1 553 | '@nlpjs/lang-no': 4.26.1 554 | '@nlpjs/lang-pl': 4.26.1 555 | '@nlpjs/lang-pt': 4.26.1 556 | '@nlpjs/lang-ro': 4.26.1 557 | '@nlpjs/lang-ru': 4.26.1 558 | '@nlpjs/lang-sl': 4.26.1 559 | '@nlpjs/lang-sr': 4.26.1 560 | '@nlpjs/lang-sv': 4.26.1 561 | '@nlpjs/lang-ta': 4.26.1 562 | '@nlpjs/lang-th': 4.26.1 563 | '@nlpjs/lang-tl': 4.26.1 564 | '@nlpjs/lang-tr': 4.26.1 565 | '@nlpjs/lang-uk': 4.26.1 566 | '@nlpjs/lang-zh': 4.26.1 567 | '@nlpjs/language': 4.25.0 568 | dev: false 569 | 570 | /@nlpjs/lang-ar@4.26.1: 571 | resolution: {integrity: sha512-MUlVtabt9ltG7WyzCQpFJymLJlnEqp3mxhgN9JHyFH7oZMK3REvMovFfvEUAbfiYrJEv/BN5KKLL7yrvUeaHtg==} 572 | dependencies: 573 | '@nlpjs/core': 4.26.1 574 | dev: false 575 | 576 | /@nlpjs/lang-bn@4.26.1: 577 | resolution: {integrity: sha512-sim1iZKBDdehi/yBUKrLW51QvS9uB+sXW7lj+THVqBy5UsnEQvt4gzE0NsC873uJMh66vt2AlHkhzgPH0qH/nQ==} 578 | dependencies: 579 | '@nlpjs/core': 4.26.1 580 | dev: false 581 | 582 | /@nlpjs/lang-ca@4.26.1: 583 | resolution: {integrity: sha512-fD4R5tcAB0uYtNxSEF20b1KmF6nUQSbiJqrIUJI5yis4ObjCYRQnSh4bjVDKUKxyONjbD6L8EaK5GrY1/jkwFQ==} 584 | dependencies: 585 | '@nlpjs/core': 4.26.1 586 | dev: false 587 | 588 | /@nlpjs/lang-cs@4.26.1: 589 | resolution: {integrity: sha512-CqI6VB8toaJ/MlP1D4K9BctA6GpZJhMKyEy+OX9xavDe4r4ao/SxlSaIYK3izK0k+J38lJWC5lXYGazfCdTGjA==} 590 | dependencies: 591 | '@nlpjs/core': 4.26.1 592 | dev: false 593 | 594 | /@nlpjs/lang-da@4.26.1: 595 | resolution: {integrity: sha512-krI/ojeDSi329ENM/hLIsbUh1x4XRTKAbtPcbFxAY6XVhcSVoWPO7L77jFTL1NQeE1oGRFzGHaeC9hZJ8phVbA==} 596 | dependencies: 597 | '@nlpjs/core': 4.26.1 598 | dev: false 599 | 600 | /@nlpjs/lang-de@4.26.1: 601 | resolution: {integrity: sha512-HfZQwsE5FICq9taVZDiyktmdAePVF5948NM80et0d9mx43RWDFhHKQYgtJPwfQXtdCoQtOM5TOJ2FanGwzPeaA==} 602 | dependencies: 603 | '@nlpjs/core': 4.26.1 604 | dev: false 605 | 606 | /@nlpjs/lang-el@4.26.1: 607 | resolution: {integrity: sha512-pcOvuSwPCXxI+2xNZZzM4V5pTRDntYoJi0SP/ic2nV4IPQ0nU2j16dYfg1HlvET/E6iN1VTqghrCaf10SMkDGA==} 608 | dependencies: 609 | '@nlpjs/core': 4.26.1 610 | dev: false 611 | 612 | /@nlpjs/lang-en-min@4.26.1: 613 | resolution: {integrity: sha512-1sJZ7dy7ysqzbsB8IklguvB88J8EPIv4XGVkZCcwecKtOw+fp5LAsZ3TJVmEf18iK1gD4cEGr7qZg5fpPxTpWQ==} 614 | dependencies: 615 | '@nlpjs/core': 4.26.1 616 | dev: false 617 | 618 | /@nlpjs/lang-en@4.26.1: 619 | resolution: {integrity: sha512-GVoJpOjyk5TtBAqo/fxsiuuH7jXycyakGT0gw5f01u9lOmUnpJegvXyGff/Nb0j14pXcGHXOhmpWrcTrG2B0LQ==} 620 | dependencies: 621 | '@nlpjs/core': 4.26.1 622 | '@nlpjs/lang-en-min': 4.26.1 623 | dev: false 624 | 625 | /@nlpjs/lang-es@4.26.1: 626 | resolution: {integrity: sha512-fIPQt+WPcNdyxZOCMkOPlMb4Y1iE585QxjB9IAdFz8ZtVg7mc4dlv5f46ud7ppdMh84iLOuOdo6pzu2Cqm14lw==} 627 | dependencies: 628 | '@nlpjs/core': 4.26.1 629 | dev: false 630 | 631 | /@nlpjs/lang-eu@4.26.1: 632 | resolution: {integrity: sha512-Ha8GHTbgQYd7dwHM8aWHDyxmbUNUcyu/5xlBKqqBOPxysDyZ6Ad0tvj0FmJBy6mYhqmFTPBnEAo69cfuFSqWIQ==} 633 | dependencies: 634 | '@nlpjs/core': 4.26.1 635 | dev: false 636 | 637 | /@nlpjs/lang-fa@4.26.1: 638 | resolution: {integrity: sha512-qJCmNXgJZnfNXUnKnxvEGEzSFBdQT4XU7/rMxuFmSJqmQY7fH/Vsmi5CKF94VRBPOIV4ULlEJuLpUWHXRmOnVQ==} 639 | dependencies: 640 | '@nlpjs/core': 4.26.1 641 | dev: false 642 | 643 | /@nlpjs/lang-fi@4.26.1: 644 | resolution: {integrity: sha512-W/rUcrzSh3KE07q2vOsssTpU1sbX32gbBzKPZfRJ2ZUF4afO+eHxmAywikXubP4kiU3JxVNLvXXEjuGD3SBUbA==} 645 | dependencies: 646 | '@nlpjs/core': 4.26.1 647 | dev: false 648 | 649 | /@nlpjs/lang-fr@4.26.1: 650 | resolution: {integrity: sha512-LTA852atCJnHtKDmtjx/ui5AnvEIkrPx+MJQ2mB3gn8ko6i2UITnJgPmJE9Kej5bLasVZOAJvU/SrfXEmnPGOw==} 651 | dependencies: 652 | '@nlpjs/core': 4.26.1 653 | dev: false 654 | 655 | /@nlpjs/lang-ga@4.26.1: 656 | resolution: {integrity: sha512-JsP1CZ8r3Jd6o/Az7cN3exz0HDP3FNYLzh4Vi6ksEkdKF0yCjJ9G5dXZYqS9qFIN5ffemWn29G4WRELY6QH/cQ==} 657 | dependencies: 658 | '@nlpjs/core': 4.26.1 659 | dev: false 660 | 661 | /@nlpjs/lang-gl@4.26.1: 662 | resolution: {integrity: sha512-y1NNu6NVy/6o5UNfihgg0WkSlVr4IvKA5W193CpRLZWS4FccQDmnFFhyYWRkshyDbgEsfsZ0Rs3BoE82+T2Ubg==} 663 | dependencies: 664 | '@nlpjs/core': 4.26.1 665 | dev: false 666 | 667 | /@nlpjs/lang-hi@4.26.1: 668 | resolution: {integrity: sha512-Fw9rXqF5l8q9etJG5uOlEFpnMVjQEWMaCIgQfEcA1yTvieSV8mpoSvQkEZl+DFhww+azareoJ7ZCkx0gJ9UDuQ==} 669 | dependencies: 670 | '@nlpjs/core': 4.26.1 671 | dev: false 672 | 673 | /@nlpjs/lang-hu@4.26.1: 674 | resolution: {integrity: sha512-7dPUn5/ZpLZmsdRwO+dtORuMIiIpnsWbgSLIKdOLh8irhgUR+M2bYTfkdnKcrEcHzHPP8Svn7pU0xk7OKSUA1w==} 675 | dependencies: 676 | '@nlpjs/core': 4.26.1 677 | dev: false 678 | 679 | /@nlpjs/lang-hy@4.26.1: 680 | resolution: {integrity: sha512-T2brpLGDJryAwWmjtnmY8Ot6ZUkCz+/nRR9/QM1PybvZIqOVLjJqA49bqjJfT5DMN89HbwC7I/15NTT0y09i1Q==} 681 | dependencies: 682 | '@nlpjs/core': 4.26.1 683 | dev: false 684 | 685 | /@nlpjs/lang-id@4.26.1: 686 | resolution: {integrity: sha512-rVuIkYFKdltFhMT/a2ZxD9ovoZSVZF7OPuqYjTXW9xKd3Ff32yUrzcf/pHXlqmZOSltqOH3E5jZRRDkHvgUOjQ==} 687 | dependencies: 688 | '@nlpjs/core': 4.26.1 689 | dev: false 690 | 691 | /@nlpjs/lang-it@4.26.1: 692 | resolution: {integrity: sha512-BZA3QnfQGW91gYaybRmHnCAPBvQggtmHZJrAmuBZUKUS12HoQm8uybjw2fZO+vahEeUQceKNDISRcT1eLLijog==} 693 | dependencies: 694 | '@nlpjs/core': 4.26.1 695 | dev: false 696 | 697 | /@nlpjs/lang-ja@4.26.1: 698 | resolution: {integrity: sha512-QgkuJOkHguRFyfnckH2It5/Kg8zecnOMJsHxYeuDC4tBF7jL/5xqWis+679lYLsXtAkrG8+fjVcBbjyopP0KHg==} 699 | dependencies: 700 | '@nlpjs/core': 4.26.1 701 | kuromoji: 0.1.2 702 | dev: false 703 | 704 | /@nlpjs/lang-ko@4.26.1: 705 | resolution: {integrity: sha512-Q0N8bLJJ829ILWCKH1UQWPSNyuLaEURAXCawkDju4pt33DBLcpqz9IzO9dnqiFc+fjSgVzZ7WMaLT18hXZQ9vg==} 706 | dependencies: 707 | '@nlpjs/core': 4.26.1 708 | dev: false 709 | 710 | /@nlpjs/lang-lt@4.26.1: 711 | resolution: {integrity: sha512-SeYZxRhdCy+ClQNnF/u0MAtcDui/ocdk4NtgNOCuwNTNuzhN3t3rfGeArfBGmZeg1SIeBLUDE9dsTxYCv5AOEg==} 712 | dependencies: 713 | '@nlpjs/core': 4.26.1 714 | dev: false 715 | 716 | /@nlpjs/lang-ms@4.26.1: 717 | resolution: {integrity: sha512-KxWBS+tFY2U8z9UrjQIqMM40npGDOskP5DcWhaEE3zuhzf3RTDYjy8sdz34jVd0fBdbPihX133h3bFibg2Cm7w==} 718 | dependencies: 719 | '@nlpjs/core': 4.26.1 720 | '@nlpjs/lang-id': 4.26.1 721 | dev: false 722 | 723 | /@nlpjs/lang-ne@4.26.1: 724 | resolution: {integrity: sha512-K3E2l+0LTESv+dO+ZTIdvNa+zwMJvvnMiFYYkKvJst6lhc8JgvGOsPxGsjJn6PDhI3wyfQu+dg3b+bnVPu4FDA==} 725 | dependencies: 726 | '@nlpjs/core': 4.26.1 727 | dev: false 728 | 729 | /@nlpjs/lang-nl@4.26.1: 730 | resolution: {integrity: sha512-I/mP1RRbUN4BQ+8NXAl2FKaLHbb7f6S8JVjxHQ0sKHT4BgQ3+r0yO+DVcEsHg+vWRiY1Fyzh0gq0PhLVnF6HnA==} 731 | dependencies: 732 | '@nlpjs/core': 4.26.1 733 | dev: false 734 | 735 | /@nlpjs/lang-no@4.26.1: 736 | resolution: {integrity: sha512-a0CLL2c/OCzbg7J7ugyrsAksI96XhkQ3IeBbbx60o5o/9wsFNik6cPWrkpoE5xNtw7gLlAJWabwDiZXkl8Zrcw==} 737 | dependencies: 738 | '@nlpjs/core': 4.26.1 739 | dev: false 740 | 741 | /@nlpjs/lang-pl@4.26.1: 742 | resolution: {integrity: sha512-nrDXlq+TzQLE5IpXPIlFMzd8OpquvApWsouh6fmLsD9HZLZI4O3w1M4sXXLzE+9Ggu9Cy1m1QJ0/i7XCcv115g==} 743 | dependencies: 744 | '@nlpjs/core': 4.26.1 745 | dev: false 746 | 747 | /@nlpjs/lang-pt@4.26.1: 748 | resolution: {integrity: sha512-p6yZHaJ0e+n0avMHpdDw5PMk4HkKXjPbOMbrlg0dF+VRqChjxfH478Q423rDyzu/4MzDsIYB+p6KzL9AARKXpg==} 749 | dependencies: 750 | '@nlpjs/core': 4.26.1 751 | dev: false 752 | 753 | /@nlpjs/lang-ro@4.26.1: 754 | resolution: {integrity: sha512-baUdTA0DWpDR0Tn6fxo+RDN/6gbuINLCARtHwap2UR/HKQWP2XoH/DIvcjZpwUTalr5MQjso31epcdeRRapczA==} 755 | dependencies: 756 | '@nlpjs/core': 4.26.1 757 | dev: false 758 | 759 | /@nlpjs/lang-ru@4.26.1: 760 | resolution: {integrity: sha512-NaZ2DAOGxWG2Us9IyIDs3m6vhGpUaUJRVgzzHHyX3LO3xEYjZmtnA0jEpBaTOe2PuNHThv0WCZUNn9BSurV3PA==} 761 | dependencies: 762 | '@nlpjs/core': 4.26.1 763 | dev: false 764 | 765 | /@nlpjs/lang-sl@4.26.1: 766 | resolution: {integrity: sha512-QBJwcJt+oKUpAnHKNJkLkx9Xm1n4dUPC5GPYfAXTnJZf0hNWJSY21GicdWi7Vu/qFJ3ghIqtSP8D7KIPLnibNw==} 767 | dependencies: 768 | '@nlpjs/core': 4.26.1 769 | dev: false 770 | 771 | /@nlpjs/lang-sr@4.26.1: 772 | resolution: {integrity: sha512-drH3+UqTW637uLWsnLrcp8jEKUGxV61ZgCBjNkVQNEv1/jbpSg6IqgynSY2JyhtnlV0f870KS0HvSbyo5AD4Ng==} 773 | dependencies: 774 | '@nlpjs/core': 4.26.1 775 | dev: false 776 | 777 | /@nlpjs/lang-sv@4.26.1: 778 | resolution: {integrity: sha512-2axkrYFC02tAlxCWeiEKISbe4dSteciP1CIggO/dZglnnLWgdF+g7kOeYMn7abCfFVSnh5vLqfDkrwnyIqt7Ag==} 779 | dependencies: 780 | '@nlpjs/core': 4.26.1 781 | dev: false 782 | 783 | /@nlpjs/lang-ta@4.26.1: 784 | resolution: {integrity: sha512-keeh+croa1TAirV9Fd3OQMo5IkAlTGNWTNweHbi/htYMX0MKOPYxyqg+VH2bml+57VY2aUj/WYgV/p3ATx9EfQ==} 785 | dependencies: 786 | '@nlpjs/core': 4.26.1 787 | dev: false 788 | 789 | /@nlpjs/lang-th@4.26.1: 790 | resolution: {integrity: sha512-2SWZhrln3rMw8/DsRc9yS5bi3qEdGfw2pq9Uejx/UYED5zvvL6kh9AiCJZT4k0wMBGEwWUV6HxJ0Pq/jOTHogg==} 791 | dependencies: 792 | '@nlpjs/core': 4.26.1 793 | dev: false 794 | 795 | /@nlpjs/lang-tl@4.26.1: 796 | resolution: {integrity: sha512-AzmLtg28tm0VXCm0Q0EY3OtA3m4oYxaqh4VX6uhB4J+PoEsIkm0py12SJxMNIsh/r98pobCumH8KH9bvHQoCAg==} 797 | dependencies: 798 | '@nlpjs/core': 4.26.1 799 | dev: false 800 | 801 | /@nlpjs/lang-tr@4.26.1: 802 | resolution: {integrity: sha512-p30uuXvE9pZeU/5XkrQfvxRgiAOBmP3EyBFGV/+P05PEogaqbsmmtVCgCnR63yeRvVnGbToPBPjRK3OO1y4AEQ==} 803 | dependencies: 804 | '@nlpjs/core': 4.26.1 805 | dev: false 806 | 807 | /@nlpjs/lang-uk@4.26.1: 808 | resolution: {integrity: sha512-PVEvmlhvl6BL3e/Q4qjMPsnwON3cWEYvDh9dg+Si+sjD2Edu9tajolJKcQ6ZA4I8dXrld5xuXx+DEBH/uB4uWQ==} 809 | dependencies: 810 | '@nlpjs/core': 4.26.1 811 | dev: false 812 | 813 | /@nlpjs/lang-zh@4.26.1: 814 | resolution: {integrity: sha512-kwqeqeEgMAMvucVX9HNE1p6s/2APP23ZsS8Um/lNvtswb4gL5jjYF9kyCvRfqlPBQSWWdRv7wwcnNXOvXYkxcQ==} 815 | dependencies: 816 | '@nlpjs/core': 4.26.1 817 | dev: false 818 | 819 | /@nlpjs/language-min@4.25.0: 820 | resolution: {integrity: sha512-g8jtbDbqtRm+dlD/1Vnb4VWfKbKteApEGVTqIMxYkk6N/HMhvLZ5J2svrxzrB98a/HZ0fb//YBfFgymnz9Oukg==} 821 | dev: false 822 | 823 | /@nlpjs/language@4.25.0: 824 | resolution: {integrity: sha512-tUF6QENoUQ/E26RYc32IgsttStSF9cNO4ySN+BQECn8VpjukWdwbMw073MlOLXzjfeobxa+3hCVrmPPcW+V3UA==} 825 | dev: false 826 | 827 | /@nlpjs/ner@4.27.0: 828 | resolution: {integrity: sha512-ptwkxriJdmgHSH9TfP10JQ1jviaSl2SupSFGUvTuWkuJhobQd3hbnlSq40V6XYvJNmqh9M9zEab/AKeghxYOTA==} 829 | dependencies: 830 | '@nlpjs/core': 4.26.1 831 | '@nlpjs/language-min': 4.25.0 832 | '@nlpjs/similarity': 4.26.1 833 | dev: false 834 | 835 | /@nlpjs/neural@4.25.0: 836 | resolution: {integrity: sha512-Oz20denGiBe0DlQsS7lN4TNrATN1nXlHKc/HB6jJPegjVmgJVCugDaHwIGoV7qOWyA6F2fRRwOgD+quNT2gVpg==} 837 | dev: false 838 | 839 | /@nlpjs/nlg@4.26.1: 840 | resolution: {integrity: sha512-PCJWiZ7464ChXXUGvjBZIFtoqkC24Oy6X63HgQrSv+63svz22Y5Cmu1MYLk77Nb+4keWv+hKhFJKDkvJoOpBVg==} 841 | dependencies: 842 | '@nlpjs/core': 4.26.1 843 | dev: false 844 | 845 | /@nlpjs/nlp@4.27.0: 846 | resolution: {integrity: sha512-q6X7sY6TYVnQRZJKF/6mfLFlNA5oRYLhgQ5k3i1IBqH9lbWTAZJr31w/dCf97HXaYaj+vJp3h0ucfNumme9EIw==} 847 | dependencies: 848 | '@nlpjs/core': 4.26.1 849 | '@nlpjs/ner': 4.27.0 850 | '@nlpjs/nlg': 4.26.1 851 | '@nlpjs/nlu': 4.27.0 852 | '@nlpjs/sentiment': 4.26.1 853 | '@nlpjs/slot': 4.26.1 854 | dev: false 855 | 856 | /@nlpjs/nlu@4.27.0: 857 | resolution: {integrity: sha512-j4DUdoXS/y/Xag6ysYXx7Ve8NBmUVViUSCJhj3r49+zGyYtyVAHuVcqSej5q0tJjn0JSMT+6+ip8klON1q8ixw==} 858 | dependencies: 859 | '@nlpjs/core': 4.26.1 860 | '@nlpjs/language-min': 4.25.0 861 | '@nlpjs/neural': 4.25.0 862 | '@nlpjs/similarity': 4.26.1 863 | dev: false 864 | 865 | /@nlpjs/request@4.25.0: 866 | resolution: {integrity: sha512-MPVYWfFZY03WyFL7GWkUkv8tw968OXsdxFSJEvjXHzhiCe/vAlPCWbvoR+VnoQTgzLHxs/KIF6sIF2s9AzsLmQ==} 867 | dependencies: 868 | http-proxy-agent: 5.0.0 869 | https-proxy-agent: 5.0.1 870 | transitivePeerDependencies: 871 | - supports-color 872 | dev: false 873 | 874 | /@nlpjs/sentiment@4.26.1: 875 | resolution: {integrity: sha512-U2WmcW3w6yDDO45+Y7v5e6DPQj8e0x+RUUePPyRu2uIZmUtIKG+qCPMWnNLMmYQZoSQEFxmMMlLcGDC7tN7o3w==} 876 | dependencies: 877 | '@nlpjs/core': 4.26.1 878 | '@nlpjs/language-min': 4.25.0 879 | '@nlpjs/neural': 4.25.0 880 | dev: false 881 | 882 | /@nlpjs/similarity@4.26.1: 883 | resolution: {integrity: sha512-QutSBFGo/huNuz60PgqCjub0oBd9S8MLrjme33U5GzxuSvToQzXtn9/ynIia8qDm009D09VXV+LPeNE4h7yuSg==} 884 | dev: false 885 | 886 | /@nlpjs/slot@4.26.1: 887 | resolution: {integrity: sha512-mK8EEy5O+mRGne822PIKMxHSFh8j+iC7hGJ6T31XdFsNhFEYXLI/0dmeBstZgTSKBTe27HNFgCCwuGb77u0o9w==} 888 | dev: false 889 | 890 | /@nlpjs/xtables@4.25.0: 891 | resolution: {integrity: sha512-+baCtMZIp+aDqODLQs8Wyyke5qUqQkL8AGWsZzwYuJV8S7xdW2+XklRnHnkFc3p3foC248TkzG5L8j9r6INOtg==} 892 | dependencies: 893 | xlsx: 0.18.5 894 | dev: false 895 | 896 | /@redis/bloom@1.2.0(@redis/client@1.5.14): 897 | resolution: {integrity: sha512-HG2DFjYKbpNmVXsa0keLHp/3leGJz1mjh09f2RLGGLQZzSHpkmZWuwJbAvo3QcRY8p80m5+ZdXZdYOSBLlp7Cg==} 898 | peerDependencies: 899 | '@redis/client': ^1.0.0 900 | dependencies: 901 | '@redis/client': 1.5.14 902 | dev: false 903 | 904 | /@redis/client@1.5.14: 905 | resolution: {integrity: sha512-YGn0GqsRBFUQxklhY7v562VMOP0DcmlrHHs3IV1mFE3cbxe31IITUkqhBcIhVSI/2JqtWAJXg5mjV4aU+zD0HA==} 906 | engines: {node: '>=14'} 907 | dependencies: 908 | cluster-key-slot: 1.1.2 909 | generic-pool: 3.9.0 910 | yallist: 4.0.0 911 | dev: false 912 | 913 | /@redis/graph@1.1.1(@redis/client@1.5.14): 914 | resolution: {integrity: sha512-FEMTcTHZozZciLRl6GiiIB4zGm5z5F3F6a6FZCyrfxdKOhFlGkiAqlexWMBzCi4DcRoyiOsuLfW+cjlGWyExOw==} 915 | peerDependencies: 916 | '@redis/client': ^1.0.0 917 | dependencies: 918 | '@redis/client': 1.5.14 919 | dev: false 920 | 921 | /@redis/json@1.0.6(@redis/client@1.5.14): 922 | resolution: {integrity: sha512-rcZO3bfQbm2zPRpqo82XbW8zg4G/w4W3tI7X8Mqleq9goQjAGLL7q/1n1ZX4dXEAmORVZ4s1+uKLaUOg7LrUhw==} 923 | peerDependencies: 924 | '@redis/client': ^1.0.0 925 | dependencies: 926 | '@redis/client': 1.5.14 927 | dev: false 928 | 929 | /@redis/search@1.1.6(@redis/client@1.5.14): 930 | resolution: {integrity: sha512-mZXCxbTYKBQ3M2lZnEddwEAks0Kc7nauire8q20oA0oA/LoA+E/b5Y5KZn232ztPb1FkIGqo12vh3Lf+Vw5iTw==} 931 | peerDependencies: 932 | '@redis/client': ^1.0.0 933 | dependencies: 934 | '@redis/client': 1.5.14 935 | dev: false 936 | 937 | /@redis/time-series@1.0.5(@redis/client@1.5.14): 938 | resolution: {integrity: sha512-IFjIgTusQym2B5IZJG3XKr5llka7ey84fw/NOYqESP5WUfQs9zz1ww/9+qoz4ka/S6KcGBodzlCeZ5UImKbscg==} 939 | peerDependencies: 940 | '@redis/client': ^1.0.0 941 | dependencies: 942 | '@redis/client': 1.5.14 943 | dev: false 944 | 945 | /@tootallnate/once@2.0.0: 946 | resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} 947 | engines: {node: '>= 10'} 948 | dev: false 949 | 950 | /@types/d3-array@3.2.1: 951 | resolution: {integrity: sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg==} 952 | dev: true 953 | 954 | /@types/ndarray@1.0.14: 955 | resolution: {integrity: sha512-oANmFZMnFQvb219SSBIhI1Ih/r4CvHDOzkWyJS/XRqkMrGH5/kaPSA1hQhdIBzouaE+5KpE/f5ylI9cujmckQg==} 956 | dev: true 957 | 958 | /@types/node-fetch@2.6.11: 959 | resolution: {integrity: sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==} 960 | dependencies: 961 | '@types/node': 20.1.0 962 | form-data: 4.0.0 963 | dev: false 964 | 965 | /@types/node@18.19.29: 966 | resolution: {integrity: sha512-5pAX7ggTmWZdhUrhRWLPf+5oM7F80bcKVCBbr0zwEkTNzTJL2CWQjznpFgHYy6GrzkYi2Yjy7DHKoynFxqPV8g==} 967 | dependencies: 968 | undici-types: 5.26.5 969 | dev: false 970 | 971 | /@types/node@20.1.0: 972 | resolution: {integrity: sha512-O+z53uwx64xY7D6roOi4+jApDGFg0qn6WHcxe5QeqjMaTezBO/mxdfFXIVAVVyNWKx84OmPB3L8kbVYOTeN34A==} 973 | 974 | /@types/numjs@0.16.8: 975 | resolution: {integrity: sha512-R1XUByNtSFNh6vRdwTZxV0q2wRnZYI7eyqdA7SjDiCdbywdbgheUS0axFWIEk3cHtt7oIy5i1yDFW5H9pwQqqg==} 976 | dependencies: 977 | '@types/ndarray': 1.0.14 978 | dev: true 979 | 980 | /@types/retry@0.12.0: 981 | resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} 982 | dev: false 983 | 984 | /@types/uuid@9.0.8: 985 | resolution: {integrity: sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==} 986 | dev: false 987 | 988 | /@types/webidl-conversions@7.0.3: 989 | resolution: {integrity: sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA==} 990 | dev: false 991 | 992 | /@types/whatwg-url@11.0.4: 993 | resolution: {integrity: sha512-lXCmTWSHJvf0TRSO58nm978b8HJ/EdsSsEKLd3ODHFjo+3VGAyyTp4v50nWvwtzBxSMQrVOK7tcuN0zGPLICMw==} 994 | dependencies: 995 | '@types/webidl-conversions': 7.0.3 996 | dev: false 997 | 998 | /@xmldom/xmldom@0.8.10: 999 | resolution: {integrity: sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==} 1000 | engines: {node: '>=10.0.0'} 1001 | dev: false 1002 | 1003 | /abort-controller@3.0.0: 1004 | resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} 1005 | engines: {node: '>=6.5'} 1006 | dependencies: 1007 | event-target-shim: 5.0.1 1008 | dev: false 1009 | 1010 | /acorn@7.4.1: 1011 | resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} 1012 | engines: {node: '>=0.4.0'} 1013 | hasBin: true 1014 | dev: false 1015 | 1016 | /acorn@8.11.3: 1017 | resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} 1018 | engines: {node: '>=0.4.0'} 1019 | hasBin: true 1020 | dev: false 1021 | 1022 | /adler-32@1.3.1: 1023 | resolution: {integrity: sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==} 1024 | engines: {node: '>=0.8'} 1025 | dev: false 1026 | 1027 | /afinn-165-financialmarketnews@3.0.0: 1028 | resolution: {integrity: sha512-0g9A1S3ZomFIGDTzZ0t6xmv4AuokBvBmpes8htiyHpH7N4xDmvSQL6UxL/Zcs2ypRb3VwgCscaD8Q3zEawKYhw==} 1029 | dev: false 1030 | 1031 | /afinn-165@1.0.4: 1032 | resolution: {integrity: sha512-7+Wlx3BImrK0HiG6y3lU4xX7SpBPSSu8T9iguPMlaueRFxjbYwAQrp9lqZUuFikqKbd/en8lVREILvP2J80uJA==} 1033 | dev: false 1034 | 1035 | /agent-base@6.0.2: 1036 | resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} 1037 | engines: {node: '>= 6.0.0'} 1038 | dependencies: 1039 | debug: 4.3.4 1040 | transitivePeerDependencies: 1041 | - supports-color 1042 | dev: false 1043 | 1044 | /agentkeepalive@4.5.0: 1045 | resolution: {integrity: sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==} 1046 | engines: {node: '>= 8.0.0'} 1047 | dependencies: 1048 | humanize-ms: 1.2.1 1049 | dev: false 1050 | 1051 | /align-text@0.1.4: 1052 | resolution: {integrity: sha512-GrTZLRpmp6wIC2ztrWW9MjjTgSKccffgFagbNDOX95/dcjEcYZibYTeaOntySQLcdw1ztBoFkviiUvTMbb9MYg==} 1053 | engines: {node: '>=0.10.0'} 1054 | dependencies: 1055 | kind-of: 3.2.2 1056 | longest: 1.0.1 1057 | repeat-string: 1.6.1 1058 | dev: false 1059 | 1060 | /amdefine@1.0.1: 1061 | resolution: {integrity: sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg==} 1062 | engines: {node: '>=0.4.2'} 1063 | requiresBuild: true 1064 | dev: false 1065 | optional: true 1066 | 1067 | /ansi-regex@2.1.1: 1068 | resolution: {integrity: sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==} 1069 | engines: {node: '>=0.10.0'} 1070 | dev: false 1071 | 1072 | /ansi-styles@5.2.0: 1073 | resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} 1074 | engines: {node: '>=10'} 1075 | dev: false 1076 | 1077 | /apparatus@0.0.10: 1078 | resolution: {integrity: sha512-KLy/ugo33KZA7nugtQ7O0E1c8kQ52N3IvD/XgIh4w/Nr28ypfkwDfA67F1ev4N1m5D+BOk1+b2dEJDfpj/VvZg==} 1079 | engines: {node: '>=0.2.6'} 1080 | dependencies: 1081 | sylvester: 0.0.12 1082 | dev: false 1083 | 1084 | /aproba@1.2.0: 1085 | resolution: {integrity: sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==} 1086 | dev: false 1087 | 1088 | /are-we-there-yet@1.1.7: 1089 | resolution: {integrity: sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==} 1090 | dependencies: 1091 | delegates: 1.0.0 1092 | readable-stream: 2.3.8 1093 | dev: false 1094 | 1095 | /argparse@1.0.10: 1096 | resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} 1097 | dependencies: 1098 | sprintf-js: 1.0.3 1099 | dev: false 1100 | 1101 | /argparse@2.0.1: 1102 | resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} 1103 | dev: false 1104 | 1105 | /array-flatten@3.0.0: 1106 | resolution: {integrity: sha512-zPMVc3ZYlGLNk4mpK1NzP2wg0ml9t7fUgDsayR5Y5rSzxQilzR9FGu/EH2jQOcKSAeAfWeylyW8juy3OkWRvNA==} 1107 | dev: false 1108 | 1109 | /async@2.6.4: 1110 | resolution: {integrity: sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==} 1111 | dependencies: 1112 | lodash: 4.17.21 1113 | dev: false 1114 | 1115 | /asynckit@0.4.0: 1116 | resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} 1117 | dev: false 1118 | 1119 | /base-64@0.1.0: 1120 | resolution: {integrity: sha512-Y5gU45svrR5tI2Vt/X9GPd3L0HNIKzGu202EjxrXMpuc2V2CiKgemAbUUsqYmZJvPtCXoUKjNZwBJzsNScUbXA==} 1121 | dev: false 1122 | 1123 | /base64-js@1.5.1: 1124 | resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} 1125 | dev: false 1126 | 1127 | /bignumber.js@7.2.1: 1128 | resolution: {integrity: sha512-S4XzBk5sMB+Rcb/LNcpzXr57VRTxgAvaAEDAl1AwRx27j00hT84O6OkteE7u8UB3NuaaygCRrEpqox4uDOrbdQ==} 1129 | dev: false 1130 | 1131 | /binary-extensions@2.3.0: 1132 | resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} 1133 | engines: {node: '>=8'} 1134 | dev: false 1135 | 1136 | /binary-search@1.3.6: 1137 | resolution: {integrity: sha512-nbE1WxOTTrUWIfsfZ4aHGYu5DOuNkbxGokjV6Z2kxfJK3uaAb8zNK1muzOeipoLHZjInT4Br88BHpzevc681xA==} 1138 | dev: false 1139 | 1140 | /bindings@1.5.0: 1141 | resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} 1142 | dependencies: 1143 | file-uri-to-path: 1.0.0 1144 | dev: false 1145 | 1146 | /bit-twiddle@1.0.2: 1147 | resolution: {integrity: sha512-B9UhK0DKFZhoTFcfvAzhqsjStvGJp9vYWf3+6SNTtdSQnvIgfkHbgHrg/e4+TH71N2GDu8tpmCVoyfrL1d7ntA==} 1148 | dev: false 1149 | 1150 | /bl@4.1.0: 1151 | resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} 1152 | dependencies: 1153 | buffer: 5.7.1 1154 | inherits: 2.0.4 1155 | readable-stream: 3.6.2 1156 | dev: false 1157 | 1158 | /bluebird@3.4.7: 1159 | resolution: {integrity: sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA==} 1160 | dev: false 1161 | 1162 | /bson@6.6.0: 1163 | resolution: {integrity: sha512-BVINv2SgcMjL4oYbBuCQTpE3/VKOSxrOA8Cj/wQP7izSzlBGVomdm+TcUd0Pzy0ytLSSDweCKQ6X3f5veM5LQA==} 1164 | engines: {node: '>=16.20.1'} 1165 | dev: false 1166 | 1167 | /buffer-from@1.1.2: 1168 | resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} 1169 | dev: false 1170 | 1171 | /buffer@5.7.1: 1172 | resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} 1173 | dependencies: 1174 | base64-js: 1.5.1 1175 | ieee754: 1.2.1 1176 | dev: false 1177 | 1178 | /camelcase@1.2.1: 1179 | resolution: {integrity: sha512-wzLkDa4K/mzI1OSITC+DUyjgIl/ETNHE9QvYgy6J6Jvqyyz4C0Xfd+lQhb19sX2jMpZV4IssUn0VDVmglV+s4g==} 1180 | engines: {node: '>=0.10.0'} 1181 | dev: false 1182 | 1183 | /camelcase@6.3.0: 1184 | resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} 1185 | engines: {node: '>=10'} 1186 | dev: false 1187 | 1188 | /center-align@0.1.3: 1189 | resolution: {integrity: sha512-Baz3aNe2gd2LP2qk5U+sDk/m4oSuwSDcBfayTCTBoWpfIGO5XFxPmjILQII4NGiZjD6DoDI6kf7gKaxkf7s3VQ==} 1190 | engines: {node: '>=0.10.0'} 1191 | dependencies: 1192 | align-text: 0.1.4 1193 | lazy-cache: 1.0.4 1194 | dev: false 1195 | 1196 | /cfb@1.2.2: 1197 | resolution: {integrity: sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==} 1198 | engines: {node: '>=0.8'} 1199 | dependencies: 1200 | adler-32: 1.3.1 1201 | crc-32: 1.2.2 1202 | dev: false 1203 | 1204 | /charenc@0.0.2: 1205 | resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==} 1206 | dev: false 1207 | 1208 | /chownr@1.1.4: 1209 | resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} 1210 | dev: false 1211 | 1212 | /cliui@2.1.0: 1213 | resolution: {integrity: sha512-GIOYRizG+TGoc7Wgc1LiOTLare95R3mzKgoln+Q/lE4ceiYH19gUpl0l0Ffq4lJDEf3FxujMe6IBfOCs7pfqNA==} 1214 | dependencies: 1215 | center-align: 0.1.3 1216 | right-align: 0.1.3 1217 | wordwrap: 0.0.2 1218 | dev: false 1219 | 1220 | /cluster-key-slot@1.1.2: 1221 | resolution: {integrity: sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==} 1222 | engines: {node: '>=0.10.0'} 1223 | dev: false 1224 | 1225 | /code-point-at@1.1.0: 1226 | resolution: {integrity: sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==} 1227 | engines: {node: '>=0.10.0'} 1228 | dev: false 1229 | 1230 | /codepage@1.15.0: 1231 | resolution: {integrity: sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA==} 1232 | engines: {node: '>=0.8'} 1233 | dev: false 1234 | 1235 | /color-convert@1.9.3: 1236 | resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} 1237 | dependencies: 1238 | color-name: 1.1.3 1239 | dev: false 1240 | 1241 | /color-name@1.1.3: 1242 | resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} 1243 | dev: false 1244 | 1245 | /color-name@1.1.4: 1246 | resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} 1247 | dev: false 1248 | 1249 | /color-string@1.9.1: 1250 | resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==} 1251 | dependencies: 1252 | color-name: 1.1.4 1253 | simple-swizzle: 0.2.2 1254 | dev: false 1255 | 1256 | /color@3.2.1: 1257 | resolution: {integrity: sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==} 1258 | dependencies: 1259 | color-convert: 1.9.3 1260 | color-string: 1.9.1 1261 | dev: false 1262 | 1263 | /combined-stream@1.0.8: 1264 | resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} 1265 | engines: {node: '>= 0.8'} 1266 | dependencies: 1267 | delayed-stream: 1.0.0 1268 | dev: false 1269 | 1270 | /commander@10.0.1: 1271 | resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} 1272 | engines: {node: '>=14'} 1273 | dev: false 1274 | 1275 | /complex.js@2.1.1: 1276 | resolution: {integrity: sha512-8njCHOTtFFLtegk6zQo0kkVX1rngygb/KQI6z1qZxlFI3scluC+LVTCFbrkWjBv4vvLlbQ9t88IPMC6k95VTTg==} 1277 | dev: false 1278 | 1279 | /compromise@14.13.0: 1280 | resolution: {integrity: sha512-NqGgcBTRF7Zs3kBWJjKWoYdYTu0tZRcR4yKIA6Ve3KxpD9tgkbDHiVnFrkNYMt26jScrfKPGfVVkGaW++gq4VQ==} 1281 | engines: {node: '>=12.0.0'} 1282 | dependencies: 1283 | efrt: 2.7.0 1284 | grad-school: 0.0.5 1285 | suffix-thumb: 5.0.2 1286 | dev: false 1287 | 1288 | /concat-stream@1.6.2: 1289 | resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==} 1290 | engines: {'0': node >= 0.8} 1291 | dependencies: 1292 | buffer-from: 1.1.2 1293 | inherits: 2.0.4 1294 | readable-stream: 2.3.8 1295 | typedarray: 0.0.6 1296 | dev: false 1297 | 1298 | /console-control-strings@1.1.0: 1299 | resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==} 1300 | dev: false 1301 | 1302 | /core-util-is@1.0.3: 1303 | resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} 1304 | dev: false 1305 | 1306 | /crc-32@1.2.2: 1307 | resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==} 1308 | engines: {node: '>=0.8'} 1309 | hasBin: true 1310 | dev: false 1311 | 1312 | /crypt@0.0.2: 1313 | resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==} 1314 | dev: false 1315 | 1316 | /cwise-compiler@1.1.3: 1317 | resolution: {integrity: sha512-WXlK/m+Di8DMMcCjcWr4i+XzcQra9eCdXIJrgh4TUgh0pIS/yJduLxS9JgefsHJ/YVLdgPtXm9r62W92MvanEQ==} 1318 | dependencies: 1319 | uniq: 1.0.1 1320 | dev: false 1321 | 1322 | /cwise-parser@1.0.3: 1323 | resolution: {integrity: sha512-nAe238ctwjt9l5exq9CQkHS1Tj6YRGAQxqfL4VaN1B2oqG1Ss0VVqIrBG/vyOgN301PI22wL6ZIhe/zA+BO56Q==} 1324 | dependencies: 1325 | esprima: 1.2.5 1326 | uniq: 1.0.1 1327 | dev: false 1328 | 1329 | /cwise@1.0.10: 1330 | resolution: {integrity: sha512-4OQ6FXVTRO2bk/OkIEt0rNqDk63aOv3Siny6ZD2/WN9CH7k8X6XyQdcip4zKg1WG+L8GP5t2zicXbDb+H7Y77Q==} 1331 | dependencies: 1332 | cwise-compiler: 1.1.3 1333 | cwise-parser: 1.0.3 1334 | static-module: 1.5.0 1335 | uglify-js: 2.8.29 1336 | dev: false 1337 | 1338 | /d3-array@3.2.4: 1339 | resolution: {integrity: sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==} 1340 | engines: {node: '>=12'} 1341 | dependencies: 1342 | internmap: 2.0.3 1343 | dev: false 1344 | 1345 | /deasync@0.1.29: 1346 | resolution: {integrity: sha512-EBtfUhVX23CE9GR6m+F8WPeImEE4hR/FW9RkK0PMl9V1t283s0elqsTD8EZjaKX28SY1BW2rYfCgNsAYdpamUw==} 1347 | engines: {node: '>=0.11.0'} 1348 | requiresBuild: true 1349 | dependencies: 1350 | bindings: 1.5.0 1351 | node-addon-api: 1.7.2 1352 | dev: false 1353 | 1354 | /debug@4.3.4: 1355 | resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} 1356 | engines: {node: '>=6.0'} 1357 | peerDependencies: 1358 | supports-color: '*' 1359 | peerDependenciesMeta: 1360 | supports-color: 1361 | optional: true 1362 | dependencies: 1363 | ms: 2.1.2 1364 | dev: false 1365 | 1366 | /decamelize@1.2.0: 1367 | resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} 1368 | engines: {node: '>=0.10.0'} 1369 | dev: false 1370 | 1371 | /decimal.js@10.4.3: 1372 | resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} 1373 | dev: false 1374 | 1375 | /decompress-response@4.2.1: 1376 | resolution: {integrity: sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==} 1377 | engines: {node: '>=8'} 1378 | dependencies: 1379 | mimic-response: 2.1.0 1380 | dev: false 1381 | 1382 | /decompress-response@6.0.0: 1383 | resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==} 1384 | engines: {node: '>=10'} 1385 | dependencies: 1386 | mimic-response: 3.1.0 1387 | dev: false 1388 | 1389 | /deep-extend@0.6.0: 1390 | resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} 1391 | engines: {node: '>=4.0.0'} 1392 | dev: false 1393 | 1394 | /delayed-stream@1.0.0: 1395 | resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} 1396 | engines: {node: '>=0.4.0'} 1397 | dev: false 1398 | 1399 | /delegates@1.0.0: 1400 | resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} 1401 | dev: false 1402 | 1403 | /detect-libc@1.0.3: 1404 | resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==} 1405 | engines: {node: '>=0.10'} 1406 | hasBin: true 1407 | dev: false 1408 | 1409 | /digest-fetch@1.3.0: 1410 | resolution: {integrity: sha512-CGJuv6iKNM7QyZlM2T3sPAdZWd/p9zQiRNS9G+9COUCwzWFTs0Xp8NF5iePx7wtvhDykReiRRrSeNb4oMmB8lA==} 1411 | dependencies: 1412 | base-64: 0.1.0 1413 | md5: 2.3.0 1414 | dev: false 1415 | 1416 | /dingbat-to-unicode@1.0.1: 1417 | resolution: {integrity: sha512-98l0sW87ZT58pU4i61wa2OHwxbiYSbuxsCBozaVnYX2iCnr3bLM3fIes1/ej7h1YdOKuKt/MLs706TVnALA65w==} 1418 | dev: false 1419 | 1420 | /dotenv@16.0.3: 1421 | resolution: {integrity: sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==} 1422 | engines: {node: '>=12'} 1423 | dev: false 1424 | 1425 | /dotenv@16.4.5: 1426 | resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} 1427 | engines: {node: '>=12'} 1428 | dev: false 1429 | 1430 | /doublearray@0.0.2: 1431 | resolution: {integrity: sha512-aw55FtZzT6AmiamEj2kvmR6BuFqvYgKZUkfQ7teqVRNqD5UE0rw8IeW/3gieHNKQ5sPuDKlljWEn4bzv5+1bHw==} 1432 | dev: false 1433 | 1434 | /duck@0.1.12: 1435 | resolution: {integrity: sha512-wkctla1O6VfP89gQ+J/yDesM0S7B7XLXjKGzXxMDVFg7uEn706niAtyYovKbyq1oT9YwDcly721/iUWoc8MVRg==} 1436 | dependencies: 1437 | underscore: 1.13.6 1438 | dev: false 1439 | 1440 | /dup@1.0.0: 1441 | resolution: {integrity: sha512-Bz5jxMMC0wgp23Zm15ip1x8IhYRqJvF3nFC0UInJUDkN1z4uNPk9jTnfCUJXbOGiQ1JbXLQsiV41Fb+HXcj5BA==} 1442 | dev: false 1443 | 1444 | /duplexer2@0.0.2: 1445 | resolution: {integrity: sha512-+AWBwjGadtksxjOQSFDhPNQbed7icNXApT4+2BNpsXzcCBiInq2H9XW0O8sfHFaPmnQRs7cg/P0fAr2IWQSW0g==} 1446 | dependencies: 1447 | readable-stream: 1.1.14 1448 | dev: false 1449 | 1450 | /efrt@2.7.0: 1451 | resolution: {integrity: sha512-/RInbCy1d4P6Zdfa+TMVsf/ufZVotat5hCw3QXmWtjU+3pFEOvOQ7ibo3aIxyCJw2leIeAMjmPj+1SLJiCpdrQ==} 1452 | engines: {node: '>=12.0.0'} 1453 | dev: false 1454 | 1455 | /end-of-stream@1.4.4: 1456 | resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} 1457 | dependencies: 1458 | once: 1.4.0 1459 | dev: false 1460 | 1461 | /escape-latex@1.2.0: 1462 | resolution: {integrity: sha512-nV5aVWW1K0wEiUIEdZ4erkGGH8mDxGyxSeqPzRNtWP7ataw+/olFObw7hujFWlVjNsaDFw5VZ5NzVSIqRgfTiw==} 1463 | dev: false 1464 | 1465 | /escodegen@0.0.28: 1466 | resolution: {integrity: sha512-6ioQhg16lFs5c7XJlJFXIDxBjO4yRvXC9yK6dLNNGuhI3a/fJukHanPF6qtpjGDgAFzI8Wuq3PSIarWmaOq/5A==} 1467 | engines: {node: '>=0.4.0'} 1468 | hasBin: true 1469 | dependencies: 1470 | esprima: 1.0.4 1471 | estraverse: 1.3.2 1472 | optionalDependencies: 1473 | source-map: 0.7.4 1474 | dev: false 1475 | 1476 | /escodegen@1.3.3: 1477 | resolution: {integrity: sha512-z9FWgKc48wjMlpzF5ymKS1AF8OIgnKLp9VyN7KbdtyrP/9lndwUFqCtMm+TAJmJf7KJFFYc4cFJfVTTGkKEwsA==} 1478 | engines: {node: '>=0.10.0'} 1479 | hasBin: true 1480 | dependencies: 1481 | esprima: 1.1.1 1482 | estraverse: 1.5.1 1483 | esutils: 1.0.0 1484 | optionalDependencies: 1485 | source-map: 0.1.43 1486 | dev: false 1487 | 1488 | /escodegen@2.1.0: 1489 | resolution: {integrity: sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==} 1490 | engines: {node: '>=6.0'} 1491 | hasBin: true 1492 | dependencies: 1493 | esprima: 4.0.1 1494 | estraverse: 5.3.0 1495 | esutils: 2.0.3 1496 | optionalDependencies: 1497 | source-map: 0.6.1 1498 | dev: false 1499 | 1500 | /esprima@1.0.4: 1501 | resolution: {integrity: sha512-rp5dMKN8zEs9dfi9g0X1ClLmV//WRyk/R15mppFNICIFRG5P92VP7Z04p8pk++gABo9W2tY+kHyu6P1mEHgmTA==} 1502 | engines: {node: '>=0.4.0'} 1503 | hasBin: true 1504 | dev: false 1505 | 1506 | /esprima@1.1.1: 1507 | resolution: {integrity: sha512-qxxB994/7NtERxgXdFgLHIs9M6bhLXc6qtUmWZ3L8+gTQ9qaoyki2887P2IqAYsoENyr8SUbTutStDniOHSDHg==} 1508 | engines: {node: '>=0.4.0'} 1509 | hasBin: true 1510 | dev: false 1511 | 1512 | /esprima@1.2.5: 1513 | resolution: {integrity: sha512-S9VbPDU0adFErpDai3qDkjq8+G05ONtKzcyNrPKg/ZKa+tf879nX2KexNU95b31UoTJjRLInNBHHHjFPoCd7lQ==} 1514 | engines: {node: '>=0.4.0'} 1515 | hasBin: true 1516 | dev: false 1517 | 1518 | /esprima@4.0.1: 1519 | resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} 1520 | engines: {node: '>=4'} 1521 | hasBin: true 1522 | dev: false 1523 | 1524 | /estraverse@1.3.2: 1525 | resolution: {integrity: sha512-OkbCPVUu8D9tbsLcUR+CKFRBbhZlogmkbWaP3BPERlkqzWL5Q6IdTz6eUk+b5cid2MTaCqJb2nNRGoJ8TpfPrg==} 1526 | engines: {node: '>=0.4.0'} 1527 | dev: false 1528 | 1529 | /estraverse@1.5.1: 1530 | resolution: {integrity: sha512-FpCjJDfmo3vsc/1zKSeqR5k42tcIhxFIlvq+h9j0fO2q/h2uLKyweq7rYJ+0CoVvrGQOxIS5wyBrW/+vF58BUQ==} 1531 | engines: {node: '>=0.4.0'} 1532 | dev: false 1533 | 1534 | /estraverse@5.3.0: 1535 | resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} 1536 | engines: {node: '>=4.0'} 1537 | dev: false 1538 | 1539 | /esutils@1.0.0: 1540 | resolution: {integrity: sha512-x/iYH53X3quDwfHRz4y8rn4XcEwwCJeWsul9pF1zldMbGtgOtMNBEOuYWwB1EQlK2LRa1fev3YAgym/RElp5Cg==} 1541 | engines: {node: '>=0.10.0'} 1542 | dev: false 1543 | 1544 | /esutils@2.0.3: 1545 | resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} 1546 | engines: {node: '>=0.10.0'} 1547 | dev: false 1548 | 1549 | /event-target-shim@5.0.1: 1550 | resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} 1551 | engines: {node: '>=6'} 1552 | dev: false 1553 | 1554 | /eventemitter3@4.0.7: 1555 | resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==} 1556 | dev: false 1557 | 1558 | /expand-template@2.0.3: 1559 | resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==} 1560 | engines: {node: '>=6'} 1561 | dev: false 1562 | 1563 | /expr-eval@2.0.2: 1564 | resolution: {integrity: sha512-4EMSHGOPSwAfBiibw3ndnP0AvjDWLsMvGOvWEZ2F96IGk0bIVdjQisOHxReSkE13mHcfbuCiXw+G4y0zv6N8Eg==} 1565 | dev: false 1566 | 1567 | /falafel@2.2.5: 1568 | resolution: {integrity: sha512-HuC1qF9iTnHDnML9YZAdCDQwT0yKl/U55K4XSUXqGAA2GLoafFgWRqdAbhWJxXaYD4pyoVxAJ8wH670jMpI9DQ==} 1569 | engines: {node: '>=0.4.0'} 1570 | dependencies: 1571 | acorn: 7.4.1 1572 | isarray: 2.0.5 1573 | dev: false 1574 | 1575 | /file-uri-to-path@1.0.0: 1576 | resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} 1577 | dev: false 1578 | 1579 | /flat@5.0.2: 1580 | resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} 1581 | hasBin: true 1582 | dev: false 1583 | 1584 | /form-data-encoder@1.7.2: 1585 | resolution: {integrity: sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==} 1586 | dev: false 1587 | 1588 | /form-data@4.0.0: 1589 | resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} 1590 | engines: {node: '>= 6'} 1591 | dependencies: 1592 | asynckit: 0.4.0 1593 | combined-stream: 1.0.8 1594 | mime-types: 2.1.35 1595 | dev: false 1596 | 1597 | /formdata-node@4.4.1: 1598 | resolution: {integrity: sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==} 1599 | engines: {node: '>= 12.20'} 1600 | dependencies: 1601 | node-domexception: 1.0.0 1602 | web-streams-polyfill: 4.0.0-beta.3 1603 | dev: false 1604 | 1605 | /frac@1.1.2: 1606 | resolution: {integrity: sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==} 1607 | engines: {node: '>=0.8'} 1608 | dev: false 1609 | 1610 | /fraction.js@4.3.4: 1611 | resolution: {integrity: sha512-pwiTgt0Q7t+GHZA4yaLjObx4vXmmdcS0iSJ19o8d/goUGgItX9UZWKWNnLHehxviD8wU2IWRsnR8cD5+yOJP2Q==} 1612 | dev: false 1613 | 1614 | /fs-constants@1.0.0: 1615 | resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} 1616 | dev: false 1617 | 1618 | /gauge@2.7.4: 1619 | resolution: {integrity: sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==} 1620 | dependencies: 1621 | aproba: 1.2.0 1622 | console-control-strings: 1.1.0 1623 | has-unicode: 2.0.1 1624 | object-assign: 4.1.1 1625 | signal-exit: 3.0.7 1626 | string-width: 1.0.2 1627 | strip-ansi: 3.0.1 1628 | wide-align: 1.1.5 1629 | dev: false 1630 | 1631 | /generic-pool@3.9.0: 1632 | resolution: {integrity: sha512-hymDOu5B53XvN4QT9dBmZxPX4CWhBPPLguTZ9MMFeFa/Kg0xWVfylOVNlJji/E7yTZWFd/q9GO5TxDLq156D7g==} 1633 | engines: {node: '>= 4'} 1634 | dev: false 1635 | 1636 | /github-from-package@0.0.0: 1637 | resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} 1638 | dev: false 1639 | 1640 | /grad-school@0.0.5: 1641 | resolution: {integrity: sha512-rXunEHF9M9EkMydTBux7+IryYXEZinRk6g8OBOGDBzo/qWJjhTxy86i5q7lQYpCLHN8Sqv1XX3OIOc7ka2gtvQ==} 1642 | engines: {node: '>=8.0.0'} 1643 | dev: false 1644 | 1645 | /grapheme-splitter@1.0.4: 1646 | resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} 1647 | dev: false 1648 | 1649 | /has-unicode@2.0.1: 1650 | resolution: {integrity: sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==} 1651 | dev: false 1652 | 1653 | /has@1.0.4: 1654 | resolution: {integrity: sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==} 1655 | engines: {node: '>= 0.4.0'} 1656 | dev: false 1657 | 1658 | /http-proxy-agent@5.0.0: 1659 | resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} 1660 | engines: {node: '>= 6'} 1661 | dependencies: 1662 | '@tootallnate/once': 2.0.0 1663 | agent-base: 6.0.2 1664 | debug: 4.3.4 1665 | transitivePeerDependencies: 1666 | - supports-color 1667 | dev: false 1668 | 1669 | /https-proxy-agent@5.0.1: 1670 | resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} 1671 | engines: {node: '>= 6'} 1672 | dependencies: 1673 | agent-base: 6.0.2 1674 | debug: 4.3.4 1675 | transitivePeerDependencies: 1676 | - supports-color 1677 | dev: false 1678 | 1679 | /humanize-ms@1.2.1: 1680 | resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==} 1681 | dependencies: 1682 | ms: 2.1.3 1683 | dev: false 1684 | 1685 | /ieee754@1.2.1: 1686 | resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} 1687 | dev: false 1688 | 1689 | /immediate@3.0.6: 1690 | resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==} 1691 | dev: false 1692 | 1693 | /inherits@2.0.4: 1694 | resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} 1695 | dev: false 1696 | 1697 | /ini@1.3.8: 1698 | resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} 1699 | dev: false 1700 | 1701 | /internmap@2.0.3: 1702 | resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==} 1703 | engines: {node: '>=12'} 1704 | dev: false 1705 | 1706 | /iota-array@1.0.0: 1707 | resolution: {integrity: sha512-pZ2xT+LOHckCatGQ3DcG/a+QuEqvoxqkiL7tvE8nn3uuu+f6i1TtpB5/FtWFbxUuVr5PZCx8KskuGatbJDXOWA==} 1708 | dev: false 1709 | 1710 | /is-any-array@2.0.1: 1711 | resolution: {integrity: sha512-UtilS7hLRu++wb/WBAw9bNuP1Eg04Ivn1vERJck8zJthEvXCBEBpGR/33u/xLKWEQf95803oalHrVDptcAvFdQ==} 1712 | dev: false 1713 | 1714 | /is-arrayish@0.3.2: 1715 | resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} 1716 | dev: false 1717 | 1718 | /is-buffer@1.1.6: 1719 | resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} 1720 | dev: false 1721 | 1722 | /is-fullwidth-code-point@1.0.0: 1723 | resolution: {integrity: sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==} 1724 | engines: {node: '>=0.10.0'} 1725 | dependencies: 1726 | number-is-nan: 1.0.1 1727 | dev: false 1728 | 1729 | /isarray@0.0.1: 1730 | resolution: {integrity: sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==} 1731 | dev: false 1732 | 1733 | /isarray@1.0.0: 1734 | resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} 1735 | dev: false 1736 | 1737 | /isarray@2.0.5: 1738 | resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} 1739 | dev: false 1740 | 1741 | /javascript-natural-sort@0.7.1: 1742 | resolution: {integrity: sha512-nO6jcEfZWQXDhOiBtG2KvKyEptz7RVbpGP4vTD2hLBdmNQSsCiicO2Ioinv6UI4y9ukqnBpy+XZ9H6uLNgJTlw==} 1743 | dev: false 1744 | 1745 | /jintr@1.1.0: 1746 | resolution: {integrity: sha512-Tu9wk3BpN2v+kb8yT6YBtue+/nbjeLFv4vvVC4PJ7oCidHKbifWhvORrAbQfxVIQZG+67am/mDagpiGSVtvrZg==} 1747 | dependencies: 1748 | acorn: 8.11.3 1749 | dev: false 1750 | 1751 | /js-tiktoken@1.0.10: 1752 | resolution: {integrity: sha512-ZoSxbGjvGyMT13x6ACo9ebhDha/0FHdKA+OsQcMOWcm1Zs7r90Rhk5lhERLzji+3rA7EKpXCgwXcM5fF3DMpdA==} 1753 | dependencies: 1754 | base64-js: 1.5.1 1755 | dev: false 1756 | 1757 | /js-yaml@4.1.0: 1758 | resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} 1759 | hasBin: true 1760 | dependencies: 1761 | argparse: 2.0.1 1762 | dev: false 1763 | 1764 | /jsonpointer@5.0.1: 1765 | resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==} 1766 | engines: {node: '>=0.10.0'} 1767 | dev: false 1768 | 1769 | /jszip@3.10.1: 1770 | resolution: {integrity: sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==} 1771 | dependencies: 1772 | lie: 3.3.0 1773 | pako: 1.0.11 1774 | readable-stream: 2.3.8 1775 | setimmediate: 1.0.5 1776 | dev: false 1777 | 1778 | /kareem@2.6.0: 1779 | resolution: {integrity: sha512-B9wwgyKKKZkxYZXQzefvb/Ykh9eHixxR+ttTP2c/Pq8NvHi1iYIAImf3nj/DXkPcnenjGEffhPWXnCFRIbNAhw==} 1780 | engines: {node: '>=12.0.0'} 1781 | dev: false 1782 | 1783 | /kind-of@3.2.2: 1784 | resolution: {integrity: sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==} 1785 | engines: {node: '>=0.10.0'} 1786 | dependencies: 1787 | is-buffer: 1.1.6 1788 | dev: false 1789 | 1790 | /kuromoji@0.1.2: 1791 | resolution: {integrity: sha512-V0dUf+C2LpcPEXhoHLMAop/bOht16Dyr+mDiIE39yX3vqau7p80De/koFqpiTcL1zzdZlc3xuHZ8u5gjYRfFaQ==} 1792 | dependencies: 1793 | async: 2.6.4 1794 | doublearray: 0.0.2 1795 | zlibjs: 0.3.1 1796 | dev: false 1797 | 1798 | /langchain@0.1.31(mammoth@1.7.1)(pg@8.11.5)(youtube-transcript@1.1.0)(youtubei.js@9.2.0): 1799 | resolution: {integrity: sha512-J2iZZL48Nwdo1XDU5cS5YYm91b2L6sL3a8hH1gBljvDzCY7jbtUOTuIoRVx5iHN3DXuuLnszS4lhqg0u9hQxBQ==} 1800 | engines: {node: '>=18'} 1801 | peerDependencies: 1802 | '@aws-sdk/client-s3': ^3.310.0 1803 | '@aws-sdk/client-sagemaker-runtime': ^3.310.0 1804 | '@aws-sdk/client-sfn': ^3.310.0 1805 | '@aws-sdk/credential-provider-node': ^3.388.0 1806 | '@azure/storage-blob': ^12.15.0 1807 | '@gomomento/sdk': ^1.51.1 1808 | '@gomomento/sdk-core': ^1.51.1 1809 | '@gomomento/sdk-web': ^1.51.1 1810 | '@google-ai/generativelanguage': ^0.2.1 1811 | '@google-cloud/storage': ^6.10.1 || ^7.7.0 1812 | '@notionhq/client': ^2.2.10 1813 | '@pinecone-database/pinecone': '*' 1814 | '@supabase/supabase-js': ^2.10.0 1815 | '@vercel/kv': ^0.2.3 1816 | '@xata.io/client': ^0.28.0 1817 | apify-client: ^2.7.1 1818 | assemblyai: ^4.0.0 1819 | axios: '*' 1820 | cheerio: ^1.0.0-rc.12 1821 | chromadb: '*' 1822 | convex: ^1.3.1 1823 | couchbase: ^4.3.0 1824 | d3-dsv: ^2.0.0 1825 | epub2: ^3.0.1 1826 | faiss-node: '*' 1827 | fast-xml-parser: '*' 1828 | google-auth-library: ^8.9.0 1829 | handlebars: ^4.7.8 1830 | html-to-text: ^9.0.5 1831 | ignore: ^5.2.0 1832 | ioredis: ^5.3.2 1833 | jsdom: '*' 1834 | mammoth: ^1.6.0 1835 | mongodb: '>=5.2.0' 1836 | node-llama-cpp: '*' 1837 | notion-to-md: ^3.1.0 1838 | officeparser: ^4.0.4 1839 | pdf-parse: 1.1.1 1840 | peggy: ^3.0.2 1841 | playwright: ^1.32.1 1842 | puppeteer: ^19.7.2 1843 | pyodide: ^0.24.1 1844 | redis: ^4.6.4 1845 | sonix-speech-recognition: ^2.1.1 1846 | srt-parser-2: ^1.2.3 1847 | typeorm: ^0.3.12 1848 | weaviate-ts-client: '*' 1849 | web-auth-library: ^1.0.3 1850 | ws: ^8.14.2 1851 | youtube-transcript: ^1.0.6 1852 | youtubei.js: ^9.1.0 1853 | peerDependenciesMeta: 1854 | '@aws-sdk/client-s3': 1855 | optional: true 1856 | '@aws-sdk/client-sagemaker-runtime': 1857 | optional: true 1858 | '@aws-sdk/client-sfn': 1859 | optional: true 1860 | '@aws-sdk/credential-provider-node': 1861 | optional: true 1862 | '@azure/storage-blob': 1863 | optional: true 1864 | '@gomomento/sdk': 1865 | optional: true 1866 | '@gomomento/sdk-core': 1867 | optional: true 1868 | '@gomomento/sdk-web': 1869 | optional: true 1870 | '@google-ai/generativelanguage': 1871 | optional: true 1872 | '@google-cloud/storage': 1873 | optional: true 1874 | '@notionhq/client': 1875 | optional: true 1876 | '@pinecone-database/pinecone': 1877 | optional: true 1878 | '@supabase/supabase-js': 1879 | optional: true 1880 | '@vercel/kv': 1881 | optional: true 1882 | '@xata.io/client': 1883 | optional: true 1884 | apify-client: 1885 | optional: true 1886 | assemblyai: 1887 | optional: true 1888 | axios: 1889 | optional: true 1890 | cheerio: 1891 | optional: true 1892 | chromadb: 1893 | optional: true 1894 | convex: 1895 | optional: true 1896 | couchbase: 1897 | optional: true 1898 | d3-dsv: 1899 | optional: true 1900 | epub2: 1901 | optional: true 1902 | faiss-node: 1903 | optional: true 1904 | fast-xml-parser: 1905 | optional: true 1906 | google-auth-library: 1907 | optional: true 1908 | handlebars: 1909 | optional: true 1910 | html-to-text: 1911 | optional: true 1912 | ignore: 1913 | optional: true 1914 | ioredis: 1915 | optional: true 1916 | jsdom: 1917 | optional: true 1918 | mammoth: 1919 | optional: true 1920 | mongodb: 1921 | optional: true 1922 | node-llama-cpp: 1923 | optional: true 1924 | notion-to-md: 1925 | optional: true 1926 | officeparser: 1927 | optional: true 1928 | pdf-parse: 1929 | optional: true 1930 | peggy: 1931 | optional: true 1932 | playwright: 1933 | optional: true 1934 | puppeteer: 1935 | optional: true 1936 | pyodide: 1937 | optional: true 1938 | redis: 1939 | optional: true 1940 | sonix-speech-recognition: 1941 | optional: true 1942 | srt-parser-2: 1943 | optional: true 1944 | typeorm: 1945 | optional: true 1946 | weaviate-ts-client: 1947 | optional: true 1948 | web-auth-library: 1949 | optional: true 1950 | ws: 1951 | optional: true 1952 | youtube-transcript: 1953 | optional: true 1954 | youtubei.js: 1955 | optional: true 1956 | dependencies: 1957 | '@anthropic-ai/sdk': 0.9.1 1958 | '@langchain/community': 0.0.44(pg@8.11.5) 1959 | '@langchain/core': 0.1.54 1960 | '@langchain/openai': 0.0.26 1961 | binary-extensions: 2.3.0 1962 | js-tiktoken: 1.0.10 1963 | js-yaml: 4.1.0 1964 | jsonpointer: 5.0.1 1965 | langchainhub: 0.0.8 1966 | langsmith: 0.1.14 1967 | mammoth: 1.7.1 1968 | ml-distance: 4.0.1 1969 | openapi-types: 12.1.3 1970 | p-retry: 4.6.2 1971 | uuid: 9.0.1 1972 | yaml: 2.4.1 1973 | youtube-transcript: 1.1.0 1974 | youtubei.js: 9.2.0 1975 | zod: 3.22.4 1976 | zod-to-json-schema: 3.22.5(zod@3.22.4) 1977 | transitivePeerDependencies: 1978 | - '@aws-crypto/sha256-js' 1979 | - '@aws-sdk/client-bedrock-agent-runtime' 1980 | - '@aws-sdk/client-bedrock-runtime' 1981 | - '@aws-sdk/client-dynamodb' 1982 | - '@aws-sdk/client-kendra' 1983 | - '@aws-sdk/client-lambda' 1984 | - '@azure/search-documents' 1985 | - '@clickhouse/client' 1986 | - '@cloudflare/ai' 1987 | - '@datastax/astra-db-ts' 1988 | - '@elastic/elasticsearch' 1989 | - '@getmetal/metal-sdk' 1990 | - '@getzep/zep-js' 1991 | - '@gradientai/nodejs-sdk' 1992 | - '@huggingface/inference' 1993 | - '@mozilla/readability' 1994 | - '@opensearch-project/opensearch' 1995 | - '@planetscale/database' 1996 | - '@premai/prem-sdk' 1997 | - '@qdrant/js-client-rest' 1998 | - '@raycast/api' 1999 | - '@rockset/client' 2000 | - '@smithy/eventstream-codec' 2001 | - '@smithy/protocol-http' 2002 | - '@smithy/signature-v4' 2003 | - '@smithy/util-utf8' 2004 | - '@supabase/postgrest-js' 2005 | - '@tensorflow-models/universal-sentence-encoder' 2006 | - '@tensorflow/tfjs-converter' 2007 | - '@tensorflow/tfjs-core' 2008 | - '@upstash/redis' 2009 | - '@upstash/vector' 2010 | - '@vercel/postgres' 2011 | - '@writerai/writer-sdk' 2012 | - '@xenova/transformers' 2013 | - '@zilliz/milvus2-sdk-node' 2014 | - better-sqlite3 2015 | - cassandra-driver 2016 | - cborg 2017 | - closevector-common 2018 | - closevector-node 2019 | - closevector-web 2020 | - cohere-ai 2021 | - discord.js 2022 | - dria 2023 | - duck-duck-scrape 2024 | - encoding 2025 | - firebase-admin 2026 | - googleapis 2027 | - hnswlib-node 2028 | - interface-datastore 2029 | - it-all 2030 | - jsonwebtoken 2031 | - llmonitor 2032 | - lodash 2033 | - lunary 2034 | - mysql2 2035 | - neo4j-driver 2036 | - pg 2037 | - pg-copy-streams 2038 | - pickleparser 2039 | - portkey-ai 2040 | - replicate 2041 | - typesense 2042 | - usearch 2043 | - vectordb 2044 | - voy-search 2045 | dev: false 2046 | 2047 | /langchainhub@0.0.8: 2048 | resolution: {integrity: sha512-Woyb8YDHgqqTOZvWIbm2CaFDGfZ4NTSyXV687AG4vXEfoNo7cGQp7nhl7wL3ehenKWmNEmcxCLgOZzW8jE6lOQ==} 2049 | dev: false 2050 | 2051 | /langsmith@0.1.14: 2052 | resolution: {integrity: sha512-iEzQLLB7/0nRpAwNBAR7B7N64fyByg5UsNjSvLaCCkQ9AS68PSafjB8xQkyI8QXXrGjU1dEqDRoa8m4SUuRdUw==} 2053 | dependencies: 2054 | '@types/uuid': 9.0.8 2055 | commander: 10.0.1 2056 | p-queue: 6.6.2 2057 | p-retry: 4.6.2 2058 | uuid: 9.0.1 2059 | dev: false 2060 | 2061 | /lazy-cache@1.0.4: 2062 | resolution: {integrity: sha512-RE2g0b5VGZsOCFOCgP7omTRYFqydmZkBwl5oNnQ1lDYC57uyO9KqNnNVxT7COSHTxrRCWVcAVOcbjk+tvh/rgQ==} 2063 | engines: {node: '>=0.10.0'} 2064 | dev: false 2065 | 2066 | /lie@3.3.0: 2067 | resolution: {integrity: sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==} 2068 | dependencies: 2069 | immediate: 3.0.6 2070 | dev: false 2071 | 2072 | /lodash@4.17.21: 2073 | resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} 2074 | dev: false 2075 | 2076 | /longest@1.0.1: 2077 | resolution: {integrity: sha512-k+yt5n3l48JU4k8ftnKG6V7u32wyH2NfKzeMto9F/QRE0amxy/LayxwlvjjkZEIzqR+19IrtFO8p5kB9QaYUFg==} 2078 | engines: {node: '>=0.10.0'} 2079 | dev: false 2080 | 2081 | /lop@0.4.1: 2082 | resolution: {integrity: sha512-9xyho9why2A2tzm5aIcMWKvzqKsnxrf9B5I+8O30olh6lQU8PH978LqZoI4++37RBgS1Em5i54v1TFs/3wnmXQ==} 2083 | dependencies: 2084 | duck: 0.1.12 2085 | option: 0.2.4 2086 | underscore: 1.13.6 2087 | dev: false 2088 | 2089 | /lru-cache@6.0.0: 2090 | resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} 2091 | engines: {node: '>=10'} 2092 | dependencies: 2093 | yallist: 4.0.0 2094 | dev: false 2095 | 2096 | /mammoth@1.7.1: 2097 | resolution: {integrity: sha512-ckxfvNH5sUaJh+SbYbxpvB7urZTGS02jA91rFCNiL928CgE9FXXMyXxcJBY0n+CpmKE/eWh7qaV0+v+Dbwun3Q==} 2098 | engines: {node: '>=12.0.0'} 2099 | hasBin: true 2100 | dependencies: 2101 | '@xmldom/xmldom': 0.8.10 2102 | argparse: 1.0.10 2103 | base64-js: 1.5.1 2104 | bluebird: 3.4.7 2105 | dingbat-to-unicode: 1.0.1 2106 | jszip: 3.10.1 2107 | lop: 0.4.1 2108 | path-is-absolute: 1.0.1 2109 | underscore: 1.13.6 2110 | xmlbuilder: 10.1.1 2111 | dev: false 2112 | 2113 | /mathjs@12.4.1: 2114 | resolution: {integrity: sha512-welnW3khgwYjPYvECFHO+xkCxAx9IKIIPDDWPi8B5rKAvmgoEHnQX9slEmHKZTNaJiE+OS4qrJJcB4sfDn/4sw==} 2115 | engines: {node: '>= 18'} 2116 | hasBin: true 2117 | dependencies: 2118 | '@babel/runtime': 7.24.4 2119 | complex.js: 2.1.1 2120 | decimal.js: 10.4.3 2121 | escape-latex: 1.2.0 2122 | fraction.js: 4.3.4 2123 | javascript-natural-sort: 0.7.1 2124 | seedrandom: 3.0.5 2125 | tiny-emitter: 2.1.0 2126 | typed-function: 4.1.1 2127 | dev: false 2128 | 2129 | /md5@2.3.0: 2130 | resolution: {integrity: sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==} 2131 | dependencies: 2132 | charenc: 0.0.2 2133 | crypt: 0.0.2 2134 | is-buffer: 1.1.6 2135 | dev: false 2136 | 2137 | /memjs@1.3.2: 2138 | resolution: {integrity: sha512-qUEg2g8vxPe+zPn09KidjIStHPtoBO8Cttm8bgJFWWabbsjQ9Av9Ky+6UcvKx6ue0LLb/LEhtcyQpRyKfzeXcg==} 2139 | engines: {node: '>=0.10.0'} 2140 | dev: false 2141 | 2142 | /memory-pager@1.5.0: 2143 | resolution: {integrity: sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==} 2144 | dev: false 2145 | 2146 | /mime-db@1.52.0: 2147 | resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} 2148 | engines: {node: '>= 0.6'} 2149 | dev: false 2150 | 2151 | /mime-types@2.1.35: 2152 | resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} 2153 | engines: {node: '>= 0.6'} 2154 | dependencies: 2155 | mime-db: 1.52.0 2156 | dev: false 2157 | 2158 | /mimic-response@2.1.0: 2159 | resolution: {integrity: sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==} 2160 | engines: {node: '>=8'} 2161 | dev: false 2162 | 2163 | /mimic-response@3.1.0: 2164 | resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} 2165 | engines: {node: '>=10'} 2166 | dev: false 2167 | 2168 | /minimist@0.0.8: 2169 | resolution: {integrity: sha512-miQKw5Hv4NS1Psg2517mV4e4dYNaO3++hjAvLOAzKqZ61rH8NS1SK+vbfBWZ5PY/Me/bEWhUwqMghEW5Fb9T7Q==} 2170 | dev: false 2171 | 2172 | /minimist@1.2.8: 2173 | resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} 2174 | dev: false 2175 | 2176 | /mkdirp-classic@0.5.3: 2177 | resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==} 2178 | dev: false 2179 | 2180 | /ml-array-mean@1.1.6: 2181 | resolution: {integrity: sha512-MIdf7Zc8HznwIisyiJGRH9tRigg3Yf4FldW8DxKxpCCv/g5CafTw0RRu51nojVEOXuCQC7DRVVu5c7XXO/5joQ==} 2182 | dependencies: 2183 | ml-array-sum: 1.1.6 2184 | dev: false 2185 | 2186 | /ml-array-sum@1.1.6: 2187 | resolution: {integrity: sha512-29mAh2GwH7ZmiRnup4UyibQZB9+ZLyMShvt4cH4eTK+cL2oEMIZFnSyB3SS8MlsTh6q/w/yh48KmqLxmovN4Dw==} 2188 | dependencies: 2189 | is-any-array: 2.0.1 2190 | dev: false 2191 | 2192 | /ml-distance-euclidean@2.0.0: 2193 | resolution: {integrity: sha512-yC9/2o8QF0A3m/0IXqCTXCzz2pNEzvmcE/9HFKOZGnTjatvBbsn4lWYJkxENkA4Ug2fnYl7PXQxnPi21sgMy/Q==} 2194 | dev: false 2195 | 2196 | /ml-distance@4.0.1: 2197 | resolution: {integrity: sha512-feZ5ziXs01zhyFUUUeZV5hwc0f5JW0Sh0ckU1koZe/wdVkJdGxcP06KNQuF0WBTj8FttQUzcvQcpcrOp/XrlEw==} 2198 | dependencies: 2199 | ml-array-mean: 1.1.6 2200 | ml-distance-euclidean: 2.0.0 2201 | ml-tree-similarity: 1.0.0 2202 | dev: false 2203 | 2204 | /ml-tree-similarity@1.0.0: 2205 | resolution: {integrity: sha512-XJUyYqjSuUQkNQHMscr6tcjldsOoAekxADTplt40QKfwW6nd++1wHWV9AArl0Zvw/TIHgNaZZNvr8QGvE8wLRg==} 2206 | dependencies: 2207 | binary-search: 1.3.6 2208 | num-sort: 2.1.0 2209 | dev: false 2210 | 2211 | /mongodb-connection-string-url@3.0.0: 2212 | resolution: {integrity: sha512-t1Vf+m1I5hC2M5RJx/7AtxgABy1cZmIPQRMXw+gEIPn/cZNF3Oiy+l0UIypUwVB5trcWHq3crg2g3uAR9aAwsQ==} 2213 | dependencies: 2214 | '@types/whatwg-url': 11.0.4 2215 | whatwg-url: 13.0.0 2216 | dev: false 2217 | 2218 | /mongodb@6.5.0: 2219 | resolution: {integrity: sha512-Fozq68InT+JKABGLqctgtb8P56pRrJFkbhW0ux+x1mdHeyinor8oNzJqwLjV/t5X5nJGfTlluxfyMnOXNggIUA==} 2220 | engines: {node: '>=16.20.1'} 2221 | peerDependencies: 2222 | '@aws-sdk/credential-providers': ^3.188.0 2223 | '@mongodb-js/zstd': ^1.1.0 2224 | gcp-metadata: ^5.2.0 2225 | kerberos: ^2.0.1 2226 | mongodb-client-encryption: '>=6.0.0 <7' 2227 | snappy: ^7.2.2 2228 | socks: ^2.7.1 2229 | peerDependenciesMeta: 2230 | '@aws-sdk/credential-providers': 2231 | optional: true 2232 | '@mongodb-js/zstd': 2233 | optional: true 2234 | gcp-metadata: 2235 | optional: true 2236 | kerberos: 2237 | optional: true 2238 | mongodb-client-encryption: 2239 | optional: true 2240 | snappy: 2241 | optional: true 2242 | socks: 2243 | optional: true 2244 | dependencies: 2245 | '@mongodb-js/saslprep': 1.1.5 2246 | bson: 6.6.0 2247 | mongodb-connection-string-url: 3.0.0 2248 | dev: false 2249 | 2250 | /mongoose@8.3.0: 2251 | resolution: {integrity: sha512-Y5QNnuA38CEin8hnA+q//nUVztIi4Xklu9xlmbkd1KdWHnIlemSwf5IL/evcI+e2zplL4g5Y6PMkO+nPSAnIdA==} 2252 | engines: {node: '>=16.20.1'} 2253 | dependencies: 2254 | bson: 6.6.0 2255 | kareem: 2.6.0 2256 | mongodb: 6.5.0 2257 | mpath: 0.9.0 2258 | mquery: 5.0.0 2259 | ms: 2.1.3 2260 | sift: 16.0.1 2261 | transitivePeerDependencies: 2262 | - '@aws-sdk/credential-providers' 2263 | - '@mongodb-js/zstd' 2264 | - gcp-metadata 2265 | - kerberos 2266 | - mongodb-client-encryption 2267 | - snappy 2268 | - socks 2269 | - supports-color 2270 | dev: false 2271 | 2272 | /mpath@0.9.0: 2273 | resolution: {integrity: sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==} 2274 | engines: {node: '>=4.0.0'} 2275 | dev: false 2276 | 2277 | /mquery@5.0.0: 2278 | resolution: {integrity: sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==} 2279 | engines: {node: '>=14.0.0'} 2280 | dependencies: 2281 | debug: 4.3.4 2282 | transitivePeerDependencies: 2283 | - supports-color 2284 | dev: false 2285 | 2286 | /ms@2.1.2: 2287 | resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} 2288 | dev: false 2289 | 2290 | /ms@2.1.3: 2291 | resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} 2292 | dev: false 2293 | 2294 | /napi-build-utils@1.0.2: 2295 | resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==} 2296 | dev: false 2297 | 2298 | /natural@6.12.0: 2299 | resolution: {integrity: sha512-ZV/cuaxOvJ7CSxQRYHc6nlx7ql6hVPQc20N5ubdqVbotWnnqsNc+0/QG+ACIC3XPQ4rfrQrdC/1k47v1cSszTQ==} 2300 | engines: {node: '>=0.4.10'} 2301 | dependencies: 2302 | afinn-165: 1.0.4 2303 | afinn-165-financialmarketnews: 3.0.0 2304 | apparatus: 0.0.10 2305 | dotenv: 16.4.5 2306 | memjs: 1.3.2 2307 | mongoose: 8.3.0 2308 | pg: 8.11.5 2309 | redis: 4.6.13 2310 | safe-stable-stringify: 2.4.3 2311 | stopwords-iso: 1.1.0 2312 | sylvester: 0.0.12 2313 | underscore: 1.13.6 2314 | uuid: 9.0.1 2315 | wordnet-db: 3.1.14 2316 | transitivePeerDependencies: 2317 | - '@aws-sdk/credential-providers' 2318 | - '@mongodb-js/zstd' 2319 | - gcp-metadata 2320 | - kerberos 2321 | - mongodb-client-encryption 2322 | - pg-native 2323 | - snappy 2324 | - socks 2325 | - supports-color 2326 | dev: false 2327 | 2328 | /ndarray-fft@1.0.3: 2329 | resolution: {integrity: sha512-p7OPcNAHP616TdoQdmroW666To530jY1q32Gy1DvK3fkaAQ4BuGu715UDDPIARkVQGhHC2qhbjwrhYG2eUQPCw==} 2330 | dependencies: 2331 | bit-twiddle: 1.0.2 2332 | cwise: 1.0.10 2333 | ndarray: 1.0.19 2334 | ndarray-ops: 1.2.2 2335 | typedarray-pool: 1.2.0 2336 | dev: false 2337 | 2338 | /ndarray-gemm@1.0.0: 2339 | resolution: {integrity: sha512-LSAzu9dFrQHGImnO/14EtKuRsxQwyehtYg56mxajTB2XnJ4eVx90Dq+xP2x9lyH4PLPtVnZMhGrvnHiIxtGysw==} 2340 | dev: false 2341 | 2342 | /ndarray-ops@1.2.2: 2343 | resolution: {integrity: sha512-BppWAFRjMYF7N/r6Ie51q6D4fs0iiGmeXIACKY66fLpnwIui3Wc3CXiD/30mgLbDjPpSLrsqcp3Z62+IcHZsDw==} 2344 | dependencies: 2345 | cwise-compiler: 1.1.3 2346 | dev: false 2347 | 2348 | /ndarray@1.0.19: 2349 | resolution: {integrity: sha512-B4JHA4vdyZU30ELBw3g7/p9bZupyew5a7tX1Y/gGeF2hafrPaQZhgrGQfsvgfYbgdFZjYwuEcnaobeM/WMW+HQ==} 2350 | dependencies: 2351 | iota-array: 1.0.0 2352 | is-buffer: 1.1.6 2353 | dev: false 2354 | 2355 | /node-abi@2.30.1: 2356 | resolution: {integrity: sha512-/2D0wOQPgaUWzVSVgRMx+trKJRC2UG4SUc4oCJoXx9Uxjtp0Vy3/kt7zcbxHF8+Z/pK3UloLWzBISg72brfy1w==} 2357 | dependencies: 2358 | semver: 5.7.2 2359 | dev: false 2360 | 2361 | /node-addon-api@1.7.2: 2362 | resolution: {integrity: sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==} 2363 | dev: false 2364 | 2365 | /node-addon-api@3.2.1: 2366 | resolution: {integrity: sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==} 2367 | dev: false 2368 | 2369 | /node-domexception@1.0.0: 2370 | resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} 2371 | engines: {node: '>=10.5.0'} 2372 | dev: false 2373 | 2374 | /node-fetch@2.7.0: 2375 | resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} 2376 | engines: {node: 4.x || >=6.0.0} 2377 | peerDependencies: 2378 | encoding: ^0.1.0 2379 | peerDependenciesMeta: 2380 | encoding: 2381 | optional: true 2382 | dependencies: 2383 | whatwg-url: 5.0.0 2384 | dev: false 2385 | 2386 | /node-nlp@4.27.0: 2387 | resolution: {integrity: sha512-LnkhOUPXX0CMFbSzJ1gHI+7Yb3ULLip5gRsqedXb6pryjcRCbNzPgHXcH/6G9B1vSbDfO+y3X2B4QZpfP12OyQ==} 2388 | dependencies: 2389 | '@nlpjs/builtin-duckling': 4.26.1 2390 | '@nlpjs/builtin-microsoft': 4.26.1 2391 | '@nlpjs/core-loader': 4.26.1 2392 | '@nlpjs/emoji': 4.26.1 2393 | '@nlpjs/evaluator': 4.26.1 2394 | '@nlpjs/lang-all': 4.26.1 2395 | '@nlpjs/language': 4.25.0 2396 | '@nlpjs/neural': 4.25.0 2397 | '@nlpjs/nlg': 4.26.1 2398 | '@nlpjs/nlp': 4.27.0 2399 | '@nlpjs/nlu': 4.27.0 2400 | '@nlpjs/request': 4.25.0 2401 | '@nlpjs/sentiment': 4.26.1 2402 | '@nlpjs/similarity': 4.26.1 2403 | '@nlpjs/xtables': 4.25.0 2404 | transitivePeerDependencies: 2405 | - supports-color 2406 | dev: false 2407 | 2408 | /npmlog@4.1.2: 2409 | resolution: {integrity: sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==} 2410 | dependencies: 2411 | are-we-there-yet: 1.1.7 2412 | console-control-strings: 1.1.0 2413 | gauge: 2.7.4 2414 | set-blocking: 2.0.0 2415 | dev: false 2416 | 2417 | /num-sort@2.1.0: 2418 | resolution: {integrity: sha512-1MQz1Ed8z2yckoBeSfkQHHO9K1yDRxxtotKSJ9yvcTUUxSvfvzEq5GwBrjjHEpMlq/k5gvXdmJ1SbYxWtpNoVg==} 2419 | engines: {node: '>=8'} 2420 | dev: false 2421 | 2422 | /number-is-nan@1.0.1: 2423 | resolution: {integrity: sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==} 2424 | engines: {node: '>=0.10.0'} 2425 | dev: false 2426 | 2427 | /numjs@0.16.1: 2428 | resolution: {integrity: sha512-0Y1T0WZZRyST3mCIHjTUEo6EZHVnUSh7DD1d3tytQjrbNx5Ib7yKItjMtsxBdULH02OsKSNbqZgbK+4cxmdNrA==} 2429 | dependencies: 2430 | cwise: 1.0.10 2431 | deasync: 0.1.29 2432 | lodash: 4.17.21 2433 | ndarray: 1.0.19 2434 | ndarray-fft: 1.0.3 2435 | ndarray-gemm: 1.0.0 2436 | ndarray-ops: 1.2.2 2437 | sharp: 0.27.2 2438 | typedarray-pool: 1.2.0 2439 | dev: false 2440 | 2441 | /object-assign@4.1.1: 2442 | resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} 2443 | engines: {node: '>=0.10.0'} 2444 | dev: false 2445 | 2446 | /object-inspect@0.4.0: 2447 | resolution: {integrity: sha512-8WvkvUZiKAjjsy/63rJjA7jw9uyF0CLVLjBKEfnPHE3Jxvs1LgwqL2OmJN+LliIX1vrzKW+AAu02Cc+xv27ncQ==} 2448 | dev: false 2449 | 2450 | /object-keys@0.4.0: 2451 | resolution: {integrity: sha512-ncrLw+X55z7bkl5PnUvHwFK9FcGuFYo9gtjws2XtSzL+aZ8tm830P60WJ0dSmFVaSalWieW5MD7kEdnXda9yJw==} 2452 | dev: false 2453 | 2454 | /once@1.4.0: 2455 | resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} 2456 | dependencies: 2457 | wrappy: 1.0.2 2458 | dev: false 2459 | 2460 | /openai@4.32.2: 2461 | resolution: {integrity: sha512-JXU5ttiL4liZJ2GRYvyqd/m9zA64bI8e6B5BtyKlbkcv5DAd5wiDgd0cQ1CIIdsEH90k5p3TdK6MyjnUhvOe7w==} 2462 | hasBin: true 2463 | dependencies: 2464 | '@types/node': 18.19.29 2465 | '@types/node-fetch': 2.6.11 2466 | abort-controller: 3.0.0 2467 | agentkeepalive: 4.5.0 2468 | form-data-encoder: 1.7.2 2469 | formdata-node: 4.4.1 2470 | node-fetch: 2.7.0 2471 | web-streams-polyfill: 3.3.3 2472 | transitivePeerDependencies: 2473 | - encoding 2474 | dev: false 2475 | 2476 | /openapi-types@12.1.3: 2477 | resolution: {integrity: sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==} 2478 | dev: false 2479 | 2480 | /option@0.2.4: 2481 | resolution: {integrity: sha512-pkEqbDyl8ou5cpq+VsnQbe/WlEy5qS7xPzMS1U55OCG9KPvwFD46zDbxQIj3egJSFc3D+XhYOPUzz49zQAVy7A==} 2482 | dev: false 2483 | 2484 | /p-finally@1.0.0: 2485 | resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} 2486 | engines: {node: '>=4'} 2487 | dev: false 2488 | 2489 | /p-queue@6.6.2: 2490 | resolution: {integrity: sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==} 2491 | engines: {node: '>=8'} 2492 | dependencies: 2493 | eventemitter3: 4.0.7 2494 | p-timeout: 3.2.0 2495 | dev: false 2496 | 2497 | /p-retry@4.6.2: 2498 | resolution: {integrity: sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==} 2499 | engines: {node: '>=8'} 2500 | dependencies: 2501 | '@types/retry': 0.12.0 2502 | retry: 0.13.1 2503 | dev: false 2504 | 2505 | /p-timeout@3.2.0: 2506 | resolution: {integrity: sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==} 2507 | engines: {node: '>=8'} 2508 | dependencies: 2509 | p-finally: 1.0.0 2510 | dev: false 2511 | 2512 | /pako@1.0.11: 2513 | resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==} 2514 | dev: false 2515 | 2516 | /path-is-absolute@1.0.1: 2517 | resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} 2518 | engines: {node: '>=0.10.0'} 2519 | dev: false 2520 | 2521 | /pg-cloudflare@1.1.1: 2522 | resolution: {integrity: sha512-xWPagP/4B6BgFO+EKz3JONXv3YDgvkbVrGw2mTo3D6tVDQRh1e7cqVGvyR3BE+eQgAvx1XhW/iEASj4/jCWl3Q==} 2523 | requiresBuild: true 2524 | dev: false 2525 | optional: true 2526 | 2527 | /pg-connection-string@2.6.4: 2528 | resolution: {integrity: sha512-v+Z7W/0EO707aNMaAEfiGnGL9sxxumwLl2fJvCQtMn9Fxsg+lPpPkdcyBSv/KFgpGdYkMfn+EI1Or2EHjpgLCA==} 2529 | dev: false 2530 | 2531 | /pg-int8@1.0.1: 2532 | resolution: {integrity: sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==} 2533 | engines: {node: '>=4.0.0'} 2534 | dev: false 2535 | 2536 | /pg-pool@3.6.2(pg@8.11.5): 2537 | resolution: {integrity: sha512-Htjbg8BlwXqSBQ9V8Vjtc+vzf/6fVUuak/3/XXKA9oxZprwW3IMDQTGHP+KDmVL7rtd+R1QjbnCFPuTHm3G4hg==} 2538 | peerDependencies: 2539 | pg: '>=8.0' 2540 | dependencies: 2541 | pg: 8.11.5 2542 | dev: false 2543 | 2544 | /pg-protocol@1.6.1: 2545 | resolution: {integrity: sha512-jPIlvgoD63hrEuihvIg+tJhoGjUsLPn6poJY9N5CnlPd91c2T18T/9zBtLxZSb1EhYxBRoZJtzScCaWlYLtktg==} 2546 | dev: false 2547 | 2548 | /pg-types@2.2.0: 2549 | resolution: {integrity: sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==} 2550 | engines: {node: '>=4'} 2551 | dependencies: 2552 | pg-int8: 1.0.1 2553 | postgres-array: 2.0.0 2554 | postgres-bytea: 1.0.0 2555 | postgres-date: 1.0.7 2556 | postgres-interval: 1.2.0 2557 | dev: false 2558 | 2559 | /pg@8.11.5: 2560 | resolution: {integrity: sha512-jqgNHSKL5cbDjFlHyYsCXmQDrfIX/3RsNwYqpd4N0Kt8niLuNoRNH+aazv6cOd43gPh9Y4DjQCtb+X0MH0Hvnw==} 2561 | engines: {node: '>= 8.0.0'} 2562 | peerDependencies: 2563 | pg-native: '>=3.0.1' 2564 | peerDependenciesMeta: 2565 | pg-native: 2566 | optional: true 2567 | dependencies: 2568 | pg-connection-string: 2.6.4 2569 | pg-pool: 3.6.2(pg@8.11.5) 2570 | pg-protocol: 1.6.1 2571 | pg-types: 2.2.0 2572 | pgpass: 1.0.5 2573 | optionalDependencies: 2574 | pg-cloudflare: 1.1.1 2575 | dev: false 2576 | 2577 | /pgpass@1.0.5: 2578 | resolution: {integrity: sha512-FdW9r/jQZhSeohs1Z3sI1yxFQNFvMcnmfuj4WBMUTxOrAyLMaTcE1aAMBiTlbMNaXvBCQuVi0R7hd8udDSP7ug==} 2579 | dependencies: 2580 | split2: 4.2.0 2581 | dev: false 2582 | 2583 | /postgres-array@2.0.0: 2584 | resolution: {integrity: sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==} 2585 | engines: {node: '>=4'} 2586 | dev: false 2587 | 2588 | /postgres-bytea@1.0.0: 2589 | resolution: {integrity: sha512-xy3pmLuQqRBZBXDULy7KbaitYqLcmxigw14Q5sj8QBVLqEwXfeybIKVWiqAXTlcvdvb0+xkOtDbfQMOf4lST1w==} 2590 | engines: {node: '>=0.10.0'} 2591 | dev: false 2592 | 2593 | /postgres-date@1.0.7: 2594 | resolution: {integrity: sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==} 2595 | engines: {node: '>=0.10.0'} 2596 | dev: false 2597 | 2598 | /postgres-interval@1.2.0: 2599 | resolution: {integrity: sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==} 2600 | engines: {node: '>=0.10.0'} 2601 | dependencies: 2602 | xtend: 4.0.2 2603 | dev: false 2604 | 2605 | /prebuild-install@6.1.4: 2606 | resolution: {integrity: sha512-Z4vpywnK1lBg+zdPCVCsKq0xO66eEV9rWo2zrROGGiRS4JtueBOdlB1FnY8lcy7JsUud/Q3ijUxyWN26Ika0vQ==} 2607 | engines: {node: '>=6'} 2608 | hasBin: true 2609 | dependencies: 2610 | detect-libc: 1.0.3 2611 | expand-template: 2.0.3 2612 | github-from-package: 0.0.0 2613 | minimist: 1.2.8 2614 | mkdirp-classic: 0.5.3 2615 | napi-build-utils: 1.0.2 2616 | node-abi: 2.30.1 2617 | npmlog: 4.1.2 2618 | pump: 3.0.0 2619 | rc: 1.2.8 2620 | simple-get: 3.1.1 2621 | tar-fs: 2.1.1 2622 | tunnel-agent: 0.6.0 2623 | dev: false 2624 | 2625 | /process-nextick-args@2.0.1: 2626 | resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} 2627 | dev: false 2628 | 2629 | /pump@3.0.0: 2630 | resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} 2631 | dependencies: 2632 | end-of-stream: 1.4.4 2633 | once: 1.4.0 2634 | dev: false 2635 | 2636 | /punycode@2.3.1: 2637 | resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} 2638 | engines: {node: '>=6'} 2639 | dev: false 2640 | 2641 | /quote-stream@0.0.0: 2642 | resolution: {integrity: sha512-m4VtvjAMx00wgAS6eOy50ZDat1EBQeFKBIrtF/oxUt0MenEI33y7runJcRiOihc+JBBIt2aFFJhILIh4e9shJA==} 2643 | dependencies: 2644 | minimist: 0.0.8 2645 | through2: 0.4.2 2646 | dev: false 2647 | 2648 | /rc@1.2.8: 2649 | resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} 2650 | hasBin: true 2651 | dependencies: 2652 | deep-extend: 0.6.0 2653 | ini: 1.3.8 2654 | minimist: 1.2.8 2655 | strip-json-comments: 2.0.1 2656 | dev: false 2657 | 2658 | /readable-stream@1.0.34: 2659 | resolution: {integrity: sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==} 2660 | dependencies: 2661 | core-util-is: 1.0.3 2662 | inherits: 2.0.4 2663 | isarray: 0.0.1 2664 | string_decoder: 0.10.31 2665 | dev: false 2666 | 2667 | /readable-stream@1.1.14: 2668 | resolution: {integrity: sha512-+MeVjFf4L44XUkhM1eYbD8fyEsxcV81pqMSR5gblfcLCHfZvbrqy4/qYHE+/R5HoBUT11WV5O08Cr1n3YXkWVQ==} 2669 | dependencies: 2670 | core-util-is: 1.0.3 2671 | inherits: 2.0.4 2672 | isarray: 0.0.1 2673 | string_decoder: 0.10.31 2674 | dev: false 2675 | 2676 | /readable-stream@2.3.8: 2677 | resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} 2678 | dependencies: 2679 | core-util-is: 1.0.3 2680 | inherits: 2.0.4 2681 | isarray: 1.0.0 2682 | process-nextick-args: 2.0.1 2683 | safe-buffer: 5.1.2 2684 | string_decoder: 1.1.1 2685 | util-deprecate: 1.0.2 2686 | dev: false 2687 | 2688 | /readable-stream@3.6.2: 2689 | resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} 2690 | engines: {node: '>= 6'} 2691 | dependencies: 2692 | inherits: 2.0.4 2693 | string_decoder: 1.3.0 2694 | util-deprecate: 1.0.2 2695 | dev: false 2696 | 2697 | /redis@4.6.13: 2698 | resolution: {integrity: sha512-MHgkS4B+sPjCXpf+HfdetBwbRz6vCtsceTmw1pHNYJAsYxrfpOP6dz+piJWGos8wqG7qb3vj/Rrc5qOlmInUuA==} 2699 | dependencies: 2700 | '@redis/bloom': 1.2.0(@redis/client@1.5.14) 2701 | '@redis/client': 1.5.14 2702 | '@redis/graph': 1.1.1(@redis/client@1.5.14) 2703 | '@redis/json': 1.0.6(@redis/client@1.5.14) 2704 | '@redis/search': 1.1.6(@redis/client@1.5.14) 2705 | '@redis/time-series': 1.0.5(@redis/client@1.5.14) 2706 | dev: false 2707 | 2708 | /regenerator-runtime@0.14.1: 2709 | resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} 2710 | dev: false 2711 | 2712 | /repeat-string@1.6.1: 2713 | resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} 2714 | engines: {node: '>=0.10'} 2715 | dev: false 2716 | 2717 | /retry@0.13.1: 2718 | resolution: {integrity: sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==} 2719 | engines: {node: '>= 4'} 2720 | dev: false 2721 | 2722 | /right-align@0.1.3: 2723 | resolution: {integrity: sha512-yqINtL/G7vs2v+dFIZmFUDbnVyFUJFKd6gK22Kgo6R4jfJGFtisKyncWDDULgjfqf4ASQuIQyjJ7XZ+3aWpsAg==} 2724 | engines: {node: '>=0.10.0'} 2725 | dependencies: 2726 | align-text: 0.1.4 2727 | dev: false 2728 | 2729 | /safe-buffer@5.1.2: 2730 | resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} 2731 | dev: false 2732 | 2733 | /safe-buffer@5.2.1: 2734 | resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} 2735 | dev: false 2736 | 2737 | /safe-stable-stringify@2.4.3: 2738 | resolution: {integrity: sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==} 2739 | engines: {node: '>=10'} 2740 | dev: false 2741 | 2742 | /seedrandom@3.0.5: 2743 | resolution: {integrity: sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==} 2744 | dev: false 2745 | 2746 | /semver@5.7.2: 2747 | resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} 2748 | hasBin: true 2749 | dev: false 2750 | 2751 | /semver@7.6.0: 2752 | resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} 2753 | engines: {node: '>=10'} 2754 | hasBin: true 2755 | dependencies: 2756 | lru-cache: 6.0.0 2757 | dev: false 2758 | 2759 | /set-blocking@2.0.0: 2760 | resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} 2761 | dev: false 2762 | 2763 | /setimmediate@1.0.5: 2764 | resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} 2765 | dev: false 2766 | 2767 | /shallow-copy@0.0.1: 2768 | resolution: {integrity: sha512-b6i4ZpVuUxB9h5gfCxPiusKYkqTMOjEbBs4wMaFbkfia4yFv92UKZ6Df8WXcKbn08JNL/abvg3FnMAOfakDvUw==} 2769 | dev: false 2770 | 2771 | /sharp@0.27.2: 2772 | resolution: {integrity: sha512-w3FVoONPG/x5MXCc3wsjOS+b9h3CI60qkus6EPQU4dkT0BDm0PyGhDCK6KhtfT3/vbeOMOXAKFNSw+I3QGWkMA==} 2773 | engines: {node: '>=10'} 2774 | requiresBuild: true 2775 | dependencies: 2776 | array-flatten: 3.0.0 2777 | color: 3.2.1 2778 | detect-libc: 1.0.3 2779 | node-addon-api: 3.2.1 2780 | npmlog: 4.1.2 2781 | prebuild-install: 6.1.4 2782 | semver: 7.6.0 2783 | simple-get: 4.0.1 2784 | tar-fs: 2.1.1 2785 | tunnel-agent: 0.6.0 2786 | dev: false 2787 | 2788 | /sift@16.0.1: 2789 | resolution: {integrity: sha512-Wv6BjQ5zbhW7VFefWusVP33T/EM0vYikCaQ2qR8yULbsilAT8/wQaXvuQ3ptGLpoKx+lihJE3y2UTgKDyyNHZQ==} 2790 | dev: false 2791 | 2792 | /signal-exit@3.0.7: 2793 | resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} 2794 | dev: false 2795 | 2796 | /simple-concat@1.0.1: 2797 | resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==} 2798 | dev: false 2799 | 2800 | /simple-get@3.1.1: 2801 | resolution: {integrity: sha512-CQ5LTKGfCpvE1K0n2us+kuMPbk/q0EKl82s4aheV9oXjFEz6W/Y7oQFVJuU6QG77hRT4Ghb5RURteF5vnWjupA==} 2802 | dependencies: 2803 | decompress-response: 4.2.1 2804 | once: 1.4.0 2805 | simple-concat: 1.0.1 2806 | dev: false 2807 | 2808 | /simple-get@4.0.1: 2809 | resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==} 2810 | dependencies: 2811 | decompress-response: 6.0.0 2812 | once: 1.4.0 2813 | simple-concat: 1.0.1 2814 | dev: false 2815 | 2816 | /simple-swizzle@0.2.2: 2817 | resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==} 2818 | dependencies: 2819 | is-arrayish: 0.3.2 2820 | dev: false 2821 | 2822 | /source-map@0.1.43: 2823 | resolution: {integrity: sha512-VtCvB9SIQhk3aF6h+N85EaqIaBFIAfZ9Cu+NJHHVvc8BbEcnvDcFw6sqQ2dQrT6SlOrZq3tIvyD9+EGq/lJryQ==} 2824 | engines: {node: '>=0.8.0'} 2825 | requiresBuild: true 2826 | dependencies: 2827 | amdefine: 1.0.1 2828 | dev: false 2829 | optional: true 2830 | 2831 | /source-map@0.5.7: 2832 | resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} 2833 | engines: {node: '>=0.10.0'} 2834 | dev: false 2835 | 2836 | /source-map@0.6.1: 2837 | resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} 2838 | engines: {node: '>=0.10.0'} 2839 | requiresBuild: true 2840 | dev: false 2841 | optional: true 2842 | 2843 | /source-map@0.7.4: 2844 | resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} 2845 | engines: {node: '>= 8'} 2846 | requiresBuild: true 2847 | dev: false 2848 | optional: true 2849 | 2850 | /sparse-bitfield@3.0.3: 2851 | resolution: {integrity: sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==} 2852 | dependencies: 2853 | memory-pager: 1.5.0 2854 | dev: false 2855 | 2856 | /split2@4.2.0: 2857 | resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} 2858 | engines: {node: '>= 10.x'} 2859 | dev: false 2860 | 2861 | /sprintf-js@1.0.3: 2862 | resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} 2863 | dev: false 2864 | 2865 | /ssf@0.11.2: 2866 | resolution: {integrity: sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==} 2867 | engines: {node: '>=0.8'} 2868 | dependencies: 2869 | frac: 1.1.2 2870 | dev: false 2871 | 2872 | /static-eval@0.2.4: 2873 | resolution: {integrity: sha512-6dWWPfa/0+1zULdQi7ssT5EQZHsGK8LygBzhE/HdafNCo4e/Ibt7vLPfxBw9VcdVV+t0ARtN4ZAJKtApVc0A5Q==} 2874 | dependencies: 2875 | escodegen: 0.0.28 2876 | dev: false 2877 | 2878 | /static-module@1.5.0: 2879 | resolution: {integrity: sha512-XTj7pQOHT33l77lK/Pu8UXqzI44C6LYAqwAc9hLTTESHRqJAFudBpReuopFPpoRr5CtOoSmGfFQC6FPlbDnyCw==} 2880 | dependencies: 2881 | concat-stream: 1.6.2 2882 | duplexer2: 0.0.2 2883 | escodegen: 1.3.3 2884 | falafel: 2.2.5 2885 | has: 1.0.4 2886 | object-inspect: 0.4.0 2887 | quote-stream: 0.0.0 2888 | readable-stream: 1.0.34 2889 | shallow-copy: 0.0.1 2890 | static-eval: 0.2.4 2891 | through2: 0.4.2 2892 | dev: false 2893 | 2894 | /statistics-js@1.0.2: 2895 | resolution: {integrity: sha512-HFqwONQFA8/iio+1oHr/pJNWKHw4fHFxOeMajmKPOy9xv7hhNNJlEnMiheakfGjY9g23TsMZkb/D+xJ8bJfcwg==} 2896 | dev: false 2897 | 2898 | /stopwords-iso@1.1.0: 2899 | resolution: {integrity: sha512-I6GPS/E0zyieHehMRPQcqkiBMJKGgLta+1hREixhoLPqEA0AlVFiC43dl8uPpmkkeRdDMzYRWFWk5/l9x7nmNg==} 2900 | engines: {node: '>=0.10.0'} 2901 | dev: false 2902 | 2903 | /string-width@1.0.2: 2904 | resolution: {integrity: sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==} 2905 | engines: {node: '>=0.10.0'} 2906 | dependencies: 2907 | code-point-at: 1.1.0 2908 | is-fullwidth-code-point: 1.0.0 2909 | strip-ansi: 3.0.1 2910 | dev: false 2911 | 2912 | /string_decoder@0.10.31: 2913 | resolution: {integrity: sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==} 2914 | dev: false 2915 | 2916 | /string_decoder@1.1.1: 2917 | resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} 2918 | dependencies: 2919 | safe-buffer: 5.1.2 2920 | dev: false 2921 | 2922 | /string_decoder@1.3.0: 2923 | resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} 2924 | dependencies: 2925 | safe-buffer: 5.2.1 2926 | dev: false 2927 | 2928 | /strip-ansi@3.0.1: 2929 | resolution: {integrity: sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==} 2930 | engines: {node: '>=0.10.0'} 2931 | dependencies: 2932 | ansi-regex: 2.1.1 2933 | dev: false 2934 | 2935 | /strip-json-comments@2.0.1: 2936 | resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} 2937 | engines: {node: '>=0.10.0'} 2938 | dev: false 2939 | 2940 | /suffix-thumb@5.0.2: 2941 | resolution: {integrity: sha512-I5PWXAFKx3FYnI9a+dQMWNqTxoRt6vdBdb0O+BJ1sxXCWtSoQCusc13E58f+9p4MYx/qCnEMkD5jac6K2j3dgA==} 2942 | dev: false 2943 | 2944 | /sylvester@0.0.12: 2945 | resolution: {integrity: sha512-SzRP5LQ6Ts2G5NyAa/jg16s8e3R7rfdFjizy1zeoecYWw+nGL+YA1xZvW/+iJmidBGSdLkuvdwTYEyJEb+EiUw==} 2946 | engines: {node: '>=0.2.6'} 2947 | dev: false 2948 | 2949 | /tar-fs@2.1.1: 2950 | resolution: {integrity: sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==} 2951 | dependencies: 2952 | chownr: 1.1.4 2953 | mkdirp-classic: 0.5.3 2954 | pump: 3.0.0 2955 | tar-stream: 2.2.0 2956 | dev: false 2957 | 2958 | /tar-stream@2.2.0: 2959 | resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==} 2960 | engines: {node: '>=6'} 2961 | dependencies: 2962 | bl: 4.1.0 2963 | end-of-stream: 1.4.4 2964 | fs-constants: 1.0.0 2965 | inherits: 2.0.4 2966 | readable-stream: 3.6.2 2967 | dev: false 2968 | 2969 | /through2@0.4.2: 2970 | resolution: {integrity: sha512-45Llu+EwHKtAZYTPPVn3XZHBgakWMN3rokhEv5hu596XP+cNgplMg+Gj+1nmAvj+L0K7+N49zBKx5rah5u0QIQ==} 2971 | dependencies: 2972 | readable-stream: 1.0.34 2973 | xtend: 2.1.2 2974 | dev: false 2975 | 2976 | /tiny-emitter@2.1.0: 2977 | resolution: {integrity: sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==} 2978 | dev: false 2979 | 2980 | /tr46@0.0.3: 2981 | resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} 2982 | dev: false 2983 | 2984 | /tr46@4.1.1: 2985 | resolution: {integrity: sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==} 2986 | engines: {node: '>=14'} 2987 | dependencies: 2988 | punycode: 2.3.1 2989 | dev: false 2990 | 2991 | /tslib@2.6.2: 2992 | resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} 2993 | dev: false 2994 | 2995 | /tunnel-agent@0.6.0: 2996 | resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} 2997 | dependencies: 2998 | safe-buffer: 5.2.1 2999 | dev: false 3000 | 3001 | /typed-function@4.1.1: 3002 | resolution: {integrity: sha512-Pq1DVubcvibmm8bYcMowjVnnMwPVMeh0DIdA8ad8NZY2sJgapANJmiigSUwlt+EgXxpfIv8MWrQXTIzkfYZLYQ==} 3003 | engines: {node: '>= 14'} 3004 | dev: false 3005 | 3006 | /typedarray-pool@1.2.0: 3007 | resolution: {integrity: sha512-YTSQbzX43yvtpfRtIDAYygoYtgT+Rpjuxy9iOpczrjpXLgGoyG7aS5USJXV2d3nn8uHTeb9rXDvzS27zUg5KYQ==} 3008 | dependencies: 3009 | bit-twiddle: 1.0.2 3010 | dup: 1.0.0 3011 | dev: false 3012 | 3013 | /typedarray@0.0.6: 3014 | resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} 3015 | dev: false 3016 | 3017 | /uglify-js@2.8.29: 3018 | resolution: {integrity: sha512-qLq/4y2pjcU3vhlhseXGGJ7VbFO4pBANu0kwl8VCa9KEI0V8VfZIx2Fy3w01iSTA/pGwKZSmu/+I4etLNDdt5w==} 3019 | engines: {node: '>=0.8.0'} 3020 | hasBin: true 3021 | dependencies: 3022 | source-map: 0.5.7 3023 | yargs: 3.10.0 3024 | optionalDependencies: 3025 | uglify-to-browserify: 1.0.2 3026 | dev: false 3027 | 3028 | /uglify-to-browserify@1.0.2: 3029 | resolution: {integrity: sha512-vb2s1lYx2xBtUgy+ta+b2J/GLVUR+wmpINwHePmPRhOsIVCG2wDzKJ0n14GslH1BifsqVzSOwQhRaCAsZ/nI4Q==} 3030 | requiresBuild: true 3031 | dev: false 3032 | optional: true 3033 | 3034 | /underscore@1.13.6: 3035 | resolution: {integrity: sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==} 3036 | dev: false 3037 | 3038 | /undici-types@5.26.5: 3039 | resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} 3040 | dev: false 3041 | 3042 | /undici@5.28.4: 3043 | resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==} 3044 | engines: {node: '>=14.0'} 3045 | dependencies: 3046 | '@fastify/busboy': 2.1.1 3047 | dev: false 3048 | 3049 | /uniq@1.0.1: 3050 | resolution: {integrity: sha512-Gw+zz50YNKPDKXs+9d+aKAjVwpjNwqzvNpLigIruT4HA9lMZNdMqs9x07kKHB/L9WRzqp4+DlTU5s4wG2esdoA==} 3051 | dev: false 3052 | 3053 | /util-deprecate@1.0.2: 3054 | resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} 3055 | dev: false 3056 | 3057 | /uuid@9.0.1: 3058 | resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} 3059 | hasBin: true 3060 | dev: false 3061 | 3062 | /web-streams-polyfill@3.3.3: 3063 | resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} 3064 | engines: {node: '>= 8'} 3065 | dev: false 3066 | 3067 | /web-streams-polyfill@4.0.0-beta.3: 3068 | resolution: {integrity: sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==} 3069 | engines: {node: '>= 14'} 3070 | dev: false 3071 | 3072 | /webidl-conversions@3.0.1: 3073 | resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} 3074 | dev: false 3075 | 3076 | /webidl-conversions@7.0.0: 3077 | resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} 3078 | engines: {node: '>=12'} 3079 | dev: false 3080 | 3081 | /whatwg-url@13.0.0: 3082 | resolution: {integrity: sha512-9WWbymnqj57+XEuqADHrCJ2eSXzn8WXIW/YSGaZtb2WKAInQ6CHfaUUcTyyver0p8BDg5StLQq8h1vtZuwmOig==} 3083 | engines: {node: '>=16'} 3084 | dependencies: 3085 | tr46: 4.1.1 3086 | webidl-conversions: 7.0.0 3087 | dev: false 3088 | 3089 | /whatwg-url@5.0.0: 3090 | resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} 3091 | dependencies: 3092 | tr46: 0.0.3 3093 | webidl-conversions: 3.0.1 3094 | dev: false 3095 | 3096 | /wide-align@1.1.5: 3097 | resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} 3098 | dependencies: 3099 | string-width: 1.0.2 3100 | dev: false 3101 | 3102 | /window-size@0.1.0: 3103 | resolution: {integrity: sha512-1pTPQDKTdd61ozlKGNCjhNRd+KPmgLSGa3mZTHoOliaGcESD8G1PXhh7c1fgiPjVbNVfgy2Faw4BI8/m0cC8Mg==} 3104 | engines: {node: '>= 0.8.0'} 3105 | dev: false 3106 | 3107 | /wmf@1.0.2: 3108 | resolution: {integrity: sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw==} 3109 | engines: {node: '>=0.8'} 3110 | dev: false 3111 | 3112 | /word@0.3.0: 3113 | resolution: {integrity: sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==} 3114 | engines: {node: '>=0.8'} 3115 | dev: false 3116 | 3117 | /wordnet-db@3.1.14: 3118 | resolution: {integrity: sha512-zVyFsvE+mq9MCmwXUWHIcpfbrHHClZWZiVOzKSxNJruIcFn2RbY55zkhiAMMxM8zCVSmtNiViq8FsAZSFpMYag==} 3119 | engines: {node: '>=0.6.0'} 3120 | dev: false 3121 | 3122 | /wordwrap@0.0.2: 3123 | resolution: {integrity: sha512-xSBsCeh+g+dinoBv3GAOWM4LcVVO68wLXRanibtBSdUvkGWQRGeE9P7IwU9EmDDi4jA6L44lz15CGMwdw9N5+Q==} 3124 | engines: {node: '>=0.4.0'} 3125 | dev: false 3126 | 3127 | /wrappy@1.0.2: 3128 | resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} 3129 | dev: false 3130 | 3131 | /xlsx@0.18.5: 3132 | resolution: {integrity: sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==} 3133 | engines: {node: '>=0.8'} 3134 | hasBin: true 3135 | dependencies: 3136 | adler-32: 1.3.1 3137 | cfb: 1.2.2 3138 | codepage: 1.15.0 3139 | crc-32: 1.2.2 3140 | ssf: 0.11.2 3141 | wmf: 1.0.2 3142 | word: 0.3.0 3143 | dev: false 3144 | 3145 | /xmlbuilder@10.1.1: 3146 | resolution: {integrity: sha512-OyzrcFLL/nb6fMGHbiRDuPup9ljBycsdCypwuyg5AAHvyWzGfChJpCXMG88AGTIMFhGZ9RccFN1e6lhg3hkwKg==} 3147 | engines: {node: '>=4.0'} 3148 | dev: false 3149 | 3150 | /xtend@2.1.2: 3151 | resolution: {integrity: sha512-vMNKzr2rHP9Dp/e1NQFnLQlwlhp9L/LfvnsVdHxN1f+uggyVI3i08uD14GPvCToPkdsRfyPqIyYGmIk58V98ZQ==} 3152 | engines: {node: '>=0.4'} 3153 | dependencies: 3154 | object-keys: 0.4.0 3155 | dev: false 3156 | 3157 | /xtend@4.0.2: 3158 | resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} 3159 | engines: {node: '>=0.4'} 3160 | dev: false 3161 | 3162 | /yallist@4.0.0: 3163 | resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} 3164 | dev: false 3165 | 3166 | /yaml@2.4.1: 3167 | resolution: {integrity: sha512-pIXzoImaqmfOrL7teGUBt/T7ZDnyeGBWyXQBvOVhLkWLN37GXv8NMLK406UY6dS51JfcQHsmcW5cJ441bHg6Lg==} 3168 | engines: {node: '>= 14'} 3169 | hasBin: true 3170 | dev: false 3171 | 3172 | /yargs@3.10.0: 3173 | resolution: {integrity: sha512-QFzUah88GAGy9lyDKGBqZdkYApt63rCXYBGYnEP4xDJPXNqXXnBDACnbrXnViV6jRSqAePwrATi2i8mfYm4L1A==} 3174 | dependencies: 3175 | camelcase: 1.2.1 3176 | cliui: 2.1.0 3177 | decamelize: 1.2.0 3178 | window-size: 0.1.0 3179 | dev: false 3180 | 3181 | /youtube-transcript@1.1.0: 3182 | resolution: {integrity: sha512-q/Sk5DShr9CE1qRGO0KkBPnm7KK/dk7LV/2hZEhRsSWjHYQtCrYR/9JkviY9jziTY6W4hXR4hTUcfhMKOMaMXA==} 3183 | engines: {node: '>=18.0.0'} 3184 | dev: false 3185 | 3186 | /youtubei.js@9.2.0: 3187 | resolution: {integrity: sha512-Q157iNPlyB32477xU+1/+Pyz/Bxy9zLJ1sXLjn96qhBZ03wWHVwh2azeyz7jk13UvcrxZXtIYv9HHn2dFngGnQ==} 3188 | dependencies: 3189 | jintr: 1.1.0 3190 | tslib: 2.6.2 3191 | undici: 5.28.4 3192 | dev: false 3193 | 3194 | /zlibjs@0.3.1: 3195 | resolution: {integrity: sha512-+J9RrgTKOmlxFSDHo0pI1xM6BLVUv+o0ZT9ANtCxGkjIVCCUdx9alUF8Gm+dGLKbkkkidWIHFDZHDMpfITt4+w==} 3196 | dev: false 3197 | 3198 | /zod-to-json-schema@3.22.5(zod@3.22.4): 3199 | resolution: {integrity: sha512-+akaPo6a0zpVCCseDed504KBJUQpEW5QZw7RMneNmKw+fGaML1Z9tUNLnHHAC8x6dzVRO1eB2oEMyZRnuBZg7Q==} 3200 | peerDependencies: 3201 | zod: ^3.22.4 3202 | dependencies: 3203 | zod: 3.22.4 3204 | dev: false 3205 | 3206 | /zod@3.22.4: 3207 | resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} 3208 | dev: false 3209 | -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- 1 | import "dotenv/config"; 2 | import { OpenAIEmbeddings } from "@langchain/openai"; 3 | import { TextLoader } from "langchain/document_loaders/fs/text"; 4 | import { DocxLoader } from "langchain/document_loaders/fs/docx"; 5 | import natural from "natural"; 6 | import * as math from "mathjs"; 7 | import { quantile } from "d3-array"; 8 | import { RecursiveCharacterTextSplitter } from "langchain/text_splitter"; 9 | 10 | interface SentenceObject { 11 | sentence: string; 12 | index: number; 13 | combined_sentence?: string; 14 | combined_sentence_embedding?: number[]; 15 | distance_to_next?: number; 16 | } 17 | 18 | /** 19 | * Asynchronously loads a text file and returns its content as a string. 20 | * 21 | * This function creates an instance of `TextLoader` to load the document 22 | * specified by the given relative path. It assumes the document loader 23 | * returns an array of documents, and extracts the page content of the first 24 | * document in this array. 25 | * 26 | * @param {string} relativePath - The relative path to the text file that needs to be loaded. 27 | * @returns {Promise} A promise that resolves with the content of the text file as a string. 28 | * 29 | */ 30 | const loadTextFile = async (relativePath: string): Promise => { 31 | const loader = new TextLoader(relativePath); 32 | const docs = await loader.load(); 33 | const textCorpus = docs[0].pageContent; 34 | return textCorpus; 35 | }; 36 | 37 | const loadDocxFile = async (relativePath: string): Promise => { 38 | const loader = new DocxLoader(relativePath); 39 | const docs = await loader.load(); 40 | const textCorpus = docs[0].pageContent; 41 | return textCorpus; 42 | }; 43 | 44 | /** 45 | * Splits a given text corpus into an array of sentences. 46 | * 47 | * This function utilizes `natural.SentenceTokenizerNew` to tokenize the provided text corpus 48 | * into individual sentences. It's designed to accurately recognize sentence boundaries 49 | * and split the text accordingly. The tokenizer's efficiency and accuracy in identifying 50 | * sentence endings allow for reliable sentence segmentation, which is crucial for 51 | * text processing tasks that require sentence-level analysis. 52 | * 53 | * @param {string} textCorpus - The text corpus to be split into sentences. 54 | * @returns {string[]} An array of sentences extracted from the text corpus. 55 | * 56 | * @example 57 | * const text = "Hello world. This is a test text."; 58 | * const sentences = splitToSentences(text); 59 | * console.log(sentences); // Output: ["Hello world.", "This is a test text."] 60 | */ 61 | const splitToSentencesUsingNLP = (textCorpus: string): string[] => { 62 | const tokenizer = new natural.SentenceTokenizerNew(); 63 | const sentences = tokenizer.tokenize(textCorpus); 64 | return sentences; 65 | }; 66 | 67 | const splitToSentences = async (textCorpus: string): Promise => { 68 | const splitter = new RecursiveCharacterTextSplitter({ 69 | chunkSize: 200, 70 | chunkOverlap: 20, 71 | }); 72 | 73 | const output = await splitter.createDocuments([textCorpus]); 74 | 75 | return output.map((out) => out.pageContent); 76 | }; 77 | 78 | /** 79 | * Structures an array of sentences into an array of `SentenceObject`s, each enhanced with combined sentences based on a specified buffer size. 80 | * 81 | * This function iterates through each sentence in the input array, creating an object for each that includes the original sentence, its index, and a combined sentence. The combined sentence is constructed by concatenating neighboring sentences within a specified range (bufferSize) before and after the current sentence, facilitating contextual analysis or embeddings in subsequent processing steps. 82 | * 83 | * The `bufferSize` determines how many sentences before and after the current sentence are included in the `combined_sentence`. For example, with a `bufferSize` of 1, each `combined_sentence` will include the sentence itself, the one preceding it, and the one following it, as long as such sentences exist. 84 | * 85 | * @param {string[]} sentences - An array of sentences to be structured. 86 | * @param {number} [bufferSize=1] - The number of sentences to include before and after the current sentence when forming the combined sentence. Defaults to 1. 87 | * @returns {SentenceObject[]} An array of `SentenceObject`s, each containing the original sentence, its index, and a combined sentence that includes its neighboring sentences based on the specified `bufferSize`. 88 | * 89 | * @example 90 | * const sentences = ["Sentence one.", "Sentence two.", "Sentence three."]; 91 | * const structuredSentences = structureSentences(sentences, 1); 92 | * console.log(structuredSentences); 93 | * // Output: [ 94 | * // { sentence: 'Sentence one.', index: 0, combined_sentence: 'Sentence one. Sentence two.' }, 95 | * // { sentence: 'Sentence two.', index: 1, combined_sentence: 'Sentence one. Sentence two. Sentence three.' }, 96 | * // { sentence: 'Sentence three.', index: 2, combined_sentence: 'Sentence two. Sentence three.' } 97 | * // ] 98 | */ 99 | const structureSentences = ( 100 | sentences: string[], 101 | bufferSize: number = 1 102 | ): SentenceObject[] => { 103 | const sentenceObjectArray: SentenceObject[] = sentences.map( 104 | (sentence, i) => ({ 105 | sentence, 106 | index: i, 107 | }) 108 | ); 109 | 110 | sentenceObjectArray.forEach((currentSentenceObject, i) => { 111 | let combinedSentence = ""; 112 | 113 | for (let j = i - bufferSize; j < i; j++) { 114 | if (j >= 0) { 115 | combinedSentence += sentenceObjectArray[j].sentence + " "; 116 | } 117 | } 118 | 119 | combinedSentence += currentSentenceObject.sentence + " "; 120 | 121 | for (let j = i + 1; j <= i + bufferSize; j++) { 122 | if (j < sentenceObjectArray.length) { 123 | combinedSentence += sentenceObjectArray[j].sentence; 124 | } 125 | } 126 | 127 | sentenceObjectArray[i].combined_sentence = combinedSentence.trim(); 128 | }); 129 | 130 | return sentenceObjectArray; 131 | }; 132 | 133 | /** 134 | * Generates embeddings for combined sentences within a new array of SentenceObject items, based on the input array, attaching the embeddings to their respective objects. 135 | * 136 | * This function takes an array of SentenceObject items, creates a deep copy to maintain purity, and then filters to identify those with a `combined_sentence`. 137 | * It generates embeddings for these combined sentences in bulk using the OpenAIEmbeddings service. Each embedding is then attached to the corresponding SentenceObject 138 | * in the copied array as `combined_sentence_embedding`. 139 | * 140 | * The function is pure and does not mutate the input array. Instead, it returns a new array with updated properties. 141 | * 142 | * @param {SentenceObject[]} sentencesArray - An array of SentenceObject items, each potentially containing a `combined_sentence`. 143 | * @returns {Promise} A promise that resolves with a new array of SentenceObject items, with embeddings attached to those items that have a `combined_sentence`. 144 | * 145 | * @example 146 | * const sentencesArray = [ 147 | * { sentence: 'Sentence one.', index: 0, combined_sentence: 'Sentence one. Sentence two.' }, 148 | * // other SentenceObject items... 149 | * ]; 150 | * generateAndAttachEmbeddings(sentencesArray) 151 | * .then(result => console.log(result)) 152 | * .catch(error => console.error('Error generating embeddings:', error)); 153 | */ 154 | const generateAndAttachEmbeddings = async ( 155 | sentencesArray: SentenceObject[] 156 | ): Promise => { 157 | /* Create embedding instance */ 158 | const embeddings = new OpenAIEmbeddings(); 159 | 160 | // Deep copy the sentencesArray to ensure purity 161 | const sentencesArrayCopy: SentenceObject[] = sentencesArray.map( 162 | (sentenceObject) => ({ 163 | ...sentenceObject, 164 | combined_sentence_embedding: sentenceObject.combined_sentence_embedding 165 | ? [...sentenceObject.combined_sentence_embedding] 166 | : undefined, 167 | }) 168 | ); 169 | 170 | // Extract combined sentences for embedding 171 | const combinedSentencesStrings: string[] = sentencesArrayCopy 172 | .filter((item) => item.combined_sentence !== undefined) 173 | .map((item) => item.combined_sentence as string); 174 | 175 | // Generate embeddings for the combined sentences 176 | const embeddingsArray = await embeddings.embedDocuments( 177 | combinedSentencesStrings 178 | ); 179 | 180 | // Attach embeddings to the corresponding SentenceObject in the copied array 181 | let embeddingIndex = 0; 182 | for (let i = 0; i < sentencesArrayCopy.length; i++) { 183 | if (sentencesArrayCopy[i].combined_sentence !== undefined) { 184 | sentencesArrayCopy[i].combined_sentence_embedding = 185 | embeddingsArray[embeddingIndex++]; 186 | } 187 | } 188 | 189 | return sentencesArrayCopy; 190 | }; 191 | 192 | /** 193 | * Calculates the cosine similarity between two vectors. 194 | * 195 | * This function computes the cosine similarity between two vectors represented as arrays of numbers. 196 | * Cosine similarity is a measure of similarity between two non-zero vectors of an inner product space that 197 | * measures the cosine of the angle between them. The cosine of 0° is 1, and it is less than 1 for any other angle. 198 | * It is thus a judgment of orientation and not magnitude: two vectors with the same orientation have a cosine similarity 199 | * of 1, two vectors at 90° have a similarity of 0, and two vectors diametrically opposed have a similarity of -1, 200 | * independent of their magnitude. Cosine similarity is particularly used in positive space, where the outcome is 201 | * neatly bounded in [0,1]. 202 | * 203 | * The function returns 0 if either vector has a norm of 0. 204 | * 205 | * @param {number[]} vecA - The first vector, represented as an array of numbers. 206 | * @param {number[]} vecB - The second vector, also represented as an array of numbers. 207 | * @returns {number} The cosine similarity between vecA and vecB, a value between -1 and 1. Returns 0 if either vector's norm is 0. 208 | * 209 | * @example 210 | * const vectorA = [1, 2, 3]; 211 | * const vectorB = [4, 5, 6]; 212 | * const similarity = cosineSimilarity(vectorA, vectorB); 213 | * console.log(similarity); // Output: similarity score as a number 214 | */ 215 | const cosineSimilarity = (vecA: number[], vecB: number[]): number => { 216 | const dotProduct = math.dot(vecA, vecB) as number; 217 | 218 | const normA = math.norm(vecA) as number; 219 | const normB = math.norm(vecB) as number; 220 | 221 | if (normA === 0 || normB === 0) { 222 | return 0; 223 | } 224 | 225 | const similarity = dotProduct / (normA * normB); 226 | return similarity; 227 | }; 228 | 229 | /** 230 | * Enhances an array of SentenceObject items by calculating cosine distances between sentences and identifying significant semantic shifts based on a specified percentile threshold. 231 | * This function first calculates the cosine distance between each sentence's embedding and its next sentence's embedding. It then identifies which of these distances exceed a specified percentile threshold, indicating significant semantic shifts. The `distance_to_next` property is updated for each SentenceObject, and the indices of sentences where significant shifts occur are returned. 232 | * This operation is performed in a pure manner, ensuring the input array is not modified. 233 | * 234 | * @param {SentenceObject[]} sentenceObjectArray - An array of SentenceObject items, each containing a combined sentence embedding. 235 | * @param {number} percentileThreshold - The percentile threshold as a number (0-100) to identify significant semantic shifts. 236 | * @returns {{updatedArray: SentenceObject[], significantShiftIndices: number[]}} An object containing the updated array of SentenceObject items with `distance_to_next` property set, and an array of indices indicating significant semantic shifts. 237 | * 238 | */ 239 | const calculateCosineDistancesAndSignificantShifts = ( 240 | sentenceObjectArray: SentenceObject[], 241 | percentileThreshold: number 242 | ): { updatedArray: SentenceObject[]; significantShiftIndices: number[] } => { 243 | // Calculate cosine distances and update the array 244 | const distances: number[] = []; 245 | const updatedSentenceObjectArray = sentenceObjectArray.map( 246 | (item, index, array) => { 247 | if ( 248 | index < array.length - 1 && 249 | item.combined_sentence_embedding && 250 | array[index + 1].combined_sentence_embedding 251 | ) { 252 | const embeddingCurrent = item.combined_sentence_embedding!; 253 | const embeddingNext = array[index + 1].combined_sentence_embedding!; 254 | const similarity = cosineSimilarity(embeddingCurrent, embeddingNext); 255 | const distance = 1 - similarity; 256 | distances.push(distance); // Keep track of calculated distances 257 | return { ...item, distance_to_next: distance }; 258 | } else { 259 | return { ...item, distance_to_next: undefined }; 260 | } 261 | } 262 | ); 263 | 264 | // Determine the threshold value for significant shifts 265 | const sortedDistances = [...distances].sort((a, b) => a - b); 266 | const quantileThreshold = percentileThreshold / 100; 267 | const breakpointDistanceThreshold = quantile( 268 | sortedDistances, 269 | quantileThreshold 270 | ); 271 | 272 | if (breakpointDistanceThreshold === undefined) { 273 | throw new Error("Failed to calculate breakpoint distance threshold"); 274 | } 275 | 276 | // Identify indices of significant shifts 277 | const significantShiftIndices = distances 278 | .map((distance, index) => 279 | distance > breakpointDistanceThreshold ? index : -1 280 | ) 281 | .filter((index) => index !== -1); 282 | 283 | return { 284 | updatedArray: updatedSentenceObjectArray, 285 | significantShiftIndices, 286 | }; 287 | }; 288 | 289 | /** 290 | * Groups sentences into semantic chunks based on specified shift indices. 291 | * 292 | * This function accumulates sentences into chunks, where each chunk is defined by significant semantic shifts indicated by the provided shift indices. Each chunk comprises sentences that are semantically related, and the boundaries are determined by the shift indices, which point to sentences where a significant semantic shift occurs. 293 | * 294 | * @param {SentenceObject[]} sentenceObjectArray - An array of SentenceObject items, each potentially containing a sentence, its embedding, and additional metadata. 295 | * @param {number[]} shiftIndices - An array of indices indicating where significant semantic shifts occur, thus where new chunks should start. 296 | * @returns {string[]} An array of string, where each string is a concatenated group of semantically related sentences. 297 | * 298 | * @example 299 | * const sentencesWithEmbeddings = [ 300 | * { sentence: 'Sentence one.', index: 0 }, 301 | * // other SentenceObject items... 302 | * ]; 303 | * const shiftIndices = [2, 5]; // Semantic shifts occur after the sentences at indices 2 and 5 304 | * const semanticChunks = groupSentencesIntoChunks(sentencesWithEmbeddings, shiftIndices); 305 | * console.log(semanticChunks); // Output: Array of concatenated sentence groups 306 | */ 307 | const groupSentencesIntoChunks = ( 308 | sentenceObjectArray: SentenceObject[], 309 | shiftIndices: number[] 310 | ): string[] => { 311 | let startIdx = 0; // Initialize the start index 312 | const chunks: string[] = []; // Create an array to hold the grouped sentences 313 | 314 | // Add one beyond the last index to handle remaining sentences as a final chunk 315 | const adjustedBreakpoints = [...shiftIndices, sentenceObjectArray.length - 1]; 316 | 317 | // Iterate through the breakpoints to slice and accumulate sentences into chunks 318 | adjustedBreakpoints.forEach((breakpoint) => { 319 | // Extract the sentences from the current start index to the breakpoint (inclusive) 320 | const group = sentenceObjectArray.slice(startIdx, breakpoint + 1); 321 | const combinedText = group.map((item) => item.sentence).join(" "); // Combine the sentences 322 | chunks.push(combinedText); 323 | 324 | startIdx = breakpoint + 1; // Update the start index for the next group 325 | }); 326 | 327 | return chunks; 328 | }; 329 | 330 | async function main() { 331 | try { 332 | // Step 1: Load a text file. 333 | const textCorpus = await loadTextFile("assets/state_of_the_union.txt"); 334 | 335 | // Step 2: Split the loaded text into sentences. 336 | const sentences = splitToSentencesUsingNLP(textCorpus); 337 | 338 | // Step 3: Structure these sentences into an array of SentenceObject. 339 | const structuredSentences = structureSentences(sentences, 1); // Assuming a bufferSize of 1 for simplicity 340 | 341 | // Step 4: Generate embeddings for these combined sentences. 342 | const sentencesWithEmbeddings = await generateAndAttachEmbeddings( 343 | structuredSentences 344 | ); 345 | 346 | // Step 5: Calculate cosine distances and significant shifts to identify semantic chunks. 347 | const { updatedArray, significantShiftIndices } = 348 | calculateCosineDistancesAndSignificantShifts(sentencesWithEmbeddings, 90); // Assuming a threshold of 90% 349 | 350 | // Step 6: Group sentences into semantic chunks based on the significant shifts identified. 351 | const semanticChunks = groupSentencesIntoChunks( 352 | updatedArray, 353 | significantShiftIndices 354 | ); 355 | 356 | console.log(`Total Chunks Processed : ${semanticChunks.length}`); 357 | 358 | // Step 7: Log each semantic chunk with a clear separator. 359 | console.log("Semantic Chunks:\n"); 360 | semanticChunks.forEach((chunk, index) => { 361 | console.log(`Chunk #${index + 1}:`); 362 | console.log(chunk); 363 | console.log("\n--------------------------------------------------\n"); 364 | }); 365 | } catch (error) { 366 | console.error("An error occurred in the main function:", error); 367 | } 368 | } 369 | 370 | main(); 371 | 372 | // https://gist.github.com/tsensei/3b6589662271874b5055d79473932aae 373 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Visit https://aka.ms/tsconfig to read more about this file */ 4 | 5 | /* Projects */ 6 | // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ 7 | // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ 8 | // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ 9 | // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ 10 | // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ 11 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ 12 | 13 | /* Language and Environment */ 14 | "target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, 15 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ 16 | // "jsx": "preserve", /* Specify what JSX code is generated. */ 17 | // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ 18 | // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ 19 | // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ 20 | // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */ 22 | // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ 23 | // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ 24 | // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ 25 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ 26 | 27 | /* Modules */ 28 | "module": "ESNext" /* Specify what module code is generated. */, 29 | "rootDir": "./src" /* Specify the root folder within your source files. */, 30 | "moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */, 31 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ 32 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ 33 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 34 | // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ 35 | // "types": [], /* Specify type package names to be included without being referenced in a source file. */ 36 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ 37 | // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ 38 | // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */ 39 | // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */ 40 | // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */ 41 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */ 42 | // "resolveJsonModule": true, /* Enable importing .json files. */ 43 | // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ 44 | // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ 45 | 46 | /* JavaScript Support */ 47 | "allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */, 48 | "checkJs": true /* Enable error reporting in type-checked JavaScript files. */, 49 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ 50 | 51 | /* Emit */ 52 | // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ 53 | // "declarationMap": true, /* Create sourcemaps for d.ts files. */ 54 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ 55 | "sourceMap": true /* Create source map files for emitted JavaScript files. */, 56 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ 57 | // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ 58 | "outDir": "./build" /* Specify an output folder for all emitted files. */, 59 | "removeComments": true /* Disable emitting comments. */, 60 | // "noEmit": true, /* Disable emitting files from a compilation. */ 61 | "importHelpers": true /* Allow importing helper functions from tslib once per project, instead of including them per-file. */, 62 | // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */ 63 | // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ 64 | // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ 65 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ 66 | // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ 67 | // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ 68 | // "newLine": "crlf", /* Set the newline character for emitting files. */ 69 | // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */ 70 | // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */ 71 | // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */ 72 | // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */ 73 | // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ 74 | // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */ 75 | 76 | /* Interop Constraints */ 77 | // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ 78 | // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */ 79 | "allowSyntheticDefaultImports": true /* Allow 'import x from y' when a module doesn't have a default export. */, 80 | "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, 81 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ 82 | "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, 83 | 84 | /* Type Checking */ 85 | "strict": true /* Enable all strict type-checking options. */, 86 | "noImplicitAny": true /* Enable error reporting for expressions and declarations with an implied 'any' type. */, 87 | "strictNullChecks": true /* When type checking, take into account 'null' and 'undefined'. */, 88 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ 89 | // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ 90 | // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ 91 | "noImplicitThis": true /* Enable error reporting when 'this' is given the type 'any'. */, 92 | "useUnknownInCatchVariables": false /* Default catch clause variables as 'unknown' instead of 'any'. */, 93 | "alwaysStrict": true /* Ensure 'use strict' is always emitted. */, 94 | "noUnusedLocals": true /* Enable error reporting when local variables aren't read. */, 95 | "noUnusedParameters": true /* Raise an error when a function parameter isn't read. */, 96 | // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ 97 | "noImplicitReturns": true /* Enable error reporting for codepaths that do not explicitly return in a function. */, 98 | "noFallthroughCasesInSwitch": true /* Enable error reporting for fallthrough cases in switch statements. */, 99 | // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */ 100 | // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ 101 | // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */ 102 | // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ 103 | // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ 104 | 105 | /* Completeness */ 106 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ 107 | "skipLibCheck": true /* Skip type checking all .d.ts files. */ 108 | } 109 | } 110 | --------------------------------------------------------------------------------