LangChain CLI
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
Last updated