add some chains (#6)
parent
1cc3205a6e
commit
c40bf9ce06
@ -0,0 +1,13 @@
|
||||
# Hello World
|
||||
|
||||
## Description
|
||||
|
||||
A simple LLMChain that takes in a topic and generates a joke about it.
|
||||
|
||||
## Chain type
|
||||
|
||||
LLMChain
|
||||
|
||||
## Input Variables
|
||||
|
||||
- `topic`: topic to generate a joke about
|
@ -0,0 +1,28 @@
|
||||
{
|
||||
"memory": null,
|
||||
"verbose": false,
|
||||
"prompt": {
|
||||
"input_variables": [
|
||||
"topic"
|
||||
],
|
||||
"output_parser": null,
|
||||
"template": "Tell me a joke about {topic}:",
|
||||
"template_format": "f-string",
|
||||
"_type": "prompt"
|
||||
},
|
||||
"llm": {
|
||||
"model_name": "text-davinci-003",
|
||||
"temperature": 0.9,
|
||||
"max_tokens": 256,
|
||||
"top_p": 1,
|
||||
"frequency_penalty": 0,
|
||||
"presence_penalty": 0,
|
||||
"n": 1,
|
||||
"best_of": 1,
|
||||
"request_timeout": null,
|
||||
"logit_bias": {},
|
||||
"_type": "openai"
|
||||
},
|
||||
"output_key": "text",
|
||||
"_type": "llm_chain"
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
# {Title}
|
||||
|
||||
## Description
|
||||
|
||||
## Chain type
|
||||
|
||||
## Input Variables
|
Loading…
Reference in New Issue