الأربعاء، 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: A Network of Knowledge Feeds Hi Everyone, I wanted to talk to this community about a particular story from my experience to see how...
-
Show HN: A WYSIWYM Markdown editor and brainstorming tool on the web https://ift.tt/yj6vCnJ July 31, 2022 at 09:18PM
-
Show HN: All-in-one open source tool for data pipelines https://ift.tt/EU7SnGz September 29, 2022 at 12:06AM
-
Show HN: Strada – Embed accounting automation with one API Hi HN, we’ve been working on an API that makes it easy to add a full set of accou...
-
Show HN: I developed a native macOS client for EC2/S3 console Hello HN: Here is the link https://ift.tt/3kuuEAS After forgetting to turn off...
-
Show HN: Polka Jot v1.0 (just a scratch pad) https://ift.tt/3JwqCDN December 31, 2021 at 11:12PM