Thursday, January 2, 2020

How to check the value of observable in console.log ?

With a regular observable you only get the value when it changes, so if you want to console.log out the value you will need to console.log it in the subscription:



  this.buyer12Org$ = this.GetOrg();
  this.buyer12Org$.subscribe((res=> console.log('buyer12'res));

Saturday, August 17, 2019

package-lock-json vs package-json

package-lock.json: records the exact version of each installed package which allows you to re-install them. Future installs will be able to build an identical dependency tree.
package.json: records the minimum version you app needs. If you update the versions of a particular package, the change is not going to be reflected here.

How cache can be enabled for embeded text as well for search query results in Azure AI ?

 Great question, Rahul! Caching in the context of Azure AI (especially when using **RAG pipelines with Azure OpenAI + Azure AI Search**) can...