Skip to content

Build local tools without frontend #4092

Closed Answered by dosubot bot
kamushekp asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @kamushekp! I'm here to help you with any bugs, questions, or contributions you have. Let's work together to solve this!

To build and test custom components without using the frontend, you can follow these steps:

  1. Create a Custom Component:
    Use the provided template to define your custom component. Here's a basic example:

    from langflow.custom import Component
    from langflow.inputs import MessageTextInput
    from langflow.template import Output
    from langflow.schema import Data
    
    class MyCustomComponent(Component):
        display_name = "My Custom Component"
        description = "A simple custom component example."
        icon = "icon-name"
    
        inputs = [
            MessageTextInput(
                name="…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kamushekp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant