cisco-open / blaze Goto Github PK
View Code? Open in Web Editor NEWThis is the repository for composable NLP Inference Pipeline tool Blaze
License: Apache License 2.0
This is the repository for composable NLP Inference Pipeline tool Blaze
License: Apache License 2.0
-> Change font in BlazeLogo
-> Rename custom to User question
-> Display Seconds for avg/q in comparison and benchmark
-> Give option to use Validate or Train from SQUAD
-> Fix WebEx Demo light app
-> connect https://cisco-open.github.io/Blaze/
->
flask_socketio test cases giving insufficient memory
Title: Migration from Flask to FastAPI
Description:
Overview:
Our project currently uses Flask as the web framework for building our API. After evaluating the features and benefits of FastAPI, we believe that migrating our project to FastAPI will provide several advantages in terms of performance, type safety, automatic documentation generation, and scalability. This issue serves as a roadmap and discussion point for planning the migration process.
Goals:
Migrate the existing Flask-based API endpoints to FastAPI.
Leverage FastAPI's async capabilities for improved performance and scalability.
Utilize Pydantic for data validation and serialization.
Take advantage of FastAPI's automatic API documentation generation feature.
Ensure backward compatibility with existing client applications and integrations.
Title: Migration from Flask to FastAPI
Description:
Overview:
Our project currently uses Flask as the web framework for building our API. After evaluating the features and benefits of FastAPI, we believe that migrating our project to FastAPI will provide several advantages in terms of performance, type safety, automatic documentation generation, and scalability. This issue serves as a roadmap and discussion point for planning the migration process.
Goals:
Migrate the existing Flask-based API endpoints to FastAPI.
Leverage FastAPI's async capabilities for improved performance and scalability.
Utilize Pydantic for data validation and serialization.
Take advantage of FastAPI's automatic API documentation generation feature.
Ensure backward compatibility with existing client applications and integrations.
By migrating our project from Flask to FastAPI, we aim to improve the performance, maintainability, and scalability of our API while leveraging modern Python features and best practices. The migration will enable us to take advantage of FastAPI's asynchronous capabilities, type safety, and automatic documentation generation, ultimately enhancing the developer experience and user satisfaction.
Assigned To: @vamsikrishnagok
Labels: migration, FastAPI, Flask, web framework, API, performance, documentation
Priority: [High/Medium/Low]
branch:
#58
A lot of files are old and no longer functional given how quickly BLAZE has evolved.
Files need to be renamed, reorganized, or deleted to ensure clarity in the repository.
Change the config to use environment variables
Taking config keys from environment variables.
clean
Refractored backend
Please briefly describe which alternatives, if any, have been considered, including merits of alternate approaches and
tradeoffs being made.
The current Readme references older instructions and needs to be corrected
Fix image loading in readme.md
Should display two images
Images are broken in readme
Please provide the version number where this issue was encountered. main
When the meeting is live, the users should be able to recvieve the actionables to their webexbot, on defined intervals
changed the index.js to push processed actionables to webex bot
Pyenv instructions - the directory is not specified , as well as the instructions required to activate the pyenv shell .
Also there is a problem with the requirements.txt and conflict in requirements.
ERROR: Cannot install -r requirements.txt (line 7) and Werkzeug==1.0.1 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested Werkzeug==1.0.1
flask 2.1.1 depends on Werkzeug>=2.0
To fix this you could try to:
Migrating frontend from python dash to frontend framework
Creating frontend with React for its potential to reuse components. It saves time for developers as they don't have to write various codes for the same features. Furthermore, if any changes are made in any particular part, it will not affect other parts of the application.
Please briefly describe which alternatives, if any, have been considered, including merits of alternate approaches and
tradeoffs being made.
Please provide any other information that may be relevant.
Check why generating summary from BART is long
Multi-Tasking: Users now have the capability to add and manage multiple tasks efficiently.
New Route '/actionables': A new route named '/actionables' has been introduced to enhance navigation and interaction with specific elements or actions within the application.
OpenAI Model Integration: This update includes the integration of the openAI model, expanding the application's capabilities and improving its functionality.
Feature Enhancement
Medium
Fetch transcripts from webex and store the data into .txt file
If yaml contains webx_meetings for datasets and provided webex access token in settings. Fetch all the transcripts and store into file object
Set Python environment
Run:
pip install dev_requirements.txt
Config:
Add OpenAI_key, in backend/config.py
Add Swagger settings (url,host,access_key,access_secret) in
yaml/07_panoptica_bot.yaml
external_apps/slackbot/slackbot_settings.py
add SLACK_BOT_TOKEN , SLACK_APP_TOKEN
https://slack.dev/bolt-python/tutorial/getting-started
guide is meant to walk you through getting up and running with a Slack app using Bolt for Python.(This will help us setup keys)
bash run.sh server yaml=yaml/07_panoptica_bot.yaml
to run server and slackbot
Add run shell script to run different services
Issue Type:
Description:
I propose implementing a versatile file loader for Blaze that enables parsing data from various sources, including but not limited to PDFs, websites, document files, and CSVs. This enhancement would enhance Blaze's capabilities to handle diverse data sources, making it more flexible for users working with different types of data.
Use Case:
As a user of Blaze, I often encounter datasets stored in different formats such as PDFs, websites, documents, and CSV files. Having a unified file loader would streamline the data loading process, allowing users to seamlessly incorporate data from various sources into Blaze.
Proposed Solution:
I suggest implementing a modular and extensible file loader that can handle parsing from PDFs, websites, document files (e.g., Word, Excel), and CSVs. The loader should be able to intelligently detect the file type and apply the appropriate parsing logic.
Additional Information:
This enhancement aligns with the goal of making Blaze a versatile and user-friendly tool for handling diverse datasets.
Consideration should be given to potential dependencies and the need for additional libraries or modules.
Related Issues or PRs:
In the model_search (used by ElasticBERT), the model is being used in the wrong mode. (default mode is training mode)
We need to use the inference_mode() for the model.
This causes the model to run faster.
All previous versions
Slackbot and webex bot integration with blaze, to call functions or api's
introduces the development of external applications with Slackbot and Webex bot functionalities integrated with Blaze. These applications allow users to directly interact with Blaze call functions or APIs through chat inputs. Leveraging Swagger data collected from the respective websites, the models are refined to ensure accurate invocation of the appropriate functions based on user input.
Create shell script to run backend or frontend, or both together passing yaml as parameter
This issue is to update the README to provide a clear guidelines to install and run the front end made with react
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.