Evgeny Shvarov · Sep 11, 2024 go to post

Hi Jason!

If you are on VSCode you can leverage the InterSystems plugin and export classes.

For CSP files - if something works for you as a CSP web application, you don't have CSP files but rather CSP classes; you can simply export them via VSCode as well.

Evgeny Shvarov · Aug 29, 2024 go to post

Is it embedded python or iris python native? (I always mess with them). If the first, try the following for the system:

; enabling callin for Embedded Python

do ##class(Security.Services).Get("%Service_CallIn",.prop)

set prop("Enabled")=1

set prop("AutheEnabled")=48

do ##class(Security.Services).Modify("%Service_CallIn",.prop)
Evgeny Shvarov · Aug 29, 2024 go to post

Very convenient! 

Also if you want to read any CSV, create a class out of it and load the data give it a try to others two options:

1. csvgen - an objectscript module that lets you read, create class, and load data from an arbitrary CSV in one command.

2. csvgen-python - same as csvgen but written in embedded python.

Evgeny Shvarov · Aug 29, 2024 go to post

Thanks for the great feedback, @Sean Connelly ! Currently, DC AI is focused on DC knowledge only, which is limited, of course. Great idea about expanding the DC AI knowledge base with ObjectScript basics - we'll consider that in future releases.

Evgeny Shvarov · Aug 3, 2024 go to post

Shellscript auto start didn't work for me. So this line:

- ./init.sh:/docker-entrypoint-initdb.d/init.sh

didn't start the script, this is on Mac.

All the rest works great!

Evgeny Shvarov · Aug 3, 2024 go to post

Great app, @José Pereira ! Do you guys want to add an option to ask about available schemas as well?

So if I don't know what are the schemas in IRIS I'm not able to query it with natural language. So I first went to IRIS SQL manager to check which schemas were available :)

Other than that - amazing example of leveraging LLM with IRIS!

Evgeny Shvarov · Aug 1, 2024 go to post

Hi Eric! The article is too short; it's more like an announcement. Consider exposing in an article what your application does and how it works, and maybe some insights on how it was built.

Here is a good example of what we expect as an article for the app.

Evgeny Shvarov · Jul 24, 2024 go to post

Kudos, Ben! @Ben Spead  thanks for your endless energy and focus! This community is very grateful for all the experience and open-hearted attitude you shared here, and keep sharing every day! Thank you!

Evgeny Shvarov · Jul 14, 2024 go to post

Hi Tim!

A few questions on isc.rest.

1. What is the format of version:  <Version>1.2.2+snapshot</Version>?  

2. Does it relate to unit tests <Resource Name="/internal/testing/unit_tests/">
          <Attribute Name="Package">UnitTest.isc.rest</Attribute>? 

is it callable by zpm "test isc.rest"? 

3. Lifescycle class - is it mandatory for every package? It looks very complicated what is going on there. Why not use <INVOKE>?

4. Defaults:

What is this for? is it mandatory?

<Defaults>
        <ProcessorDefault Class="Default.Include">
          <Attribute Name="Format">UDL</Attribute>
        </ProcessorDefault>
        <ProcessorDefault Class="Default.Class">
          <Attribute Name="FilenameExtension">cls</Attribute>
          <Attribute Name="Format">UDL</Attribute>
        </ProcessorDefault>
        <ProcessorDefault Class="Default.Package">
          <Attribute Name="FilenameExtension">cls</Attribute>
          <Attribute Name="Format">UDL</Attribute>
        </ProcessorDefault>
        <ProcessorDefault Class="UnitTest">
          <Attribute Name="Format">UDL</Attribute>
        </ProcessorDefault>
      </Defaults>
Evgeny Shvarov · Jul 13, 2024 go to post

Hi Tim!

A few questions on isc.rest.

1. What is the format of version:  <Version>1.2.2+snapshot</Version>?  

2. Does it relate to unit tests <Resource Name="/internal/testing/unit_tests/">
          <Attribute Name="Package">UnitTest.isc.rest</Attribute>? 

is it callable by zpm "test isc.rest"? 

3. Lifescycle class - is it mandatory for every package? It looks very complicated what is going on there. Why not use <INVOKE>?

4. Defaults:

What is this for? is it mandatory?

<Defaults>
        <ProcessorDefault Class="Default.Include">
          <Attribute Name="Format">UDL</Attribute>
        </ProcessorDefault>
        <ProcessorDefault Class="Default.Class">
          <Attribute Name="FilenameExtension">cls</Attribute>
          <Attribute Name="Format">UDL</Attribute>
        </ProcessorDefault>
        <ProcessorDefault Class="Default.Package">
          <Attribute Name="FilenameExtension">cls</Attribute>
          <Attribute Name="Format">UDL</Attribute>
        </ProcessorDefault>
        <ProcessorDefault Class="UnitTest">
          <Attribute Name="Format">UDL</Attribute>
        </ProcessorDefault>
      </Defaults>