GithubHelp home page GithubHelp logo

activesolution / cognitivecms Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 4.05 MB

Quickly get started with Cognitive Search!

License: MIT License

PowerShell 0.34% PHP 99.28% CSS 0.01% JavaScript 0.37% Makefile 0.01% HTML 0.01%
azure cognitive-search powershell wordpress-plugin

cognitivecms's People

Contributors

dalibormesaric avatar peterorneholm avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cognitivecms's Issues

Get instant enrichment on adding an asset in WordPress

This is a proposal to enable a new feature in CognitiveCMS that would give instant enrichment to the editors as soon as they add an asset in WordPress (instead of having to wait for the pipeline to process which is the current setup). This is a big change in the foundation of this solution.

Our proposed solution is the following:

  • Remove the plugin dashboard page

  • Remove current Cognitive Search pipeline implementation

  • Add a new web api project that will replicate the current functionality by calling the Cognitive Services directly with the purpose to enrich a text or an image with tags

  • Enriched tags need to be fetched from web api endpoint that is connected to Azure Search, instead of being saved locally

  • Adjust the deployment project script to setup all the necessary resources

The workflow would be following - The editor uploads an image (or adds a page) to WordPress. This triggers CognitiveCMS enrichment process and the following steps occur:

  1. Upload the image to Azure Blob Storage

  2. Call the web api with the url to the uploaded blob

  3. The web api calls all the cognitive services and the enriched data is saved to Azure Search Index

The suggested solution would support only text and images, and smaller number of Cognitive Services to improve performance.

One alternative we considered was to call the existing pipeline to start it manually. However, that will not provide instant feedback and the end-user will not know when the assets have been reindexed.

Add real-time whitelist/blacklist functionality

This is a proposal to enable a new feature in CognitiveCMS that would enable real-time whitelist/blacklist functionality. This is dependent on #1.

Our proposed solution is the following:

Add a text-area for both whitelist and blacklist in WordPress plugin settings page. The requirement would be that you can have only one list with keywords, the other one will be disabled since it makes no sense having both whitelist and blacklist at the same time.

The lists should be saved in blob storage.

Add to the web api from #1 where Azure Search results should be exposed and filters applied. This is to enable real-time whitelist/blacklist changes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.