Nouvelle publication

Rechercher

Article
· Oct 13, 2024 10m de lecture

IRIS開発における生成AIの活用について

はじめに

生成AIを活用したアプリケーション開発は、Python、JavaScriptなどのメジャー言語による体験記事がよく見られます。一方、IRISのObjectScriptの開発に言及された記事は比較的少ないのが現状です。そこで、本記事では生成AIがObjectScriptの開発にどこまで活用できるのかを検証しました。

特にDevOpsのプロセスにおいて、生成AIは様々なシーンでの活用が期待できます。今回は開発工程に注目し、以下の観点から生成AIの有効性を調査しました。

  • 開発
    • コードの自動生成
    • 環境構築のアシスタント(テーブルの作成)
  • 検証
    • テストデータ生成のサポート

環境

本記事の検証は以下の環境で行いました。

開発環境

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Oct 12, 2024

Embedded Python - Errors with Numpy

When I install the numpy package on Python on my PC using:

pip install numpy

I can use it in python on my machine. If I do:

pip install --target C:\InterSystems\IRIS\mgr\python numpy

I get errors any time I try to import it in embedded python.

Traceback (most recent call last):
  File "c:\intersystems\iris\mgr\python\numpy\_core\__init__.py", line 23, in <module>
    from . import multiarray
  File "c:\intersystems\iris\mgr\python\numpy\_core\multiarray.py", line 10, in <module>
    from . import overrides
  File "c:\intersystems\iris\mgr\python\numpy\_core\overrides.py", line 8, in <module>
    from numpy._core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy._core._multiarray_umath'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "c:\intersystems\iris\mgr\python\numpy\__init__.py", line 128, in <module>
    from numpy.__config__ import show as show_config
  File "c:\intersystems\iris\mgr\python\numpy\__config__.py", line 4, in <module>
    from numpy._core._multiarray_umath import (
  File "c:\intersystems\iris\mgr\python\numpy\_core\__init__.py", line 49, in <module>
    raise ImportError(msg)
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
    https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
  * The Python version is: Python3.9 from "c:\intersystems\iris\bin\IRISDB.EXE"
  * The NumPy version is: "2.1.2"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: No module named 'numpy._core._multiarray_umath'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "c:\intersystems\iris\mgr\python\numpy\__init__.py", line 133, in <module>
    raise ImportError(msg) from e
ImportError: Error importing numpy: you should not try to import numpy from
        its source directory; please exit the numpy source tree, and relaunch
        your python interpreter from there.

Has anyone else run into this and do you know how to fix it?

4 Comments
Discussion (4)2
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Oct 11, 2024

InterSystems Package Manager (IPM) v0.9.0 Beta

InterSystems Package Manager 0.9.0 Beta

I am excited to announce the upcoming release of InterSystems® Package Manager (IPM) version 0.9.0. This has possible impact for all users of IPM and we would welcome the community’s feedback prior to release.

7 Comments
Discussion (7)5
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Oct 10, 2024

InterSystems Tech Video Challenge

Hey Community,

We’re excited to introduce a whole new way for you to showcase your creativity and skills! This time, we’re inviting you to participate in our first-ever video challenge:

📹 InterSystems Tech Video Challenge 📹

Submit a video on any topic related to InterSystems IRIS products or services from October 21 - November 10, 2024.

🎁 Gifts for everyone + main prizes!


🔍 What’s the challenge?
Create a short video (up to 15 minutes) demonstrating a unique use of InterSystems technology. Whether it’s an innovative solution, a creative project, or a cool use case, we want to see it all!

📢 How to Enter:
To participate, you have to fill out the form where you will be required to upload your video. After we upload it to Developer Community YouTube we will post the link in the comments to this post for you to use everywhere.

Who can participate: Any Developer Community member, except for InterSystems employees (contractors are welcome to participate). Create an account!

General Requirements:

  1. The video must focus on InterSystems products or services and be technical in nature.
  2. All content must be in English (incl. code, screenshots, etc.).
  3. Videos must be 100% original and cannot be translations of any previously submitted videos for contests in any community.
  4. All information presented must be accurate and reliable.
  5. Videos should be less than 15 minutes long.
  6. Different authors can submit videos on the same topic with distinct examples.

NB. Our panel of experts will make the final decision on whether a video qualifies for the contest based on criteria such as quality and relevance. Their decision is final and cannot be appealed.

Contest Timeline

📝  October 21 - November 10: create a video and fill out the form throughout this period. DC members can vote for published videos with Likes – votes in the Community award.

📝  November 11-17: experts voting time

📝  November 18: winners' announcement

Prizes

1. Everyone Wins! All participants will receive a special gift:

🎁 Nike Golf Dri-FIT Swoosh Perforated Cap

2. Expert Awards – videos will be judged by the InterSystems experts:

🥇 1st place: 10.9-inch iPad Wi‑Fi 64GB / Sony WH-1000XM5 Wireless Headphones

🥈 2nd place: Moleskine Vertical Device bag - 15" //LEGO NASA Artemis Space Launch System

🥉 3rd place: AirPods 4 with Active Noise Cancellation / LEGO Hogwarts™ Castle: The Great Hall

As an alternative, any winner can choose a prize from a lower prize tier than his own.

3. Developer Community Award – video with the most likes. The winner will have the option to choose one of the following prizes:

🎁 AirPods 4 with Active Noise Cancellation / LEGO Hogwarts™ Castle: The Great Hall

Note: Authors can only win once per category (up to two total prizes: one from Expert and one from Community). In case of a tie, the number of expert votes will serve as the tie-breaking criterion.

Note: Each winning video will be awarded a single prize, regardless of the number of authors.

🎯 Extra bonuses

Here is the list of additional bonuses to help you win the prize! Please welcome: 

Bonus Nominal  Details

Topic bonus

3

Choose a topic from the list of the proposed topics below to get this bonus. 

Article bonus

Write a brand new explanatory article to support your video and use the tag #Video in it.

Application bonus

5

Upload a new application (or an improved version of an existing one) from your video to Open Exchange.

Translation bonus

2

Translate your video into one of the languages of our regional communities (ES, PT, JP, CN, FR) and upload it using the same form; mention in the description that it is a translation, and provide a YouTube link to the original.

YouTube Shorts bonus

2

Create a YouTube Short for your video (vertical video, up to 60 seconds).

LinkedIn bonus

1

Share the video on your LinkedIn, mentioning that you’re participating in the InterSystems Tech Video Challenge, and tagging the Developer Community LinkedIn page.

Proposed topics

Here's a list of proposed topics that will give your article extra bonuses:

✔️ Using AI / GenAI / RAG
✔️ Using Embedded Python in Interoperability
✔️ Using External Language Gateways (C#, Java, Python)
✔️ Using Data Fabric / Data Lake / Data Warehouse / Data Mesh
✔️ Using FHIR
✔️ Using REST
✔️ IKO common deployments

---

Get ready to shine and inspire others with your tech skills! We can't wait to see what you come up with. ✨


Note 1: By participating in the contest, you agree to have your video uploaded to the Developer Community YouTube.

Note 2: Delivery of prizes varies by country and may not be possible for some of them. A list of countries with restrictions can be requested from @Liubka Zelenskaia

 
15 Comments
Discussion (15)7
Connectez-vous ou inscrivez-vous pour continuer
Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer