docsgpt-bot
Version:
DocsGPT 🦖 is an innovative open-source tool designed to simplify the retrieval of information from project documentation using advanced GPT models 🤖.
1 lines • 1.1 kB
Source Map (JSON)
{"mappings":"AAiBA;IACE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CAC3B;AEsQD,OAAO,MAAM,+GAUV,WAAW,4CAqKb,CAAA","sources":["src/src/types/index.ts","src/src/requests/streamingApi.ts","src/src/components/DocsGPTWidget.tsx","src/src/main.tsx","src/main.tsx"],"sourcesContent":[null,null,null,null,"import React from 'react';\nimport { createRoot } from 'react-dom/client';\nimport { DocsGPTWidget } from './components/DocsGPTWidget';\n\nif (typeof window !== 'undefined') {\n const renderWidget = (elementId: string, props = {}) => {\n if (document.getElementById(elementId)) {\n const root = createRoot(document.getElementById(elementId) as HTMLElement);\n root.render(<DocsGPTWidget {...props} />);\n }\n };\n (window as any).renderDocsGPTWidget = renderWidget;\n}\n\nexport { DocsGPTWidget };"],"names":[],"version":3,"file":"types.d.ts.map"}