nomic-ai / gpt4all
An open-source chatbot trained on collections of clean assistant data
Run nomic-ai/gpt4all with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
prompt |
string
|
Prompt to send to GPT4all
|
|
n_predict |
integer
|
128
|
Number of tokens to generate
|
seed |
integer
|
0
|
RNG seed
|
top_k |
integer
|
40
|
Choose the top k tokens
|
top_p |
number
|
0.95
|
Pick the tockens with top p probability
|
repeat_penalty |
number
|
1.3
|
Repeat penalty
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"x-order": 2,
"description": "RNG seed"
},
"top_k": {
"type": "integer",
"title": "Top K",
"default": 40,
"x-order": 3,
"description": "Choose the top k tokens"
},
"top_p": {
"type": "number",
"title": "Top P",
"default": 0.95,
"x-order": 4,
"description": "Pick the tockens with top p probability"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt to send to GPT4all"
},
"n_predict": {
"type": "integer",
"title": "N Predict",
"default": 128,
"x-order": 1,
"description": "Number of tokens to generate"
},
"repeat_penalty": {
"type": "number",
"title": "Repeat Penalty",
"default": 1.3,
"x-order": 5,
"description": "Repeat penalty"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output"
}