langchainjs icon indicating copy to clipboard operation
langchainjs copied to clipboard

Results 400 langchainjs issues
Sort by recently updated
recently updated
newest added

@sullivan-sean what do you think? The current setup makes the tsconfig "invalid" after `yarn build` is run, because of the generated top-level entrypoints, if we could scope tsconfig to `src/`...

Typescript has extremely powerful template literals. https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html. I'd imagine one of the goals of langchainjs is to keep a similar API to the python version so you could keep your...

Add configuration parameter to the constructor of OpenAI so that users can have more control of their

Running this code: ```javascript import { initializeAgentExecutor } from "langchain/agents"; ``` gives me this error: ``` Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/USERXXX/Projects/langchain/prototype/javascript/node_modules/langchain/agents' imported from /Users/USERXXX/Projects/langchain/prototype/javascript/prototype.js Did you mean to import...

Allows the ability to add custom parameters within your OpenAI generate calls ```typescript export const run = async () => { const model = new OpenAI({ temperature: 0 }); const...

Feel free to close, but seems like we can provide safer access to .index with a getter that throws if it hasn't been init'd Also added a static method to...

Hi there, I'm running through the docs and I'm essentially stuck here: https://hwchase17.github.io/langchainjs/docs/getting-started#agents-dynamically-call-chains-based-on-user-input This makes use of SerpApi which is great, but their signup process requires an email and phone...

Here's a PR for a Redis cache. It includes a few small change to the BaseCache and InMemory cache as well. One thing to note: In Python LangChain, the cache...