grimmer0125 / langchainjs-test

Test callbacks parameter of LangChain.js to get the token usage. put OPENAI_API_KEY="" in .env and use VSCode launch to debug it. Completion models are supported but embedding models is not supported yet (even in Python LangChain)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository is not active

About

Test callbacks parameter of LangChain.js to get the token usage. put OPENAI_API_KEY="" in .env and use VSCode launch to debug it. Completion models are supported but embedding models is not supported yet (even in Python LangChain)


Languages

Language:TypeScript 100.0%