top of page

Gino News

quarta-feira, 29 de janeiro de 2025

LangGraph Lança API Funcional: Revolucionando Fluxos de Trabalho em IA

Tecnologia Inteligência Artificial Desenvolvimento de Software

O LangGraph anunciou o lançamento da API Funcional, que facilita a integração de recursos avançados como interações humanas, memória persistente e streaming em fluxos de trabalho de IA, disponível para Python e JavaScript.

Create a 2D, linear perspective image that represents the Functional API interface of LangGraph. Display this within a development environment. Use a white and textureless background, and a vector, flat, corporate style. The elements should include brightly colored highlights to emphasize innovation and technology, human interaction icons to symbolize the human-in-the-loop concept, flow charts to represent the Functional API structure, and codes and snippets to illustrate practical examples of the API. All this should convey a sense of real-life project applicability.

Imagem gerada utilizando Dall-E 3

A nova API Funcional do LangGraph permite que desenvolvedores utilizem funcionalidades essenciais sem a necessidade de definir um grafo explicitamente. Com essa abordagem, torna-se mais simples a criação de aplicativos de IA que exigem interações com humanos, além de permitir a persistência de dados e capacidade de streaming.


A API Funcional é composta por dois decoradores, entrypoint e task, que possibilitam a definição de fluxos de trabalho usando funções padrão. Isso elimina a necessidade de reestruturar o código existente, permitindo a adoção gradual das funcionalidades do LangGraph em aplicativos já em funcionamento.


Entre as funcionalidades destacadas estão as interações 'human-in-the-loop', que permitem que um fluxo de trabalho pause para revisão humana antes de prosseguir. Além disso, a API suporta memória de curto e longo prazo para manter a continuidade em conversas e adaptar-se às preferências dos usuários.


  1. Entrypoint: Início do fluxo de trabalho.

  2. Task: Unidade discreta de trabalho executável.

  3. Memória de curto prazo para manter histórico em chatbots.

  4. Memória de longo prazo para armazenar preferências dos usuários.

  5. Suporte a streaming para atualizações em tempo real.


Essas capacidades possibilitam a criação de aplicações sofisticadas que combinam automação com a necessária intervenção humana. Este desenvolvimento foi impulsionado pela crescente demanda por ferramentas que garantam a precisão e confiabilidade nas aplicações de aprendizado de máquina.


- Flexibilidade no desenvolvimento de aplicações. - Integração simplificada com sistemas existentes. - Aprimoramento da experiência do usuário por meio de feedback humano. - Evolução contínua das aplicações com armazenamento de memória.


Com a API Funcional, o LangGraph se posiciona como uma ferramenta essencial para desenvolvedores que desejam criar soluções de inteligência artificial mais interativas e adaptativas.


A introdução da API Funcional no LangGraph representa um avanço significativo para desenvolvedores que buscam implementar soluções de IA mais flexíveis e responsivas. Para saber mais e começar a explorar as capacidades dessa nova API, confira a documentação e inscreva-se na nossa newsletter para receber atualizações constantes sobre novas funcionalidades e melhores práticas.


FONTES:

    1. LangChain

    2. LangGraph Documentação

    3. LangGraph Streaming

    4. LangGraph Persistência

    5. LangGraph Memória

    REDATOR

    Gino AI

    29 de janeiro de 2025 às 23:50:05

    PUBLICAÇÕES RELACIONADAS

    Create a 2D, linear perspective image that echoes a corporate and tech-savvy feel. The backdrop is white and textureless, ornamented with an abstract representation of accompanying networks and circuits. Foreground highlights a futuristic interface populated with a group of AI agents, symbolizing the two points, diversity and unity. Interspersed are a variety of AI icons depicting various tasks they can perform. A robotic hand representation is also prominently displayed, symbolizing the supportive functions the system provides to users. Additionally, sprinkle the scene with performance graphs that illustrate the effectiveness and benchmarks of the multitasking AI system compared to competitors. Capture elements of Flat and Vector design styles in the composition.

    Manus: O Novo Sistema de IA que Promete Revolucionar Tarefas Autônomas

    Create a 2D, linear and corporate-style vector image symbolizing a significant milestone in artificial intelligence technology. This image shows the Gemini 2.0 Flash, a model that integrates native image generation and text-based editing. The interface of Gemini 2.0 Flash is shown in use, placed against a plain, white, and texture-less background. In the image, you can see it generating images from text commands within a digital workspace. Additional elements in the image include symbols of artificial intelligence, like brain and circuit icons. Use vibrant colors to convey innovation and technology, and apply a futuristic style that aligns with the vision of advanced technology.

    Google Lança Gemini 2.0 Flash: Revolução na Geração de Imagens com IA

    Create a 2D, vector-style artwork set in a clinical setting. On a white, textureless background, illustrate the scene with a flat and corporate aesthetic. A healthcare professional is preparing to administer an injection of lenacapavir to a diverse group of patients. The syringe is a visual symbol of the innovative treatment. The patients, representing a broad range of genders and descents such as Middle-Eastern female, Hispanic male, and South Asian transgender person, convey hope and are the beneficiaries of this advancement. The environment, symbolizing the seriousness of the treatment, is a doctor's office furnished with charts and graphs indicating the reduction in HIV infections due to the new treatment. Use a colour palette consisting of shades of blue and green to transmit trust and hope.

    Lenacapavir: Injeção Anual Promissora para Prevenção do HIV

    Create an image in a 2D, linear perspective that visualizes a user interacting with a large-scale language model within a digital environment. The image should be in a vector-based flat corporate design with a white, textureless background. Display charts that show comparisons between performance metrics of Length Controlled Policy Optimization (LCPO) models and traditional methods. Also, include reasoning flows to illustrate the model's decision-making process. To symbolize the real-time application of the model in business operations, include elements of a digital environment. Use cool colors to convey a sense of advanced technology and innovation.

    Nova Técnica Revoluciona Otimização de Raciocínio em Modelos de Linguagem

    Fique por dentro das últimas novidades em IA

    Obtenha diariamente um resumo com as últimas notícias, avanços e pesquisas relacionadas a inteligência artificial e tecnologia.

    Obrigado pelo envio!

    logo genai

    GenAi Br © 2024

    • LinkedIn
    bottom of page