diff --git a/docs/docs/contributing/contribute-component.md b/docs/docs/contributing/contribute-component.md index bd60c07ab..398fc3b9c 100644 --- a/docs/docs/contributing/contribute-component.md +++ b/docs/docs/contributing/contribute-component.md @@ -12,8 +12,8 @@ You have a new document loader called **MyCustomDocumentLoader** and it would lo 2. Define optional attributes like `display_name`, `description`, and `documentation` to provide information about your custom component. 3. Implement the `build_config` method to define the configuration options for your custom component. 4. Implement the `build` method to define the logic for taking input parameters specified in the `build_config` method and returning the desired output. -5. Add the code to the [/components/document_loaders](https://github.com/langflow-ai/langflow/tree/dev/src/backend/base/langflow/components) folder. -6. Add the dependency to [/document_loaders/\_\_init\_\_.py](https://github.com/langflow-ai/langflow/blob/dev/src/backend/base/langflow/components/documentloaders/__init__.py) as `from .MyCustomEmbedding import MyCustomDocumentLoader`. +5. Add the code to the [/components/documentloaders](https://github.com/langflow-ai/langflow/tree/dev/src/backend/base/langflow/components) folder. +6. Add the dependency to [/documentloaders/\_\_init\_\_.py](https://github.com/langflow-ai/langflow/blob/dev/src/backend/base/langflow/components/documentloaders/__init__.py) as `from .MyCustomDocumentLoader import MyCustomDocumentLoader`. 7. Add any new dependencies to the outer [pyproject.toml](https://github.com/langflow-ai/langflow/blob/dev/pyproject.toml#L27) file. 8. Submit documentation for your component. For this example, you'd submit documentation to the [loaders page](https://github.com/langflow-ai/langflow/blob/dev/docs/docs/components/loaders.mdx). 8. Submit your changes as a pull request. The Langflow team will have a look, suggest changes, and add your component to Langflow.