Nova postagem

Pesquisar

Anúncio
· Ago. 27, 2024

[Video] Otimizando seus Prompts para IA Generativa

Olá, Comunidade!

Precisa aprender a escrever melhores prompts para GenAI? Este vídeo do Learning Services apresenta seis estratégias principais:

Otimizando seus Prompts para IA Generativa

​Com melhores prompts, você pode esperar melhores resultados de suas interações GenAI. As técnicas discutidas neste vídeo incluem:

  • Zero-shot learning
  • Task-oriented prompting
  • Few-shot learning
  • Chain of thought
  • Instructional prompting
  • Chain prompting

💻 Tente você mesmo! Melhore suas habilidades de escrita rápida neste exercício prático (40m). 

Discussão (0)1
Entre ou crie uma conta para continuar
Anúncio
· Ago. 27, 2024

[LinkedIn Live] Debunking AI Myths with Expert Insights

Hey Community!

We’re thrilled to invite you to an exciting LinkedIn Live session dedicated to the most common myths and misconceptions surrounding AI!

🌐 Debunking AI Myths with Expert Insights 🌐

📅 Thursday, September 5th, 10 am EDT | 4 pm CEST

🗣 Presenters:

  • @John Paladino, Head of Client Services, InterSystems
  • Tobias Zwingmann, AI Expert


If you've ever had questions or doubts about how AI can fit into your projects, this is your chance to get answers straight from the experts. Tobias, a keynote speaker at this year’s Global Summit AI Day, will share insights that have been game-changers for many. During this live event, you will get the answers to the following questions:

✔️ Who’s really responsible for adopting and overseeing AI in an organization? 
✔️  How can AI streamline administrative functions? 
✔️  What’s the best Large Language Model out there? 

Hope to see you at the live session!

>> Join here <<

Discussão (0)1
Entre ou crie uma conta para continuar
Discussão (0)2
Entre ou crie uma conta para continuar
Anúncio
· Ago. 27, 2024

开发者社区AI (DC AI)来了!

欢迎来到开发者社区AI的新纪元!

🚀 InterSystems Developer Community AI 🚀

开发者社区 AI (即DC AI), 我们的新助手,已经准备好为您答疑解惑!

借助 InterSystems IRIS Vector Search 及 SerenityGPT, 能够基于InterSystems开发者社区提供相关度最高的答案。此外,DC AI支持六种语言,包括英语、西班牙语、葡萄牙语、日语、中文和法语,极大地方便了全球各地的开发者们!

 


    如何使用

    • 登录:登录您的开发者社区账号
    • 导航至 DC AI进入 DC AI 页面 ,在您主页的右上角,有一个 "What's New(最新变化)" 模块,通过这个模块即可快速到达DC AI页面。

    • 提问:直接在该页面提交您的问题即可。


    更多功能:

    • 如果没有得到您需要的答案,可以使用“在社区提问(Ask Community)”按钮轻松地将您的问题转换为帖子。
    • 您可以使用共享按钮()与他人分享您的聊天内容,并保存/复制答案以备将来参考()。
    • 通过来源部分列出的相关社区帖子,更深入了解DC AI的答案。


    我们期待您的回复!
    由于该功能仍处于测试阶段,您的反馈对改进DC AI至关重要:

    • 使用“喜欢/不喜欢”按钮对答案进行评分。
    • 在这篇文章的评论中分享具体的反馈、建议和想法。


    即刻尝试DC AI!

    提出您的问题并与社区分享您的经验。

    Discussão (0)1
    Entre ou crie uma conta para continuar
    Artigo
    · Ago. 27, 2024 4min de leitura

    Acceso a Azure Blob Storage

    Acceder a un almacenamiento en la nube de Azure para cargar/descargar blobs es bastante fácil usando los métodos API designados de la clase %Net.Cloud.Storage.Client, o usando los adaptadores de entrada/salida EnsLib.CloudStorage.*

    Tened en cuenta que necesitaréis tener el Servidor de Lenguaje Externo %JavaServer en funcionamiento para usar tanto la API de almacenamiento en la nube como los adaptadores, ya que ambos usan el marco PEX usando el Servidor Java.

    He aquí un breve resumen:

    El acceso a Azure Blob Storage se realiza mediante una cadena de conexión similar a esta:

    DefaultEndpointsProtocol=https;AccountName=abcdefscleanisr;AccountKey=n3mWskdjgfhklsghdfjaskhgkjdfizqMWJ5X2L4JpqeEJk/FuEnw0rPI6E/rULPn0V5BWgFw+AStRJZlYQ==;EndpointSuffix=core.windows.net

    Divididlo en líneas con «;» como delimitador y guardadlo como archivo de texto:

    DefaultEndpointsProtocol=https;
    AccountName=abcdefscleanisr;
    AccountKey=n3mWskdjgfhklsghdfjaskhgkjdfizqMWJ5X2L4JpqeEJk/FuEnw0rPI6E/rULPn0V5BWgFw+AStRJZlYQ==;
    EndpointSuffix=core.windows.net

    Para este ejemplo llamaré a este archivo «MyAzureStorage.txt».

    Ahora vamos a activar la API:

    set file="C:\Storage\MyAzureStorage.txt"
    set endpoint="abcdefscleanisr.privatelink.blob.core.windows.net"
    set tStatus=""

    En el método API CreateClient, el segundo parámetro es el proveedor de la nube:

    • 0 - Amazon S3
    • 1 - Azure Blob
    • 2 - Google Cloud Storage
    SET myClient = ##CLASS(%Net.Cloud.Storage.Client).CreateClient(,1,file,0,.tStatus,endpoint)

    Una vez establecido el cliente (tStatus=1), podéis ejecutar cualquiera de los métodos del cliente:

     

    En Azure Blob Storage, un Bucket es un Contenedor.

    Así, por ejemplo, para obtener la lista de contenedores de Azure, ejecutad el método ListBuckets:

    set list=myClient.ListBuckets()
    
    for i=1:1:list.Count() {write list.GetAt(i).name,!}
    
    clean
    dirty

    Una vez que tengáis un nombre de contenedor (tomemos como ejemplo el contenedor "clean"), podéis obtener la lista de blobs que contiene:

    set list=myClient.ListBlobs("clean")
    
    for i=1:1:list.Count() {write list.GetAt(i).name,!}
    
    4caa6f29-e9e6-4cde-9112-65ec28d4eded.jpeg
    2374233-e9e6-4cde-9112-65ec28d4eded.jpeg
    3klfd3lld-e9e6-4cde-9112-65ec28d4eded.jpeg
    4caa6f29-e9e6-87ry-9112-65ec28d4eded.jpeg

    El adaptador de salida CloudStorage tiene menos opciones - sus métodos incluyen sólo los siguientes:

    • UploadBlobFromString(bucketName,blobName,content)
    • UploadBlobFromStream(bucketName,blobName,content)
    • UploadBlobFromFile(bucketName,blobName,filePath)
    • DeleteBlob(bucketName,blobName)

    Estos son los parámetros para configurar una operación de negocio utilizando el EnsLib.CloudStorage.OutboundAdapter con Azure Blob Storage. El parámetro Storage Region no es relevante para Azure Blob Storage.

    Todos los demás parámetros son relevantes igual que cuando usábamos el método CreateClient:

    El parámetro ContainerName no es parte de los parámetros del adaptador - no es necesario para crear el cliente (el método CreateClient no lo utiliza).

    Sin embargo, todos los demás métodos del adaptador enumerados anteriormente sí necesitan especificar a qué cubo/contenedor debe cargarse el blob, por lo que tiene sentido añadirlo como parámetro como parte de la configuración:

    Class Sasa.BO.Storage Extends Ens.BusinessOperation
    { 
    Parameter ADAPTER = "EnsLib.CloudStorage.OutboundAdapter"; 
    Property Adapter As EnsLib.CloudStorage.OutboundAdapter; 
    Parameter INVOCATION = "Queue"; 
    /// Bucket name(Amazon) = Container name(Azure)
    Property ContainerName As %String(MAXLEN = 1000); 
    Parameter SETTINGS = "ContainerName:Cloud Storage"; 
    Method CreateFile(pRequest As Cloud.RES.REST, Output pResponse As Cloud.RES.REST) As %Status
    {
        #dim tException As %Exception.SystemException
        Set tStatus = $$$OK
        set pResponse=##class(Cloud.RES.REST).%New() 
        Try {
            Set tStatus = ..Adapter.DeleteBlob(..ContainerName, pRequest.FileName)
            Set tStatus = ..Adapter.UploadBlobFromStream(..ContainerName, pRequest.FileName, pRequest.FileData)   
            if $$$ISERR(tStatus) {
                set pResponse.Success = 0
                set pResponse.ErrorMessage = $system.Status.GetErrorText(tStatus)
            }
        } 
        Catch tException {
            Set tStatus = tException.AsStatus()
            set pResponse.Success=0
            set pResponse.ErrorMessage=$system.Status.GetErrorText(tStatus)
        }
        Quit $$$OK
    }

    Espero que os ayude a empezar a utilizar el adaptador de nube con Azure.

    Discussão (0)1
    Entre ou crie uma conta para continuar