Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load all templates from a folder #38

Open
padmalcom opened this issue Nov 12, 2020 · 5 comments
Open

Load all templates from a folder #38

padmalcom opened this issue Nov 12, 2020 · 5 comments

Comments

@padmalcom
Copy link
Collaborator

Hi, I wrote an extensible chatbot for which developers can add dialogs including the corresponding python modules. So far, I can create a Chat instance using one main template and a default template. It would be nice if I could optionally specify a main folder so that your fantastic library loads all template files from this folder.

@ahmadfaizalbh
Copy link
Owner

ahmadfaizalbh commented Nov 12, 2020

If you have already upgraded your Chatbot package to newer version (0.3.0.0) where your code to support German (de) is present to use the German while initiating Chatbot pass language="de" to take default template, spellchecker and substitution from https://github.com/ahmadfaizalbh/Chatbot/tree/master/chatbot/local/de

Example:

Chat("main.template", language="de")

I would be adding an option to load multiple template files from a folder in future versions.

@padmalcom
Copy link
Collaborator Author

Awesome, thank you.

@srihitha1234
Copy link

Hi ,
I'm interested in contributing to this repository. I came across this issue and was wondering if I could help resolve it.
Before I start working on it, I wanted to check if the issue is still open and if anyone else is currently working on it. Could you please let me know the status of this issue?

@ahmadfaizalbh
Copy link
Owner

This issue is still pending, and currently, one is working on it.
You can contribute

@srihitha2005
Copy link

Hi, I recently made a pull request on this issue could you please check it out and let me if i have to make any changes so that it would match your requirement
thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants