From 64824683a0d4190e6f7ee0314536dc33da3bac2f Mon Sep 17 00:00:00 2001 From: Alexander Myasoedov Date: Sat, 26 Aug 2023 11:52:51 +0300 Subject: [PATCH] docs(Update LLM kwargs): --- Readme.md | 13 +++++++++++++ pyproject.toml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 0b269aa..221d6c7 100644 --- a/Readme.md +++ b/Readme.md @@ -230,6 +230,19 @@ Response: } ``` +## LLM kwargs + +To override the default LLM params per request + +```shell +POST http://0.0.0.0:3000/examples.ex1/run +X-LLM-API-KEY: sk-****** +X-LLM-TEMPERATURE: 0.7 +X-MAX-TOKENS: 256 +X-MODEL-NAME: gpt5 +Content-Type: application/json +``` + ## Documentation For more detailed information on how to use LangCorn, including advanced features and customization options, please refer to the official documentation. diff --git a/pyproject.toml b/pyproject.toml index 231e005..a2a89ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langcorn" -version = "0.0.14" +version = "0.0.15" description = "A Python package creating rest api interface for LangChain" authors = ["Alexander Miasoiedov "] maintainers = [