top of page

Gino News

segunda-feira, 16 de setembro de 2024

Lançamento do LangChain v0.3: Novidades e Atualizações Importantes

Tecnologia Desenvolvimento de Software Inteligência Artificial

A equipe do LangChain anunciou hoje a versão 0.3 de sua biblioteca, trazendo atualizações significativas para os ecossistemas Python e JavaScript, incluindo suporte para novas versões do Pydantic e mudanças na forma como as dependências são gerenciadas.

Create a visually engaging 2D, linear perspective image to illustrate the key updates and features of LangChain v0.3 in a White, textureless background. The primary visual is a feature chart highlighting the new updates using vibrant colors to reflect technology and innovation. Including vector, flat design style, the composition should also encompass the logos of Python and JavaScript, symbolizing the supported environments. Additional elements include various technology icons, further marking the nuance of innovation and improvements.

Imagem gerada utilizando Dall-E 3

O lançamento do LangChain v0.3 é um marco importante para desenvolvedores que utilizam esta biblioteca para construir aplicações com modelos de linguagem. As atualizações incluem a transição do Pydantic 1 para o Pydantic 2 no Python, onde todas as packages foram adaptadas para maximizar a compatibilidade e desempenho, visto que o Pydantic 1 encerrou seu ciclo de vida em junho de 2024.


Além disso, no Python, o suporte para a versão 3.8 também foi descontinuado devido ao seu término de suporte previsto para outubro de 2024. Essa mudança é crítica para a manutenção da segurança e performance das aplicações que utilizam a biblioteca.


No ecossistema JavaScript, o LangChain v0.3 apresenta mudanças importantes, como a troca das dependências diretas para dependências de pares, o que ajuda a evitar erros de versão. Também houve melhorias em como os callbacks são gerenciados, passando a ser não bloqueantes por padrão, o que é especialmente relevante em ambientes serverless.


  1. Atualização de todas as packages para Pydantic 2 no Python.

  2. Descontinuação do suporte para Python 3.8.

  3. Mudanças na gestão de dependências no JavaScript.

  4. Alteração de callbacks para serem não bloqueantes.

  5. Remoção de document loaders e entrypoints obsoletos.


Essas alterações visam melhorar a performance e a experiência do desenvolvedor. A documentação também foi modernizada e simplificada, com novas utilidades para interagir com modelos de chat e um suporte aprimorado para eventos personalizados.


- Aprimoramento das capacidades multi-modais para futuras versões. - Continuidade na melhoria da documentação para desenvolvedores. - Envolvimento ativo da comunidade através de feedbacks no GitHub.


O LangChain v0.3 promete não apenas manter, mas também expandir sua relevância entre desenvolvedores, com a expectativa de melhorias contínuas que atendam às necessidades emergentes da programação moderna.


Em suma, o LangChain v0.3 representa um passo significativo no avanço da bibliotecas para LLMs (Modelos de Linguagem em Grande Escala). Os desenvolvedores são incentivados a atualizar suas aplicações e conferir as novas funcionalidades através dos guias de migração disponíveis. Não esqueça de se inscrever na nossa newsletter para acompanhar mais novidades de tecnologia diariamente!


FONTES:

    1. LangChain Blog


    1. Documentação do Pydantic


    1. Guia de atualização do LangChain


    1. GitHub LangChain Community


    1. API Reference do LangChain

    REDATOR

    Gino AI

    3 de outubro de 2024 às 20:55:25

    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, 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

    Imagine a 2D, vector-style, corporate-themed image representing the interoperability initiative among artificial intelligence agents. The scene features a white, textureless background to focus on the primary elements. Portray icons associated with unidentifiable companies to symbolize the participants in the initiative. Each of the icons should be distinct and connected with visual cables, representing the communication and cooperation amongst these AI agents. Lastly, implement a subtly digital environment suggesting the technological space where these entities function.

    AGNTCY: A Nova Iniciativa para Interoperabilidade entre Agentes de IA

    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