update marketplace

This commit is contained in:
Henry
2023-07-15 23:44:30 +01:00
parent ff755c3d1b
commit 91fe7e8e05
29 changed files with 8028 additions and 6407 deletions
@@ -81,120 +81,6 @@
"selected": false,
"dragging": false
},
{
"width": 300,
"height": 429,
"id": "huggingFaceInference_LLMs_0",
"position": {
"x": 503.5630827259226,
"y": 50.79125094823999
},
"type": "customNode",
"data": {
"id": "huggingFaceInference_LLMs_0",
"label": "HuggingFace Inference",
"name": "huggingFaceInference_LLMs",
"type": "HuggingFaceInference",
"baseClasses": ["HuggingFaceInference", "LLM", "BaseLLM", "BaseLanguageModel", "BaseLangChain"],
"category": "LLMs",
"description": "Wrapper around HuggingFace large language models",
"inputParams": [
{
"label": "Model",
"name": "model",
"type": "string",
"placeholder": "gpt2",
"id": "huggingFaceInference_LLMs_0-input-model-string"
},
{
"label": "HuggingFace Api Key",
"name": "apiKey",
"type": "password",
"id": "huggingFaceInference_LLMs_0-input-apiKey-password"
},
{
"label": "Temperature",
"name": "temperature",
"type": "number",
"description": "Temperature parameter may not apply to certain model. Please check available model parameters",
"optional": true,
"additionalParams": true,
"id": "huggingFaceInference_LLMs_0-input-temperature-number"
},
{
"label": "Max Tokens",
"name": "maxTokens",
"type": "number",
"description": "Max Tokens parameter may not apply to certain model. Please check available model parameters",
"optional": true,
"additionalParams": true,
"id": "huggingFaceInference_LLMs_0-input-maxTokens-number"
},
{
"label": "Top Probability",
"name": "topP",
"type": "number",
"description": "Top Probability parameter may not apply to certain model. Please check available model parameters",
"optional": true,
"additionalParams": true,
"id": "huggingFaceInference_LLMs_0-input-topP-number"
},
{
"label": "Top K",
"name": "hfTopK",
"type": "number",
"description": "Top K parameter may not apply to certain model. Please check available model parameters",
"optional": true,
"additionalParams": true,
"id": "huggingFaceInference_LLMs_0-input-hfTopK-number"
},
{
"label": "Frequency Penalty",
"name": "frequencyPenalty",
"type": "number",
"description": "Frequency Penalty parameter may not apply to certain model. Please check available model parameters",
"optional": true,
"additionalParams": true,
"id": "huggingFaceInference_LLMs_0-input-frequencyPenalty-number"
},
{
"label": "Endpoint",
"name": "endpoint",
"type": "string",
"placeholder": "https://xyz.eu-west-1.aws.endpoints.huggingface.cloud/gpt2",
"description": "Using your own inference endpoint",
"optional": true,
"additionalParams": true,
"id": "huggingFaceInference_LLMs_0-input-endpoint-string"
}
],
"inputAnchors": [],
"inputs": {
"model": "tiiuae/falcon-7b-instruct",
"temperature": "",
"maxTokens": "200",
"topP": "",
"hfTopK": "10",
"frequencyPenalty": ""
},
"outputAnchors": [
{
"id": "huggingFaceInference_LLMs_0-output-huggingFaceInference_LLMs-HuggingFaceInference|LLM|BaseLLM|BaseLanguageModel|BaseLangChain",
"name": "huggingFaceInference_LLMs",
"label": "HuggingFaceInference",
"type": "HuggingFaceInference | LLM | BaseLLM | BaseLanguageModel | BaseLangChain"
}
],
"outputs": {},
"selected": false
},
"selected": false,
"positionAbsolute": {
"x": 503.5630827259226,
"y": 50.79125094823999
},
"dragging": false
},
{
"width": 300,
"height": 475,
@@ -253,20 +139,126 @@
"y": 504.50766458127396
},
"dragging": false
},
{
"width": 300,
"height": 526,
"id": "huggingFaceInference_LLMs_0",
"position": {
"x": 498.8594464193537,
"y": -44.91050256311678
},
"type": "customNode",
"data": {
"id": "huggingFaceInference_LLMs_0",
"label": "HuggingFace Inference",
"name": "huggingFaceInference_LLMs",
"type": "HuggingFaceInference",
"baseClasses": ["HuggingFaceInference", "LLM", "BaseLLM", "BaseLanguageModel"],
"category": "LLMs",
"description": "Wrapper around HuggingFace large language models",
"inputParams": [
{
"label": "Connect Credential",
"name": "credential",
"type": "credential",
"credentialNames": ["huggingFaceApi"],
"id": "huggingFaceInference_LLMs_0-input-credential-credential"
},
{
"label": "Model",
"name": "model",
"type": "string",
"description": "If using own inference endpoint, leave this blank",
"placeholder": "gpt2",
"optional": true,
"id": "huggingFaceInference_LLMs_0-input-model-string"
},
{
"label": "Endpoint",
"name": "endpoint",
"type": "string",
"placeholder": "https://xyz.eu-west-1.aws.endpoints.huggingface.cloud/gpt2",
"description": "Using your own inference endpoint",
"optional": true,
"id": "huggingFaceInference_LLMs_0-input-endpoint-string"
},
{
"label": "Temperature",
"name": "temperature",
"type": "number",
"description": "Temperature parameter may not apply to certain model. Please check available model parameters",
"optional": true,
"additionalParams": true,
"id": "huggingFaceInference_LLMs_0-input-temperature-number"
},
{
"label": "Max Tokens",
"name": "maxTokens",
"type": "number",
"description": "Max Tokens parameter may not apply to certain model. Please check available model parameters",
"optional": true,
"additionalParams": true,
"id": "huggingFaceInference_LLMs_0-input-maxTokens-number"
},
{
"label": "Top Probability",
"name": "topP",
"type": "number",
"description": "Top Probability parameter may not apply to certain model. Please check available model parameters",
"optional": true,
"additionalParams": true,
"id": "huggingFaceInference_LLMs_0-input-topP-number"
},
{
"label": "Top K",
"name": "hfTopK",
"type": "number",
"description": "Top K parameter may not apply to certain model. Please check available model parameters",
"optional": true,
"additionalParams": true,
"id": "huggingFaceInference_LLMs_0-input-hfTopK-number"
},
{
"label": "Frequency Penalty",
"name": "frequencyPenalty",
"type": "number",
"description": "Frequency Penalty parameter may not apply to certain model. Please check available model parameters",
"optional": true,
"additionalParams": true,
"id": "huggingFaceInference_LLMs_0-input-frequencyPenalty-number"
}
],
"inputAnchors": [],
"inputs": {
"model": "tiiuae/falcon-7b-instruct",
"endpoint": "",
"temperature": "",
"maxTokens": "",
"topP": "",
"hfTopK": "",
"frequencyPenalty": ""
},
"outputAnchors": [
{
"id": "huggingFaceInference_LLMs_0-output-huggingFaceInference_LLMs-HuggingFaceInference|LLM|BaseLLM|BaseLanguageModel",
"name": "huggingFaceInference_LLMs",
"label": "HuggingFaceInference",
"type": "HuggingFaceInference | LLM | BaseLLM | BaseLanguageModel"
}
],
"outputs": {},
"selected": false
},
"selected": false,
"positionAbsolute": {
"x": 498.8594464193537,
"y": -44.91050256311678
},
"dragging": false
}
],
"edges": [
{
"source": "huggingFaceInference_LLMs_0",
"sourceHandle": "huggingFaceInference_LLMs_0-output-huggingFaceInference_LLMs-HuggingFaceInference|LLM|BaseLLM|BaseLanguageModel|BaseLangChain",
"target": "llmChain_1",
"targetHandle": "llmChain_1-input-model-BaseLanguageModel",
"type": "buttonedge",
"id": "huggingFaceInference_LLMs_0-huggingFaceInference_LLMs_0-output-huggingFaceInference_LLMs-HuggingFaceInference|LLM|BaseLLM|BaseLanguageModel|BaseLangChain-llmChain_1-llmChain_1-input-model-BaseLanguageModel",
"data": {
"label": ""
}
},
{
"source": "promptTemplate_0",
"sourceHandle": "promptTemplate_0-output-promptTemplate-PromptTemplate|BaseStringPromptTemplate|BasePromptTemplate",
@@ -277,6 +269,17 @@
"data": {
"label": ""
}
},
{
"source": "huggingFaceInference_LLMs_0",
"sourceHandle": "huggingFaceInference_LLMs_0-output-huggingFaceInference_LLMs-HuggingFaceInference|LLM|BaseLLM|BaseLanguageModel",
"target": "llmChain_1",
"targetHandle": "llmChain_1-input-model-BaseLanguageModel",
"type": "buttonedge",
"id": "huggingFaceInference_LLMs_0-huggingFaceInference_LLMs_0-output-huggingFaceInference_LLMs-HuggingFaceInference|LLM|BaseLLM|BaseLanguageModel-llmChain_1-llmChain_1-input-model-BaseLanguageModel",
"data": {
"label": ""
}
}
]
}