Comments (9)
No need to run setup.py. I added it in preparation for submission to pypy repo but it's not tested yet.
Just follow the instructions in the wiki, download, pip install requirements and then go to the bots folder, choose a bot and run the script in its folder and that will startup one for you
from program-y.
Have you got a bot running yet ?
from program-y.
i tried but got this
C:\Users\foo\Codes\AI\engines\aiml\program-y-mast
../src/programy/clients/console.py --config ./config.ya
ng ./logging.yaml
Traceback (most recent call last):
File "../../src/programy/clients/console.py", line 19
from programy.clients.client import BotClient
ModuleNotFoundError: No module named 'programy.clients'
sorry fo the late reply, got busy during the weekend
from program-y.
keiffster @keiffster please kindly reply the thread. Pretty please?
from program-y.
Suggest to put the following in a CMD or batch file. You need to set environment vars like in the example linux shell scripts (.sh)
SET PYTHONPATH=y:\program-y\src;y:\program-y\libs\MetOffer-1.3.2;Y:\program-y\bots\y-bot
py y:\program-y\src\programy\clients\console.py --bot_root y:\program-y\bots\y-bot --config y:\program-y\bots\y-bot\config.yaml --cformat yaml --logging y:\program-y\bots\y-bot\logging.yaml
If you want to try using Y: like the above (to help shorten directories), use SUBST Y: <some_path_on_c_drive>
... see SUBST /? for help
Adjust your paths to suit. It works for me at least :-)
from program-y.
Thanks @ideasean , i think i'll just stick with program-ab for now.
The setup process for program-y seems to work perfectly on linux but tangled on windows; i need a very cross platform solution and one thats very easy to re-code for enterprise use.
I'll just keep refactoring program-ab while checking back here to see how things evolve. Thanks too @keiffster
from program-y.
No problems @Olagsfark . I would say stick with it though.
We are currently running a live Pilot with a major enterprise automotive client using Program-Y as the basis. Its been running several weeks now on a Windows server. Its interfaced already with 7 different IT systems (3x ticketing, 2x monitoring, 2x CMDB), and using a Skype for Business client. Its been really stable so far.
The main issues have been with our own AIML and python interface code. I've not had to escalate to Keith on any showstopper issues to date, and Keith has been really responsive on any topics we've raised.
Anyway, its up to you. Just thought I'd share our experience :-)
from program-y.
from program-y.
setup.py has been removed from the code base as it was added when I was working on support pypy, but never got round to finishing it.
It will be re-added when I get support for pypy added
Support for Window .cmd scripts will be addeds shortly, until then Sean has excellent example of what a cmd script looks like
Closing issue and setup.py is no longer an issue
from program-y.
Related Issues (20)
- Programy on PythonAnywhere HOT 1
- Program-Y is alive.... again HOT 2
- <system> tag in aiml doesn't work HOT 1
- scheduling extension doesn't print message
- Error when trying to save data from 'learnf' elements to MongoDB HOT 2
- Wikipedia doesn't seam to work HOT 1
- <learn> and <star> don't work together HOT 1
- How to get a variable value outside of aiml files inside python code?
- Setting SentenceSplitter on an embedded bot HOT 4
- Whenever I install program y, cryptography fails to install and the whole installation stops.
- Bug in pattern parser where the star index of the words will change
- WARNING:root:[Console] [bot] [brain] [testuser] - System command node disabled in config
- ModuleNotFoundError: No module named 'sqlalchemy'
- Pattern matching not work in a right way
- image not displaying in telegram
- GUI for my bot (Not a feature request I was just unsure where to ask) HOT 1
- Change Default Response
- AttributeError: module 'collections' has no attribute 'MutableSet' HOT 3
- module apscheduler not found
- Thoughts about ChatGPT service for ProgramY
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from program-y.