fc6b49be32
Signed-off-by: Matt Williams <m@technovangelist.com> |
||
---|---|---|
.. | ||
main.ts | ||
package-lock.json | ||
package.json | ||
README.md |
LangChain
This example is a basic "hello world" of using LangChain with Ollama using NodeJS and Typescript.
Setup
npm install
Run
ts-node main.ts
Running this example will print the response for "hello":
Hello! It's nice to meet you. hopefully you are having a great day! Is there something I can help you with or would you like to chat?