Nueva publicación

Encontrar

Anuncio
· 14 mayo, 2024

★投票開始!★ InterSystems ベクトル検索、GenAI、 ML コンテスト(USコミュニティ)

開発者の皆さん、こんにちは。

InterSystems ベクトル検索、GenAI、 ML コンテスト(USコミュニティ)の投票が始まりました!今回は新メンバーからの6作品を含め、16のアプリケーションが投稿されました。

🔥 ベストアプリケーションはこれだ! 🔥と思う作品にぜひ投票をお願いします!

投票方法は以下の通りです。

Experts nomination:

インターシステムズの経験豊富な審査員がベストアプリを選び、Expert Nominationで賞品をノミネートします。

⭐️ @Alvin Ryanputra, Systems Developer
⭐️ @Guillaume Rongier, Sales Engineer
⭐️ @Sylvain Guilbaud, Sales Engineer
⭐️ @Alexander Koblov, Senior Support Specialist
⭐️ @Eduard Lebedyuk, Senior Cloud Engineer
⭐️ @Steve Pisani, Senior Solution Architect
⭐️ @Andreas Dieckow, Principal Product Manager
⭐️ @Aya Heshmat, Product Manager
⭐️ @Benjamin De Boe, Product Manager
⭐️ @Bob Kuszewski, Product Manager
⭐️ @Carmen Logue, Product Manager
⭐️ @Luca Ravazzolo, Product Manager
⭐️ @Raj Singh, Product Manager
⭐️ @Patrick Jamieson, Product Manager
⭐️ @Stefan Wittmann, Product Manager
⭐️ @Thomas Dyar, Product Manager
⭐️ @Daniel Franco, Senior Manager - Interoperability Product Management
⭐️ @Timothy Leavitt, Development Manager
⭐️ @Evgeny Shvarov, Senior Manager of Developer and Startup Programs
⭐️ @Dean Andrews, Head of Developer Relations
⭐️ @Jeff Fried, Director of Product Management

Community nomination:

開発者コミュニティのメンバーは、お好みのアプリケーションに対して1位~3位を指定しながら投票できます。

Conditions

Place
1st 2nd 3rd
開発者コミュニティに記事を掲載したり、OpenExchange(OEX)にアプリをアップロードしたことがある方 9点 6点 3点

開発者コミュニティに1つの記事を掲載した、または 1アプリケーションを OEX にアップロードしたことがある方

6点 4点 2点
開発者コミュニティへコメントや質問を投稿したことがある方 3点 2点 1点

 

エキスパートレベル

順位
1位 2位 3位
グローバルマスターズの VIP レベル または、InterSystems Product Managers 15点 10点 5点
グローバルマスターズの Ambassador レベル 12点 8点 4点

グローバルマスターズの Expert レベル または DC モデレーター

9点 6点 3点
グローバルマスターズの Specialist レベル 6点 4点 2点
グローバルマスターズの Advocate レベル または インターシステムズの従業員 3点 2点 1点

「ブラインド投票」とします

各応募作品への投票数は、誰にも分らないようになっています。1日1回、この記事のコメント欄に投票数を公開する予定です。

コンテストページの表示順は、コンテストに応募した時期が早ければ早いほど、上位に表示されます。

メモ:新しいコメントの通知を受けるために、この投稿を購読することをお忘れなく!(記事末尾の  ベルのアイコンをクリックするだけ!)

 

投票に参加するには

 

  1. Open Exchange へのサインインします(開発者コミュニティのアカウントを使用してください)。
  2. 投票ボタンは、開発者コミュニティ内で、質問/回答/記事の掲載/投稿に対するコメント など 記載いただいた方に対して有効になります。 ボタンが押せない場合は、コミュニティへのコメントやオリジナルの記事など、書き込みお願いします!詳細は、こちらの記事をご参照ください。
  3. 気が変わった場合は? - 選択をキャンセルして別のアプリケーションに投票できます。

ぜひ🔥これだ🔥と思う作品に投票お願いします!


メモ:コンテストへ応募された作品は、投票週間中にバグを修正したり、アプリケーションを改良したりすることができますので、アプリケーションのリリースを見逃さずに購読してください

Comentarios (0)1
Inicie sesión o regístrese para continuar
Comentarios (0)0
Inicie sesión o regístrese para continuar
Pregunta
· 13 mayo, 2024

X12 832 (4010) SEF or XSD file

I would dearly love to avoid manually creating a SEF or XSD file to get the X12 832 (4010) schema into IRIS, but I have been hard pressed to find either downloadable resources or commercial options. The typical recommendation, edi-dev, seems to just do tooling that will help create SEF files, but no longer sells actual SEF files.

Anybody got any good resources that might have these schema files?

Thanks for any help!

Cordially,

Jonathan

2 comentarios
Comentarios (2)2
Inicie sesión o regístrese para continuar
Artículo
· 13 mayo, 2024 Lectura de 2 min

Reviews on Open Exchange - #43

If one of your packages on OEX receives a review you get notified by OEX only of YOUR own package.   
The rating reflects the experience of the reviewer with the status found at the time of review.   
It is kind of a snapshot and might have changed meanwhile.   
Reviews by other members of the community are marked by * in the last column.

I also placed a bunch of Pull Requests on GitHub when I found a problem I could fix.    
Some were accepted and merged, and some were just ignored.     
So if you made a major change and expect a changed review just let me know.

# Package Review Stars IPM Docker *
1 DNA-similarity-and-classify my personal 6* favorite 6.0      
2 companies-search excellent 5*+ example 5.5   y  
3 AutoML Churn Predict Showroom very positive experience 5.0 y    
4 iris-VectorLab an enlightening demo 5.0 y    
5 iris-medicopilot professional setup 4.7 y    
6 ImageSearchVideo nice starting package 4.5 y y  
7 iris-health-coach fine build - no clear test 4.5   y  
8 iris-image-vector-search builds - no testing 4.5 y y  
9 BG-AppealAI testing not prepared 4.0 y    
10 Hackupc24_inter package broken 1.0      
11 hackupc just Py - no trace of IRIS anywhere 0.5      
12 HackUPC24_Klìnic not clear what this is 0.5      
Comentarios (0)1
Inicie sesión o regístrese para continuar
Artículo
· 13 mayo, 2024 Lectura de 3 min

Vector Search : Application to demonstrate Vector Search and Generative AI capabilities

Hi Community,

In this article, I will introduce my application iris-VectorLab along with step by step guide to performing vector operations.

IRIS-VectorLab is a web application that demonstrates the functionality of Vector Search with the help of embedded python. It leverages the functionality of the Python framework SentenceTransformers for state-of-the-art sentence embeddings.

Application Features

  • Text to Embeddings Translation.
  • VECTOR-typed Data Insertion.
  • View Vector Data
  • Perform Vector Search by using VECTOR_DOT_PRODUCT and VECTOR_COSINE functions.
  • Demonstrate the difference between normal and vector search
  • HuggingFace Text generation with the help of GPT2 LLM (Large Language Model) model and Hugging Face pipeline

To demonstrate the functionality of Vector Search, We will follow the below steps:

  • Step1: Generate embeddings and save Vector data to IRIS
  • Step2: View Vector data
  • Step3: Perform Vector Search

So Let us start.

Step 1: Create embeddings and save Vector data to IRIS 

The below Python function will save the vector data to IRIS:

// Save vector data
ClassMethod SaveData(desc As %String) As %String [ Language = python ]
{
	#Required to call objectscript method	
	import iris
	# Step 1: Prepare the Data 
	documents =[ desc ]
    # Step 2: Generate Document Embeddings
	from sentence_transformers import SentenceTransformer
	import pandas as pd
	#convert to dataframe for data manipulation
	df = pd.DataFrame(documents)
	#define column header
	df.columns = ['description']
	#Assign model
	model = SentenceTransformer('all-MiniLM-L6-v2')
    # Generate embeddings for each document
	document_embeddings = model.encode(documents)
	# assigning vector data to new column of dataframe
	df['description_vector'] = document_embeddings.tolist()
    # iterate through dataframe 
	for index, row in df.iterrows():
		# call SaveVector method of same class
		iris.cls(__name__).SaveVector(row['description'],str(row['description_vector']))
}
//Function to save vector data
ClassMethod SaveVector(desc As %String, descvec As %String) As %Status
{
	//Insert data to VectorLab table
  	&sql(INSERT INTO SQLUser.VectorLab  VALUES (:desc,to_vector(:descvec)))
 	if SQLCODE '= 0 {
   	 	write !, "Insert failed, SQLCODE= ", SQLCODE, ! ,%msg
    	quit
  	}
   	return $$$OK
}

 

Step2: View Vector data

The below function will return vector data


// View Vector data against ID
ClassMethod ViewData(id As %Integer, opt As %Integer) As %String
{
    // if opt = 1 then return normal description
    if opt = 1
    {
    &sql(SELECT description into :desc FROM SQLUser.VectorLab WHERE ID = :id)
    IF SQLCODE<0 {WRITE "SQLCODE error ",SQLCODE," ",%msg  QUIT}
    return desc
    }
    // return Vector data
    if opt = 2
    {
    &sql(SELECT description_vector into :desc FROM SQLUser.VectorLab WHERE ID = :id)
    IF SQLCODE<0 {WRITE "SQLCODE error ",SQLCODE," ",%msg  QUIT}
    
    //count number of vectors
    set count = $vectorop("count",desc)
    set vectorStr = ""
    //Iterate to all vectors, concatenate them and return as a string
    for i = 1:1:count 
        {
        if (i = 1)
            { set vectorStr = $vector(desc,i)}
        else
            { set vectorStr = vectorStr_", "_$vector(desc,i)}	
        }
    return vectorStr
    }
}

 

Vector data can be viewed from the management portal
Screenshot 2024-05-13 133805

 

Step 3: Perform vector search

The below function will perform vector search functionality and print the results.

ClassMethod VectorSearch(aurg As %String) As %String [ Language = python ]
{
	#init python liabraries
	from sentence_transformers import SentenceTransformer
	import pandas as pd
	
	# Assign the model
	model = SentenceTransformer('all-MiniLM-L6-v2')
	
	# Generate embedding of search parameter
	search_vector = str(model.encode(aurg, normalize_embeddings=True).tolist()) # Convert search phrase into a vector
	
	import iris
	#Prepare and execute SQL statement
	stmt = iris.sql.prepare("SELECT top 5 id,description FROM SQLUser.VectorLab ORDER BY VECTOR_DOT_PRODUCT(description_vector, TO_VECTOR(?)) DESC")
	results = stmt.execute(search_vector)
	results_df = pd.DataFrame(results) 
	print(results_df.head())
}

For more details please visit IRIS-VectorLab open exchange application page.

Thanks

Comentarios (0)1
Inicie sesión o regístrese para continuar