Find

Article
· Feb 5 3m read

第十五章 K - L 开头的术语

第十五章 K - L 开头的术语

日志记录 (journaling)

系统

一种功能,系统管理员可以选择启用,导致 IRIS 在日志文件中记录所有或选定全局的更改。如果发生系统故障,可以将这些更改向前滚动。也就是说,在恢复期间,可以将整个事务重新应用到数据库。另请参见写入镜像日志记录 (Write Image Journaling)。

以 K 开头的术语

密钥分发中心 (KDC)

系统

Discussion (0)1
Log in or sign up to continue
Question
· Feb 5

WSGI/Flask app with iris container complains about flask not installed

Hello,

When setting up a new web app in iris (iris is in a container) iris complains that a WSGI framework is not installed. I have installed python into the container as well as both flask and django via the python virtual environment (see second screenshot) and the python language server is running

Is this the wrong way to install flask? How do I get the container version to recoginize that flask is installed?

2 Comments
Discussion (2)1
Log in or sign up to continue
Announcement
· Feb 5

[Video] Open Source and Proprietary LLMs

Hi Community!

We're happy to share the next video in the series dedicated to Gen AI on our InterSystems Developers YouTube:

⏯ Open Source and Proprietary LLMs

Explore the comparison between open-source and proprietary AI models. Learn that proprietary models generally rank higher in performance on leaderboards like Chatbot Arena, though open-source models are not far behind. We will explain that open-source models tend to lag behind proprietary ones in terms of time but eventually reach comparable performance levels. This means businesses can start with proprietary models and later transition to open-source alternatives as they improve. The video emphasizes considering open-source models as part of an AI strategy due to their evolving capabilities and potential cost benefits.

🗣  Presenter@Don Woodlock, Vice President, Healthcare Solutions Development, InterSystems

Enjoy watching, and look forward to more videos! 👍

1 Comment
Discussion (1)2
Log in or sign up to continue
Question
· Feb 5

How to check if the system user with the name "John" already exists in IRIS via SQL?

Hi Folks!

Have a very simple question, I hope :)

How can I make sure that user 'John' is already created in the IRIS system?

Preferabbly via SQL?

thanks a lot!

4 Comments
Discussion (4)3
Log in or sign up to continue
Article
· Feb 5 2m read

Streamlining Interoperability with Embedded Python in InterSystems IRIS

Interoperability of systems ensures smooth workflow and management of data in today's connected digital world. InterSystems IRIS extends interoperability a notch higher with its Embedded Python feature, which lets developers seamlessly integrate Python scripts into the IRIS components, like services, operations, and custom functions.


Why Embedded Python in IRIS?
Embedded Python brings the flexibility of Python into the powerful world of InterSystems IRIS and provides the following: Access to Python Libraries: Leverage popular libraries such as pandas, NumPy, and requests for advanced data processing.
Ease of Use: Python simplifies the implementation of complex logic.
Efficient Interoperability: Develop services, operations, and transformations directly within IRIS, reducing the need for external tools.

Below is the code I tried to implement for a python business operation:

from iris import irisnative  

class SamplePythonOperation:  
    def on_message(self, request):  
        # Connect to IRIS  
        conn = irisnative.createConnection("localhost", 1972, "USER", "_SYSTEM", "SYS")  
        iris_obj = irisnative.createIRIS(conn)  

        # Log the request message  
        iris_obj.set("Received: " + request.get("MessageText"), "MyApp", "Log")  

        # Process the request  
        response = "Hello, " + request.get("MessageText")  
        return {"Result": response}  

Embedded Python in InterSystems IRIS allows developers to leverage the flexibility of Python with the robustness of IRIS for interoperability solutions. In transforming data, building APIs, or integrating external systems, traditional expectations are that Embedded Python is a revolution for modern applications.

Use Embedded Python today, and discover new avenues of seamless interoperability! 

4 Comments
Discussion (4)1
Log in or sign up to continue