langchain-stripe-loader 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,34 +0,0 @@
1
- import { BaseDocumentLoader } from '@langchain/core/document_loaders/base';
2
- import { Document } from '@langchain/core/documents';
3
- /**
4
- * Document loader for Stripe Docs website content
5
- * Extracts content from docs.stripe.com pages and converts it to LangChain documents
6
- */
7
- export declare class StripeDocsDocumentLoader extends BaseDocumentLoader {
8
- private readonly debug;
9
- constructor(debug?: boolean);
10
- /**
11
- * Fetches URLs from the Stripe Docs sitemap
12
- * @returns {Promise<string[]>} Array of URLs from the sitemap
13
- */
14
- protected fetchURLsFromSitemap(): Promise<string[]>;
15
- /**
16
- * Fetches articles from the sitemap
17
- * @param {string} locale Locale for the content
18
- * @returns {Promise<StripeDocsArticle[]>} Array of article objects
19
- */
20
- private fetchArticlesFromSitemap;
21
- private fetchArticlesFromURLs;
22
- /**
23
- * Loads documents from Stripe Docs
24
- * @param {string} locale Locale for the content (defaults to 'en-US')
25
- * @returns {Promise<Document[]>} Array of LangChain documents
26
- */
27
- load(options?: {
28
- locale: string;
29
- urls?: string[];
30
- resource?: string;
31
- excludeResources?: string[];
32
- }): Promise<Document[]>;
33
- }
34
- //# sourceMappingURL=StripeDocsLoader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StripeDocsLoader.d.ts","sourceRoot":"","sources":["../src/StripeDocsLoader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAcrD;;;GAGG;AACH,qBAAa,wBAAyB,SAAQ,kBAAkB;IAClD,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAAL,KAAK,GAAE,OAAe;IAGnD;;;OAGG;cACa,oBAAoB;IAOpC;;;;OAIG;YACW,wBAAwB;YAexB,qBAAqB;IAiCnC;;;;OAIG;IACG,IAAI,CAAC,OAAO,CAAC,EAAE;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;KAC7B,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;CAuBxB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=StripeDocsLoader.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StripeDocsLoader.spec.d.ts","sourceRoot":"","sources":["../src/StripeDocsLoader.spec.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.spec.d.ts","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":""}