Skip to content

Commit

Permalink
docs(Update LLM kwargs):
Browse files Browse the repository at this point in the history
  • Loading branch information
msoedov committed Aug 26, 2023
1 parent 7180eb5 commit 6482468
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
maintainers = [
Expand Down

1 comment on commit 6482468

@vercel
Copy link

@vercel vercel bot commented on 6482468 Aug 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

langcorn – ./

langcorn-msoedov.vercel.app
langcorn.vercel.app
langcorn-git-main-msoedov.vercel.app

Please sign in to comment.