Comments (3)
scenarios are separated from the agents. when you build the session, you can check if kb.role == 'seller' and give that kb to the rulebased seller.
from cocoa.
Thank you for commenting.
I could restrict a scenario to rulebased is seller.
The following error occurred, but I guess that this is no problem because this error occurs when the selected scenario is not rulebased: seller.
Furthermore, backend.py
select a scenario until being selected a scenario of rulebased: seller.
Is my thought correct...?
cocoa_src/cocoa/web/main/backend.py, in line 320
config = bot_session.config
AttributeError: 'NoneType' object has no attribute 'config'
from cocoa.
Hmm. I'm not sure that I fully understand your thoughts. But what I was suggesting is that you don't have to change the backend (i.e. scenario loading), you can directly set the agents accordingly when you build the session. The scenario itself does not specify who's the seller and who's the buyer.
from cocoa.
Related Issues (20)
- IndexError: index 0 is out of bounds for axis 0 with size 0 HOT 6
- where is the data data/train.json HOT 2
- TypeError: where() takes at most 2 arguments (3 given) HOT 1
- Include PYTHONPATH environment variable
- Scoping issues in template HOT 1
- Integration with AMT for crowdsourcing HOT 1
- Where is FBnegLossCompute? HOT 3
- Question: Cannot execute craigslistbargain/web/chat_app.py HOT 8
- How to solve problems in Chat with the bot HOT 3
- Natural Language Generation for Dealornodeal HOT 1
- What the soulution to ImportError: cannot import name LIWC ? HOT 1
- Model name problem HOT 9
- IndexError: too many indices for array HOT 3
- SL(act)+ Rule model HOT 1
- NameError when lunching web server HOT 1
- Modular approach question HOT 1
- ImportError: No module named torchtext.data HOT 1
- KeyError: 'post_id'
- can't access data
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 cocoa.