summaryrefslogtreecommitdiff
path: root/python-simbots.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 03:41:11 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 03:41:11 +0000
commit6adc255001ceaf5eb9a2c596318562559c77d716 (patch)
tree31124051a701ae15acc4907a74415896f03e2a6d /python-simbots.spec
parent9002c8d02787db4c7fc5040a047416f2db3d2cfd (diff)
automatic import of python-simbots
Diffstat (limited to 'python-simbots.spec')
-rw-r--r--python-simbots.spec194
1 files changed, 194 insertions, 0 deletions
diff --git a/python-simbots.spec b/python-simbots.spec
new file mode 100644
index 0000000..4ac397f
--- /dev/null
+++ b/python-simbots.spec
@@ -0,0 +1,194 @@
+%global _empty_manifest_terminate_build 0
+Name: python-simbots
+Version: 0.0.28
+Release: 1
+Summary: Simple bots or Simbots is a library designed to create simple bots by computing Intents,Entities,Relations and Context .
+License: MIT License
+URL: https://pypi.org/project/simbots/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4b/13/5a5e769ddaa9bffb7f9de9a3386bae1dfcb0be5de17e82b4f6e22381a41a/simbots-0.0.28.tar.gz
+BuildArch: noarch
+
+Requires: python3-sklearn
+Requires: python3-objectpath
+
+%description
+Simple bots or Simbot's is a library designed to create simple chat bots using python.
+
+Its Basic functions :-
+
+1) Uses Machine learning to create Intents .
+2) Supports multiple ways of creating entities and relations .
+3) Also provides helper functions to query context stack .
+4) Provides a framework to create text based chatbots .
+5) Provides a framework to define test conversation of the bot and test it .
+6) Support saving and loading existing conversation .
+7) Support saving and loading trained Chatbot .
+8) Supports Sub Conversation management and creation also supports subconversation trace.
+9) Supports mongoDb integration to save bot logs.
+10) Supports other database integration(relational) to save bot logs.
+
+if you are unfamiliar with any of these terms check out the [documentation](https://infamousmlguy.gitlab.io/simple-bots/docs/) .
+
+To install simply use
+
+ pip install simbots
+
+Links
+
+ 1) [Documentation](https://infamousmlguy.gitlab.io/simple-bots/docs/)
+ 2) [pypi](https://pypi.org/project/simbots/)
+ 3) [code](https://gitlab.com/infamousMLGuy/simple-bots)
+
+Check out the [documentation](https://infamousmlguy.gitlab.io/simple-bots/docs/) page for chatbot terminology and how to solve some common problems like :
+
+
+| Sr | Bot | Documentation | Code Only |
+| ----------- | ----------- | ----------- | ----------- |
+| 1) | How to make simple conversation . | [step by step](https://infamousmlguy.gitlab.io/simple-bots/docs/#a-bot-for-simple-conversation) | [code only](https://gitlab.com/infamousMLGuy/simple-bots/-/blob/main/sampleBots/BotForSimpleConversation.ipynb) |
+| 2) | Convert site FAQs (Frequently asked questions) to a chatbot . | [step by step](https://infamousmlguy.gitlab.io/simple-bots/docs/#how-to-turn-faq-s-into-bots) | [code only](https://gitlab.com/infamousMLGuy/simple-bots/-/blob/main/sampleBots/FaqsBot.ipynb) |
+| 3) | Detect and handle person names from chat texts . | [step by step](https://infamousmlguy.gitlab.io/simple-bots/docs/#reply-using-name) | [code only](https://gitlab.com/infamousMLGuy/simple-bots/-/blob/main/sampleBots/ReplyUsingNameBot.ipynb) |
+| 4) | Create and Place restaurant orders from chat . | [step by step](https://infamousmlguy.gitlab.io/simple-bots/docs/#take-order-bot-v1) | [code only](https://gitlab.com/infamousMLGuy/simple-bots/-/blob/main/sampleBots/TakeOrderBotV1.ipynb) |
+
+
+
+
+
+
+%package -n python3-simbots
+Summary: Simple bots or Simbots is a library designed to create simple bots by computing Intents,Entities,Relations and Context .
+Provides: python-simbots
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-simbots
+Simple bots or Simbot's is a library designed to create simple chat bots using python.
+
+Its Basic functions :-
+
+1) Uses Machine learning to create Intents .
+2) Supports multiple ways of creating entities and relations .
+3) Also provides helper functions to query context stack .
+4) Provides a framework to create text based chatbots .
+5) Provides a framework to define test conversation of the bot and test it .
+6) Support saving and loading existing conversation .
+7) Support saving and loading trained Chatbot .
+8) Supports Sub Conversation management and creation also supports subconversation trace.
+9) Supports mongoDb integration to save bot logs.
+10) Supports other database integration(relational) to save bot logs.
+
+if you are unfamiliar with any of these terms check out the [documentation](https://infamousmlguy.gitlab.io/simple-bots/docs/) .
+
+To install simply use
+
+ pip install simbots
+
+Links
+
+ 1) [Documentation](https://infamousmlguy.gitlab.io/simple-bots/docs/)
+ 2) [pypi](https://pypi.org/project/simbots/)
+ 3) [code](https://gitlab.com/infamousMLGuy/simple-bots)
+
+Check out the [documentation](https://infamousmlguy.gitlab.io/simple-bots/docs/) page for chatbot terminology and how to solve some common problems like :
+
+
+| Sr | Bot | Documentation | Code Only |
+| ----------- | ----------- | ----------- | ----------- |
+| 1) | How to make simple conversation . | [step by step](https://infamousmlguy.gitlab.io/simple-bots/docs/#a-bot-for-simple-conversation) | [code only](https://gitlab.com/infamousMLGuy/simple-bots/-/blob/main/sampleBots/BotForSimpleConversation.ipynb) |
+| 2) | Convert site FAQs (Frequently asked questions) to a chatbot . | [step by step](https://infamousmlguy.gitlab.io/simple-bots/docs/#how-to-turn-faq-s-into-bots) | [code only](https://gitlab.com/infamousMLGuy/simple-bots/-/blob/main/sampleBots/FaqsBot.ipynb) |
+| 3) | Detect and handle person names from chat texts . | [step by step](https://infamousmlguy.gitlab.io/simple-bots/docs/#reply-using-name) | [code only](https://gitlab.com/infamousMLGuy/simple-bots/-/blob/main/sampleBots/ReplyUsingNameBot.ipynb) |
+| 4) | Create and Place restaurant orders from chat . | [step by step](https://infamousmlguy.gitlab.io/simple-bots/docs/#take-order-bot-v1) | [code only](https://gitlab.com/infamousMLGuy/simple-bots/-/blob/main/sampleBots/TakeOrderBotV1.ipynb) |
+
+
+
+
+
+
+%package help
+Summary: Development documents and examples for simbots
+Provides: python3-simbots-doc
+%description help
+Simple bots or Simbot's is a library designed to create simple chat bots using python.
+
+Its Basic functions :-
+
+1) Uses Machine learning to create Intents .
+2) Supports multiple ways of creating entities and relations .
+3) Also provides helper functions to query context stack .
+4) Provides a framework to create text based chatbots .
+5) Provides a framework to define test conversation of the bot and test it .
+6) Support saving and loading existing conversation .
+7) Support saving and loading trained Chatbot .
+8) Supports Sub Conversation management and creation also supports subconversation trace.
+9) Supports mongoDb integration to save bot logs.
+10) Supports other database integration(relational) to save bot logs.
+
+if you are unfamiliar with any of these terms check out the [documentation](https://infamousmlguy.gitlab.io/simple-bots/docs/) .
+
+To install simply use
+
+ pip install simbots
+
+Links
+
+ 1) [Documentation](https://infamousmlguy.gitlab.io/simple-bots/docs/)
+ 2) [pypi](https://pypi.org/project/simbots/)
+ 3) [code](https://gitlab.com/infamousMLGuy/simple-bots)
+
+Check out the [documentation](https://infamousmlguy.gitlab.io/simple-bots/docs/) page for chatbot terminology and how to solve some common problems like :
+
+
+| Sr | Bot | Documentation | Code Only |
+| ----------- | ----------- | ----------- | ----------- |
+| 1) | How to make simple conversation . | [step by step](https://infamousmlguy.gitlab.io/simple-bots/docs/#a-bot-for-simple-conversation) | [code only](https://gitlab.com/infamousMLGuy/simple-bots/-/blob/main/sampleBots/BotForSimpleConversation.ipynb) |
+| 2) | Convert site FAQs (Frequently asked questions) to a chatbot . | [step by step](https://infamousmlguy.gitlab.io/simple-bots/docs/#how-to-turn-faq-s-into-bots) | [code only](https://gitlab.com/infamousMLGuy/simple-bots/-/blob/main/sampleBots/FaqsBot.ipynb) |
+| 3) | Detect and handle person names from chat texts . | [step by step](https://infamousmlguy.gitlab.io/simple-bots/docs/#reply-using-name) | [code only](https://gitlab.com/infamousMLGuy/simple-bots/-/blob/main/sampleBots/ReplyUsingNameBot.ipynb) |
+| 4) | Create and Place restaurant orders from chat . | [step by step](https://infamousmlguy.gitlab.io/simple-bots/docs/#take-order-bot-v1) | [code only](https://gitlab.com/infamousMLGuy/simple-bots/-/blob/main/sampleBots/TakeOrderBotV1.ipynb) |
+
+
+
+
+
+
+%prep
+%autosetup -n simbots-0.0.28
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-simbots -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.28-1
+- Package Spec generated