Add custom components for message history and text to record conversion
This commit is contained in:
parent
b2c3b3b6d2
commit
b538d1bb39
4 changed files with 3 additions and 1 deletions
|
|
@ -3,6 +3,8 @@ from langflow.field_typing import Data
|
||||||
|
|
||||||
|
|
||||||
class Component(CustomComponent):
|
class Component(CustomComponent):
|
||||||
|
display_name = "Custom Component"
|
||||||
|
description = "Use as a template to create your own component."
|
||||||
documentation: str = "http://docs.langflow.org/components/custom"
|
documentation: str = "http://docs.langflow.org/components/custom"
|
||||||
icon = "custom_components"
|
icon = "custom_components"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ from langflow.field_typing import Text
|
||||||
|
|
||||||
|
|
||||||
class HuggingFaceEndpointsComponent(LCModelComponent):
|
class HuggingFaceEndpointsComponent(LCModelComponent):
|
||||||
display_name: str = "Hugging Face Inference API"
|
display_name: str = "Hugging Face API"
|
||||||
description: str = "Generate text using LLM model from Hugging Face Inference API."
|
description: str = "Generate text using LLM model from Hugging Face Inference API."
|
||||||
icon = "HuggingFace"
|
icon = "HuggingFace"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue