検索

質問
· 2025年2月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
ディスカッション (2)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年2月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
ディスカッション (1)2
続けるにはログインするか新規登録を行ってください
質問
· 2025年2月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
ディスカッション (4)3
続けるにはログインするか新規登録を行ってください
記事
· 2025年2月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
ディスカッション (4)1
続けるにはログインするか新規登録を行ってください
記事
· 2025年2月5日 6m read

Présentation du framework web Python Stream



Salut la Communauté!

Dans cet article, je présenterai le framework web Python Streamlit.

Ci-dessous, vous trouverez les sujets que nous aborderons:

  • 1-Introduction au framework web Streamlit
  • 2-Installation du module Streamlit
  • 3-Lancement de l'application Streamlit
  • 4-Commandes de base de Streamlit
  • 5-Affichage du contenu multimédia 
  • 6-Widgets d'input
  • 7-Affichage des progrès et de l'état
  • 8-Barre latérale et conteneur
  • 9-Visualisation des données
  • 10-Affichage de DataFrame

 

Commençons donc par le premier sujet.

ディスカッション (0)2
続けるにはログインするか新規登録を行ってください