-
Notifications
You must be signed in to change notification settings - Fork 42
Integrating Docker to enable running Macaw in multiple OS. #7
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
Open
Amit-GH
wants to merge
11
commits into
microsoft:master
Choose a base branch
from
Amit-GH:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added Docker script, updated some code and README file to make it working for stdio interface using Indri and DrQA.
- Using python 3.6 instead of 3.5
Upgrade Python to 3.6 to resolve dependency issues.
Co-authored-by: Amit Hattimare <ahattimare@umass.edu>
* Tantivy changes without deleting .idea files. * gitignore changes. * Upadted files to use tantivy with index path * added missing args * replace raw body with trec doc obj * added index to body * added a single docs list. * Removed indri from Dockerfile * Remove commented code. Removed indri.py and updated README.md * Added PR changes. Removed commented code. * Added PR changes. Co-authored-by: Amit Hattimare <ahattimare@umass.edu>
* Upgraded Ubuntu and mongodb * Added dependencies to gitignore * Added arm64 instructions/warning * Resolve async keyword issue for python3.7+ Co-authored-by: Amit Hattimare <ahattimare@umass.edu>
* Added vscode to gitignore * Added preliminary implementation of state manager * Deleted redundant code * Changed timestamp to use datetime.utcnow * Added CurrentAttributes to init * Added CurrentAttributes as a shared parameter * Refactored Message.from_dict * Reformatted and sorted imports * Made user_interface, user_id, text, and timestamp mandatory and added more properties * Removed injector dependency * Moved attributes to separate file * Added nlp_pipeline and user_attributes to Message and different serialization * Schema for the Messages persisted to MongoDB * cr fix. Co-authored-by: Amit Hattimare <ahattimare@umass.edu>
Integrate Dialogue Manager. List of all changes: 1. Added dialogue manager with DST. 2. Added nlp pipeline class. 3. Encoding and decoding of Message for storing and retrieving from DB. 4. Enabling FileIO mode. 5. Updated readme file. -------------- * Added vscode to gitignore * Added preliminary implementation of state manager * Deleted redundant code * Changed timestamp to use datetime.utcnow * Added CurrentAttributes to init * Added CurrentAttributes as a shared parameter * Refactored Message.from_dict * Reformatted and sorted imports * Made user_interface, user_id, text, and timestamp mandatory and added more properties * Removed injector dependency * Moved attributes to separate file * Added nlp_pipeline and user_attributes to Message and different serialization * Schema for the Messages persisted to MongoDB * Initial commit. Added input and output from a file for quick testing. * cr fix. * Running exp mode using command line arguments. Updated Readme file too. * minor fix. * Integrate Dialogue Manager. List of all changes: 1. Added dialogue manager with DST. 2. Added nlp pipeline class. 3. Encoding and decoding of Message for storing and retrieving from DB. 4. Enabling FileIO mode. 5. Updated readme file. * minor changes. * resolving PR comments. * minor. Co-authored-by: George Wei <gzhihongwei@gmail.com> Co-authored-by: Amit Hattimare <ahattimare@umass.edu>
Changes made: 1. Added support for remote NLP modules running as separate Docker containers. 2. Added support for remote and local Response generator modules. Added a local Punctuation RG using Hugging for proof-of-concept. 3. Integrated docker-compose to start the entire application. 4. Updated Readme file. 5. Created a separate global logger without the need to pass it as a variable. 6. Added multiprocessing for NLP pipeline modules run. 7. (minor) Using exponential backoff for NLPUtil as it often fails during initialization. This will be replaced with RG/NLP pipelines later. Co-authored-by: Amit Hattimare <ahattimare@umass.edu>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added Docker script, updated some code and README file to make it working for stdio interface
using Indri and DrQA.
Solves issue #6