Creating custom components without the UI #5115
Replies: 3 comments 3 replies
-
Hey @Alexander-Mark! I'm here to assist you with any bugs, questions, or contributions you have. Let's squash those bugs together! 😊 I found a similar solved discussion that might be helpful: Build local tools without frontend [1]. To create custom components without using the UI, you can follow these steps:
By following these steps, you can develop and test your custom components in an IDE with features like auto-complete and linting, without needing to use the UI. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
@dosu with the help of this discussion, I am trying to create a custom component.
While starting langflow, when components are being built, this gives error as the database is turned off temporarily. So is this the correct way to connect to db? Or the right place is somewhere else for such things in case of custom components? I basically want the connection to happen only while executing the flow which uses this component. |
Beta Was this translation helpful? Give feedback.
-
hey @Alexander-Mark it's totally possible, create a python file inside the components folder for the selfhosted version, your IDE will have access to all the types and classes Langflow provide |
Beta Was this translation helpful? Give feedback.
-
Hi there
Is it possible to create custom components without using the UI? We need to dev the components in an IDE for auto-complete, linting, testing etc purposes.
Beta Was this translation helpful? Give feedback.
All reactions