Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 851 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 851 Bytes

LangChain CLI

This is a console utility that will help you use our library for such tasks:

  • Summarize text
  • Generate release notes
  • Generate changelog
  • Generate documentation
  • Generate code snippets
  • Generate code samples
  • Generate code documentation

Usage:

dotnet tool install --global langchain.cli --prerelease
langchain auth openai OPENAI_API_KEY # Default model - gpt-3.5-turbo, you can specify another model using --model parameter
langchain summarize --input-file README.md --output-file SUMMARY.md
langchain generate --input "Give me random word" # It will output a random word to console

# Smart task
langchain model gpt-4-turbo
langchain generate --input "Give me a solution for the next problem: $PROBLEM"

Samples