-
Reproduction
When "npm run dev" is executed, I get an error saying node_modules/langchain/dist/document_loaders/fs/pdf.d.ts:1:22 - error TS6053: /node_modules/langchain/src/types/pdf-parse.d.ts' not …
-
Introduced here I believe: https://github.com/langchain-ai/langchainjs/pull/3709
0.0.203 is a working version.
Stack trace:
```
node_modules/@langchain/core/dist/language_models/base.d.ts:122:…
5-tom updated
8 months ago
-
I am getting the following error while compiling my project.
![image](https://github.com/langchain-ai/langchainjs/assets/21228750/f9086f66-281b-42ca-aec2-94f5d8db4879)
```
error TS1452: 'resoluti…
-
Here is my code
I am building a RAG application
When I start the application, here is what I am having
```js
> next dev
▲ Next.js 14.0.4
- Local: http://localhost:3000
- En…
-
when developing with TypeScript ,I got a type error:
`The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cann…
-
It would be great to have Autodoc ingest/parse two or more repositories/libraries, then respond in a way that combines docs in a single chat experience.
For example:
- [LangChain Python](https:…
-
### Issue you'd like to raise.
Hi ,
I'm trying to see how I can put a system message for my chain to tell him that for example "Your name is XX".
I've tried a lot of things and saw a lot of iss…
-
I use langchain 0.0.174 by Typescript:
import {OpenAIEmbeddings} from "langchain/embeddings/openai";
-
Hello! Today after updating langchain package I encountered such error:
Type 'ChatAnthropic' is not assignable to type 'LLMType'.
Type 'ChatAnthropic' is not assignable to type 'LLMType'.
T…
-
```javascript
const llm = new ChatOpenAI(
{
streaming: true,
openAIApiKey: this.configService.get('OPENAI_API_KEY', ''),
temperature: 0.7,
timeout: 20000,
maxRetries: 0,
…