الأربعاء، 29 مارس 2023
Show HN: Marvin – build AI functions that use an LLM as a runtime https://ift.tt/tTeGAFy
Show HN: Marvin – build AI functions that use an LLM as a runtime Hey HN! We're excited to share our new open-source project, Marvin. Marvin is a high-level library for building AI-powered software. We developed it to address the challenges of integrating LLMs into more traditional applications. One of the biggest issues is the fact that LLMs only deal with strings (and conversational strings at that), so using them to process structured data is especially difficult. Marvin introduces a new concept called AI Functions. These look and feel just like regular Python functions: you provide typed inputs, outputs, and docstrings. However, instead of relying on traditional source code, AI functions use LLMs like GPT-4 as a sort of “runtime” to generate outputs on-demand, based on the provided inputs and other details. The results are then parsed and converted back into native data types. This “functional prompt engineering” means you can seamlessly integrate AI functions with your existing codebase. You can chain them together with other functions to form sophisticated, AI-enabled pipelines. They’re particularly useful for tasks that are simple to describe yet challenging to code, such as entity extraction, semantic scraping, complex filtering, template-based data generation, and categorization. For example, you could extract terms from a contract as JSON, scrape websites for quotes that support an idea, or build a list of questions from a customer support request. All of these would yield structured data that you could immediately start to process. We initially created Marvin to tackle broad internal use cases in customer service and knowledge synthesis. AI Functions are just a piece of that, but have proven to be even more effective than we anticipated, and have quickly become one of our favorite features! We’re eager for you to try them out for yourself. We’d love to hear your thoughts, feedback, and any creative ways you could use Marvin in your own projects. Let’s discuss in the comments! https://ift.tt/13pD4qm March 30, 2023 at 05:04AM
الاشتراك في:
تعليقات الرسالة (Atom)
������ �����
خدمات طبيه https://www.cut-titles.com/Y4ZR
-
Show HN: TribePulse – more thoughtful internal discussion platform for teams https://ift.tt/2NsYFDJ February 25, 2020 at 03:48AM
-
Show HN: Study, research and learn with thinking notebook – MindForger 1.50.0 https://ift.tt/2TBgRfX January 19, 2020 at 02:36AM
-
Street Transformations to Address COVID-19 Keep San Francisco Moving By Eillie Anzilotti A street closure in the Tenderloin as part of th...
-
Show HN: Jupyter kernel using Poetry for reproducible Python package management https://ift.tt/3H6E0MS December 24, 2021 at 01:54AM
-
Show HN: A bullet-hell game made in Haskell https://gilmi.me/nyx November 1, 2019 at 10:28AM
-
Show HN: LibRapid -- A high performance multi-dimensional array library tl;dr I'm developing an incredibly fast library for arrays and m...
-
Show HN: Chemiscripts: translate ASCII chemical formulas into Unicode https://ift.tt/uyr5Sx9 March 21, 2022 at 11:33PM
ليست هناك تعليقات:
إرسال تعليق