Skip to content

Simple LangChain project using the TypeScript API

Notifications You must be signed in to change notification settings

Tightrope/LangChainTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developer Notes

Try

Environment Variables

The following environment variables are required to run the code:

  • OPENAI_API_KEY - OpenAI API Key
  • PINECONE_API_KEY - Pinecone API Key
  • PINECONE_ENVIRONMENT - See Pinecone.io dashboard

Place the above in a .env file in the root of the project.

Notes

  • To run this code in WebStorm, in the Run/Debug Configurations set node paramaters to:

    --loader ts-node/esm
    

    The above is done to support loading LangChain ESM modules.

  • OpenAI text-embedding-ada-002 outputs 1536 dimensions

References

About

Simple LangChain project using the TypeScript API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published