検索

Article
· Mai 15, 2024 2m de lecture

Retrieve images using vector search (1)

Hi Community,

In this article, I will introduce my application iris-image-vector-search.
The image vector retrieval demo uses IRIS Embedded Python and OpenAI CLIP model to convert images into 512 dimensional vector data. Through the new feature of Vector Search, VECTOR-COSINE is used to calculate similarity and display high similarity images.

Application direction of image retrieval  

Image retrieval has important application scenarios in the medical field, and using image retrieval can greatly improve work efficiency. Image retrieval can also be applied in the following fields, such as:

 

  • Image retrieval systems can be used to search for medical image data related to their research topic, for data analysis, pattern recognition, and research, accelerating the process of scientific research.
  • The images in the medical imaging database can be used for the education and training of medical students. Through image retrieval, students can search and compare different types of cases, deepening their understanding of disease characteristics and diagnostic methods.
  •  Image retrieval can be used to assist doctors in diagnosis. By comparing medical imaging data of patients (such as X-rays, CT scans, MRI, etc.) and providing reference images of similar cases through a knowledge base, doctors can quickly obtain relevant information and improve diagnostic accuracy.  

How to use it

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

  • Clone/git pull the repo into any local directory

git clone https://github.com/yueshan239/iris-image-vector-search.git
  • Open the terminal in this directory and run

docker-compose build

    This process will take some time

 

  • Run the IRIS container

docker-compose up -d

 

  • Open the terminal in `vue` directory and run

docker-compose build

  • Run the nginx container

docker-compose up -d

 Visit the address below

http://localhost:8080/

Accessing this page indicates that we have successfully run it.

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Mai 15, 2024

Documentation New Look

The InterSystems documentation new look is pretty awesome. The integrated pervious release documentation are single page is really useful.

Dark mode and collapse the side bar option is cool!

 

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Article
· Mai 14, 2024 4m de lecture

Preventive Health with ChatIRIS: Integrating InterSystems IRIS for Enhanced Patient Engagement

ChatIRIS Health Coach, a GPT-4 based agent that leverages the Health Belief Model (Hochbaum, Rosenstock, & Kegels, 1952) as a psychological framework to craft empathetic replies.

3 Comments
Discussion (3)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Mai 14, 2024

Mongodb integration

Hi. In a project I'm involved in I need to connect to a MongoDB database, read some data and store it in some internal table. 

I'm wondering what's the best way to connect to MongoDB, as it seams to me there's no native Intersystems adapter.

Did anyone have handled such a scenario?

 

Thank you. Best regards 

Davide Cecchetto

2 Comments
Discussion (2)2
Connectez-vous ou inscrivez-vous pour continuer
Question
· Mai 14, 2024

使用VIP配置的Mirror,ECP添加时使用主节点IP,在故障转移后,需要手动变更ECP的数据服务器IP么?

VIP:192.168.30.111,故障转移节点一(192.168.30.10),故障转移节点二(192.168.30.11),ECP地址192.168.30.100

在配置时ECP里增加数据服务器IP为【主】故障转移节点一(192.168.30.10)【文档说不能使用VIP地址】后,

如果主从切换。ECP里的数据服务器IP,会自动变换成故障转移节点二(192.168.30.11)【此时为主】吗?

如果不能,需要手动变更吗?还是不需要?

2 Comments
Discussion (2)2
Connectez-vous ou inscrivez-vous pour continuer