go to post Guillaume Rongier · Sep 26, 2022 I have partially found a solution: First I create an SQL function with python code : CREATE FUNCTION sqliknowparser(tText VARCHAR(50000)) RETURNS VARCHAR(50000) LANGUAGE PYTHON { import iknowpy engine = iknowpy.iKnowEngine() # index some text text = tText engine.index(text, 'en') t_output = "" # or make it a little nicer for s in engine.m_index['sentences']: for e in s['entities']: if e['type'] == 'Concept': t_output = t_output + e['index']+ "|" return t_output[:-1] } Then I use this function in my query : SELECT ID, sqliknowparser(Text) as entities FROM AA.Goal Then I "piece" it an use a union query : SELECT ID, $piece(sqliknowparser(Text),'|',1) as entities FROM AA.Goal union SELECT ID, $piece(sqliknowparser(Text),'|',2) as entities FROM AA.Goal Any improvement are welcome :)
go to post Guillaume Rongier · Sep 23, 2022 Is it possible to do the same thing only in SQL and Python? CREATE PROCEDURE procname(parameter_list) [ characteristics ] LANGUAGE PYTHON { code_body }
go to post Guillaume Rongier · Sep 22, 2022 Great article, do you plan to do the same with embedded python ?
go to post Guillaume Rongier · Sep 21, 2022 Thanks Robert for the PullRequest and making sure of the quality of the demos/articles. Sometimes it's hard do build and test at the same time, this is why in medium to large projects the development teams are different from the testers. Thanks again :)
go to post Guillaume Rongier · Sep 16, 2022 Great initiative ! I love this approach, building plug-ins for third-party software to facilitate integration with IRIS. You have done it too for node red ? Next one, i vote for make.com
go to post Guillaume Rongier · Aug 19, 2022 What I like with this demo is the auto-completion of FHIR resources thanks to the "fhir.resources" library in python. Is it also possible to do validation with this library?
go to post Guillaume Rongier · Aug 19, 2022 Great article, in fact, with Fine Tuning, we can use pre-built and famous models like BERT (text classification by google) and adapt them to our need. Moreover, in this case, we are not in theory but in a practical case of classification of more or less positive comments. Thanks for this contribution!
go to post Guillaume Rongier · Aug 4, 2022 I don't have access to Dall-E 2, I use mini-Dall-E : https://huggingface.co/dalle-mini.
go to post Guillaume Rongier · Aug 3, 2022 What a neat demo, looking forward to have something with picture like Dall-E (https://huggingface.co/spaces/dalle-mini/dalle-mini).
go to post Guillaume Rongier · Jul 28, 2022 I love this project. What I love the most is that is a full fix experience with an acceptor server and an initiator client (iris). Some screenshot of a quote + an order : The order : The quote before the order : The result of the quote : The order with the quote id : The result of the order : Result of a market request :
go to post Guillaume Rongier · Jul 27, 2022 You are right there still is some issue in the IRIS DB-API, they will be fix in future release.
go to post Guillaume Rongier · Jul 27, 2022 What a neat series of articles ! Thanks ! To help anyone in this journey, you can find a template to start working on django and an IRIS database : https://github.com/grongierisc/django-iris-template
go to post Guillaume Rongier · Jul 11, 2022 @Dmitry Maslennikov I join you in all these considerations: No lastest tag or 2021.1 sub-tag Corollary: Deleting versions without warning ARM64 images have separate names Health check behavior a bit weird Weak documentation of flags For all these reasons I use the community versions for building my demos (thanks @Evgeny Shvarov). However, for the problem of disappearing versions what we did with some customers is to copy the images in a private repository, it is not the most elegant solution but it works.
go to post Guillaume Rongier · Jun 9, 2022 Hi Paul, You can log with SuperUser/SYS. The last version of main should fix your issue. I still have to fix, CDA to FHIR but others are working.
go to post Guillaume Rongier · May 16, 2022 Hi, BTW, starting with IRIS 2021.1+ you can enable the interoperability metrics with those command lines : // Enable Intero metrics for SAM zw ##class(Ens.Util.Statistics).EnableSAMForNamespace() zw ##class(Ens.Util.Statistics).EnableSAMIncludeHostLabel()
go to post Guillaume Rongier · May 12, 2022 Another solution can be with SAM : https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls... https://community.intersystems.com/post/new-video-viewing-customizing-me... You can also enable interoperability metrics (only on IRIS 2021.1+) with : // Enable Intero metrics for SAM zw ##class(Ens.Util.Statistics).EnableSAMForNamespace() zw ##class(Ens.Util.Statistics).EnableSAMIncludeHostLabel()
go to post Guillaume Rongier · May 12, 2022 Hi Yuri, Can you add this neat training on how to build an production (interoperability framework) in 100% Python : https://github.com/LucasEnard/formation-template-python
go to post Guillaume Rongier · May 12, 2022 For your information, these benchmarks are a comparison of an ObjectScript interoperability code and a 100% python code based on this module : https://github.com/grongierisc/interoperability-embedded-python ( build a production without a single line of code in objectscript while remaining compatible, neat )