並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 35 件 / 35件

新着順 人気順

expressionの検索結果1 - 35 件 / 35件

  • LangChain の新記法「LangChain Expression Language (LCEL)」入門

    LangChain Advent Calendar 2023 の 2 日目の記事です。 LangChain Expression Language (LCEL) とは LangChain Expression Language (LCEL) は、LangChain でのコードの新しい記述方法です。 公式ドキュメント: https://python.langchain.com/docs/expression_language/ LCEL ではプロンプトや LLM を | で繋げて書き、処理の連鎖 (Chain) を実装します。 2023 年 10 月後半頃から、LangChain では LCEL を使う実装が標準的となっています。 この記事では LCEL の基本的な使い方を紹介していきます。

      LangChain の新記法「LangChain Expression Language (LCEL)」入門
    • Starbucks Creative Expression

      Our new expression.It all starts here. Use this guide as a high-level overview of how the Starbucks brand comes to life. As we evolve to meet beautifully diverse customers all over the world, our brand has evolved too. Here we introduce a fresh new design system that maintains the core elements of our brand while keeping our customers’ experience central to creative expression. To achieve this, we

      • LCEL (LangChain Expression Language)完全に理解した - Amazon Bedrock APIで始めるLLM超入門⑨ - Qiita

        LCEL (LangChain Expression Language)完全に理解した - Amazon Bedrock APIで始めるLLM超入門⑨PythonAWSbedrocklangchainLCEL LCELからBedrockを呼び出してみます。 LCELとは LangChainでコンポーネントをchain(連続呼出)する共通のInterfaceおよびその記法です。 Interfaceは以下のページが分かり易かったですが、要はRunnable共通のメソッドを実装しているというのと、入出力の型はコンポーネント毎に異なる(chainを組む時に入出力の型を意識して合わせる必要がある)というのが理解のポイントかなと思いました。 使い方は公式のクックブックがわりと分かりやすいです。 LangChainの最新化 langchainとlangchain-communityを最新にします。安定バ

          LCEL (LangChain Expression Language)完全に理解した - Amazon Bedrock APIで始めるLLM超入門⑨ - Qiita
        • The Exhibit Lauded Freedom of Expression. It Was Silenced. (Published 2019)

          The exhibition that was closed at the Aichi Triennale in Nagoya, Japan, included a statue symbolizing women forced into sexual slavery during World War II.Credit...The Yomiuri Shimbun, via Associated Press Images TOKYO — It was an exhibit meant to celebrate freedom of expression. Instead, freedom of expression was shut down. A long, bitter battle between Japan and South Korea over historical memor

            The Exhibit Lauded Freedom of Expression. It Was Silenced. (Published 2019)
          • CVE-2021-41817: Regular Expression Denial of Service Vulnerability of Date Parsing Methods

            CVE-2021-41817: Regular Expression Denial of Service Vulnerability of Date Parsing Methods Posted by mame on 15 Nov 2021 We have released date gem version 3.2.1, 3.1.2, 3.0.2, and 2.0.1 that include a security fix for a regular expression denial of service vulnerability (ReDoS) on date parsing methods. An attacker can exploit this vulnerability to cause an effective DoS attack. This vulnerability

            • かつしか けいた KATSUSHIKA Keita on Twitter: "東京朝鮮中高級学校美術部の展示、一番インパクトがあったのがリさんのパフォーマンス「Cafe: Freedom of expression」。美術部のTwitterアカウントに向けられたヘイトコメントを紙に書き写し、紙を貼ったベニヤ… https://t.co/qtDuaBbKra"

              東京朝鮮中高級学校美術部の展示、一番インパクトがあったのがリさんのパフォーマンス「Cafe: Freedom of expression」。美術部のTwitterアカウントに向けられたヘイトコメントを紙に書き写し、紙を貼ったベニヤ… https://t.co/qtDuaBbKra

                かつしか けいた KATSUSHIKA Keita on Twitter: "東京朝鮮中高級学校美術部の展示、一番インパクトがあったのがリさんのパフォーマンス「Cafe: Freedom of expression」。美術部のTwitterアカウントに向けられたヘイトコメントを紙に書き写し、紙を貼ったベニヤ… https://t.co/qtDuaBbKra"
              • GitHub - google/latexify_py: A library to generate LaTeX expression from Python code.

                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                  GitHub - google/latexify_py: A library to generate LaTeX expression from Python code.
                • 能川元一 on Twitter: "日本のメディアと違ってNYTはちゃんと安倍政権や大阪市長が海外の「慰安婦」モニュメントを攻撃してきたことを書いてる。/The Exhibit Lauded Freedom of Expression. It Was Silence… https://t.co/uQHfVX119j"

                  日本のメディアと違ってNYTはちゃんと安倍政権や大阪市長が海外の「慰安婦」モニュメントを攻撃してきたことを書いてる。/The Exhibit Lauded Freedom of Expression. It Was Silence… https://t.co/uQHfVX119j

                    能川元一 on Twitter: "日本のメディアと違ってNYTはちゃんと安倍政権や大阪市長が海外の「慰安婦」モニュメントを攻撃してきたことを書いてる。/The Exhibit Lauded Freedom of Expression. It Was Silence… https://t.co/uQHfVX119j"
                  • The Regular Expression Visualizer, Simulator & Cross-Compiler Tool

                    This article is part of Series On Regular Expressions.  For more examples of regular expressions to visualize, check out this this list of Regular Expression Test Cases. Your Regex: String To Search: Generate New Random Matching String The Regex As A C Program Common C Code For All Regular Expressions The C source code below is the common code that is required by any of the code samples that are g

                    • Takehiro OHYA Online : Indecent Expression

                      はじめに 今回、葉影立直氏が「歩き方V」所収の「失楽園の住人たち」で主張した刑法175条違憲論について、中立的でまっとうな法律論議とはどのようなものかを紹介させていただくつもりです。参考までに言えば筆者は某国立大学法学部で公法を専攻している学生であり、以下においても、現在スタンダードな法律的考え方を述べることはできているつもりです。 最初に注意しておきます。以下にさまざまな見解を説明していきますが、それらは「私が同意できる見解」という基準で紹介しているわけではありません。この問題に対して正確に認識するためには少なくともこの程度を知っている必要があるだろうと、一方的な記述を避けて書いたものです。実のところ私自身はやや違憲論寄りなのですが、だからといって違憲論のみを紹介していてはこの記事の意味がありませんので。 なお、参照条文は文末に一括して掲げましたので、必要があったらご覧ください。 上位法

                      • 時間情報表現抽出とルールベース解析器のこれから / Temporal Expression Analysis in Japanese and Future of Rule-based Approach

                        【NLP Hacks vol.3】『実装』に特化した、NLP勉強会コミュニティ開催! https://connpass.com/event/241079/

                          時間情報表現抽出とルールベース解析器のこれから / Temporal Expression Analysis in Japanese and Future of Rule-based Approach
                        • Nifty Fold Expression Tricks

                          template <typename H, typename ... T> auto add(H head, T... tail) { return (head + ... + tail); // expands to: head + tail[0] + tail[1] + ... } If we’re willing to abuse operator evaluation rules and fold expressions, we can do a lot more. This blog posts collects useful tricks. Whenever possible, we should process a parameter pack with fold expression instead of using recursion: It is less code t

                            Nifty Fold Expression Tricks
                          • GitHub - baku89/glisp: Glisp is a Lisp-based design tool that combines generative approaches with traditional design methods, empowering artists to discover new forms of expression.

                            Demo (Chrome Only) Documentation 🇺🇸 English 🇯🇵 日本語 Glisp, an acronym for Graphical LISP, is the prototyping project to experiment what if a design tool meets a way of creative coding, and obtain the self-bootstrapping power of LISP. This tool looks like the integration of Illustrator and Processing IDE at a glance. And in fact, it adopts both benefits of intuitiveness of direct manipulation on

                              GitHub - baku89/glisp: Glisp is a Lisp-based design tool that combines generative approaches with traditional design methods, empowering artists to discover new forms of expression.
                            • Swift Expression Macros: a practical introduction

                              Swift Expression Macros: a practical introduction -実践 Swiftマクロ入門- Macro proposal timeline Swift macro overview How to implement macros Swift macro essentials Pros and cons Various kinds of macros Declaration macros Practical Example: Power Assert Summary

                                Swift Expression Macros: a practical introduction
                              • LangChain の LangChain Expression Language (LCEL) を理解する - A Day in the Life

                                LCEL は LangChain の chain を簡単に構築するための方法です。2023 年後半から開発が盛んに進んでおり、現在(2024 年1月)は LangChain のコードを記述するには、基本 LCEL を使って書く(以前の書き方もできますが)ことが推奨されています。LCEL のメリットについてはオフィシャルドキュメントの LCELを参考すると良いでしょう。 しかしながら、LCEL を書き始めると、オフィシャルドキュメント通りに書けば動くけど、ちょっとでもアレンジして書こうとするうまく動かなくなったりします。これは一重に LCEL の挙動を理解していなからなのですが、オフィシャルドキュメントやチュートリアルでは、LLM+RAG のコードなど、LCEL 使うとこんなにシンプルに書けるんだ、というコードは多くのっているのですが、LCEL の挙動についてはあまりのっておらず、のっていて

                                • 正規表現(Regular Expression)について – Automation Skill

                                  はじめにいまや正規表現というのは自動化だけではなく、様々なアプリケーションの文書上での検索/置換機能で利用できる事も多い基本的な機能となりました。もちろん自動処理においても特定の文字列を抽出・置換等に利用可能で、プログラミング上でも上手く使えば処理を簡潔に書けるようになる事も多くあります。 CCアプリケーションでは、Indesignにおける検索置換機能や段落スタイルにおける正規表現スタイル等の様に今や必須の機能となっています。また、CCアプリケーションだけではなく各スクリプト言語においてもサポートされており、自動処理においてはテキスト加工作業においては必須の技術となりますのでしっかりと押さえておきたいものです。 と、まあ、ここまでの文章を読んで頂いた方の中には「あれっ?」て思った人もいらっしゃるかと思います。この記事は過去に自動化総合フォーラムに寄稿したものの再録です。2019年9月のAd

                                    正規表現(Regular Expression)について – Automation Skill
                                  • GitHub - mathiasbynens/emoji-regex: A regular expression to match all Emoji-only symbols as per the Unicode Standard.

                                    const emojiRegex = require('emoji-regex'); // Note: because the regular expression has the global flag set, this module // exports a function that returns the regex rather than exporting the regular // expression itself, to make it impossible to (accidentally) mutate the // original regular expression. const text = ` \u{231A}: ⌚ default emoji presentation character (Emoji_Presentation) \u{2194}\u{

                                      GitHub - mathiasbynens/emoji-regex: A regular expression to match all Emoji-only symbols as per the Unicode Standard.
                                    • The Regular Expression Denial of Service (ReDoS) cheat-sheet

                                      IntroductionThis post is intended as a “technical two-pager” to summarize a security vulnerability called Regex-based Denial of Service (AKA Regex DoS, ReDoS). There are a variety of write-ups about ReDoS, but I’m not aware of a good one-stop-shop with a higher-level treatment of all aspects of the subject. I have included links at the end to more detailed treatments. I have used headings liberall

                                        The Regular Expression Denial of Service (ReDoS) cheat-sheet
                                      • proposal: expression to create pointer to simple types · Issue #45624 · golang/go

                                        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                          proposal: expression to create pointer to simple types · Issue #45624 · golang/go
                                        • GitHub - olamide203/hyoka: a lightweight and precise math expression parser and evaluator for JavaScript and TypeScript

                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                            GitHub - olamide203/hyoka: a lightweight and precise math expression parser and evaluator for JavaScript and TypeScript
                                          • Three clusters of content-audience associations in expression of racial prejudice while consuming online television news

                                            It is well investigated that the expression of racial prejudice is often induced by news coverage on the internet, and the exposure to media contributes to the cultivation of long-term prejudice. However, there is a lack of information regarding the immediate effects of news delivered through television or television-like media on the expression of racial prejudice. This study provides a framework

                                              Three clusters of content-audience associations in expression of racial prejudice while consuming online television news
                                            • PHP: rfc:match_expression_v2

                                              This RFC proposes adding a new match expression that is similar to switch but with safer semantics and the ability to return values. From the Doctrine query parser: // Before switch ($this->lexer->lookahead['type']) { case Lexer::T_SELECT: $statement = $this->SelectStatement(); break; case Lexer::T_UPDATE: $statement = $this->UpdateStatement(); break; case Lexer::T_DELETE: $statement = $this->Dele

                                              • a bland expression face had He he his letter on received the when | ならべかえ 英語 リスニング

                                                a bland expression face had He he his letter on received the when

                                                  a bland expression face had He he his letter on received the when | ならべかえ 英語 リスニング
                                                • [新機能] Amazon Redshift 階層データを簡単にクエリできる Recursive CTE(Common Table Expression)がサポートされました | DevelopersIO

                                                  [新機能] Amazon Redshift 階層データを簡単にクエリできる Recursive CTE(Common Table Expression)がサポートされました データアナリティクス事業本部コンサルティングチームの石川です。Recursive CTE(Common Table Expression)を使用して、組織図やマルチレベル製品などの階層データをクエリできるようになりました。早速、階層化データを用意して試してみます。 Recursive CTE(Common Table Expression)とは WITH句は、より複雑な問い合わせで補助的に用いるインナービューを提供します。 これらの文は共通テーブル式(Common Table Expressions)またはCTEと呼ばれるものであり、1つの問い合わせのために存在する一時テーブルと考えることができます。これを再帰的に応用

                                                    [新機能] Amazon Redshift 階層データを簡単にクエリできる Recursive CTE(Common Table Expression)がサポートされました | DevelopersIO
                                                  • LangChain Expression Language (LCEL) | 🦜️🔗 Langchain

                                                    LangChain Expression Language, or LCEL, is a declarative way to easily compose chains together. LCEL was designed from day 1 to support putting prototypes in production, with no code changes, from the simplest “prompt + LLM” chain to the most complex chains (we’ve seen folks successfully run LCEL chains with 100s of steps in production). To highlight a few of the reasons you might want to use LCEL

                                                      LangChain Expression Language (LCEL) | 🦜️🔗 Langchain
                                                    • Regular Expression Engine Comparison Chart

                                                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                        Regular Expression Engine Comparison Chart
                                                      • The Expression Amrilato on Steam

                                                        About This Game Yuri Visual NovelThe Expression Amrilato is a girl-meets-girl yuri visual novel. This visual novel is for people who: Enjoy subtle love-like feelings between girls. Have an intellectual curiosity for learning. Just like watching cute girls having fun. Are willing to take in a touching story that will probably make you cry.StoryRin was just buying a snack in her hometown’s shopping

                                                          The Expression Amrilato on Steam
                                                        • GitHub - EricSmekens/jsep: JavaScript Expression Parser

                                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                            GitHub - EricSmekens/jsep: JavaScript Expression Parser
                                                          • 窓辺の小石(48) Nova Expression

                                                            最近は、エディタの検索や置換でも正規表現(Regular Expression)が使えるのが当たり前になっている。正規表現は、便利な検索機能という見方もあるが、正規表現は「言語」で、ソフトウェア開発を大きく変えた技術の1つだ。 プログラムで文字列の処理などを行うとき、正規表現を使えるかどうかで効率が大きく違い、またソフトウェアの書き方も異なってくる。筆者がコンピュータを使い始めた1970年台、BASIC言語の文字列処理は、いまから考えるとひどく原始的なものだった。Excelの数式による文字列処理は、いまでも当時のままだ。もちろん便利な関数は増えたが考え方は同じ、Xは何文字目から始まるかを探す、文字列の前半、後半、中間部分を取り出す、文字列をつなげる、といった機能を使って文字列を処理していく。イメージ的には、テープの切り貼りみたいな感じの作業だ(わかるかなぁ)。固定したパターンの処理はなんと

                                                              窓辺の小石(48) Nova Expression
                                                            • MoqでExpressionを引数に取るメソッド をセットアップする メモ

                                                              背景 引数に条件式(Expression)を取るメソッドをMoqにSetupしようとした際に少しハマったのでメモ。 環境 IDE:Visual Studio Community 2019 Ver.16.8.2 .NET Version:Core 3.1 言語:C# TestFramework:xUnit 2.4.1 Moq Version:4.15.2 Moqについて Moqとは Moqは. Net用の模擬ライブラリです。 ユニットテストを容易にするために、依存関係との対話をシミュレートして検証することができます。 Moq Github moq / moq4 本題 たとえばこのようなUserクラスがあります。 User classinternal class User { public User(UserId userId, UserName userName, UserAge userA

                                                                MoqでExpressionを引数に取るメソッド をセットアップする メモ
                                                              • growpartコマンドが「arithmetic expression」エラーで失敗する際の対処法 | DevelopersIO

                                                                困っていた内容 Linux系OSのインスタンスのEBSボリュームサイズを増加させた後、ドキュメントを参考にパーティションの拡張を実施しました。 Linux ファイルシステムの拡張 - Amazon Elastic Compute Cloud ルートボリュームを拡張する手順においてgrowpartコマンドを実行しましたが、エラーが発生しました。 sudo growpart /dev/nvme0n1 1 /usr/bin/growpart: arithmetic expression: expecting primary: "シリンダ*ヘッド*63" エラーを解消するにはどうしたら良いですか? どう対応すればいいの? この「syntax error: operand expected 」エラーは、シェルの言語を日本語に設定していることが影響し発生している場合があります。 システムのロケール設定

                                                                  growpartコマンドが「arithmetic expression」エラーで失敗する際の対処法 | DevelopersIO
                                                                • GitHub - eosphoros-ai/DB-GPT: AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents

                                                                  The architecture of DB-GPT is shown in the following figure: The core capabilities include the following parts: RAG (Retrieval Augmented Generation): RAG is currently the most practically implemented and urgently needed domain. DB-GPT has already implemented a framework based on RAG, allowing users to build knowledge-based applications using the RAG capabilities of DB-GPT. GBI (Generative Business

                                                                    GitHub - eosphoros-ai/DB-GPT: AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents
                                                                  • Amazon CloudWatch Logs announces regular expression filter pattern syntax support

                                                                    We are excited to announce regular expression support for Amazon CloudWatch Logs filter pattern syntax, making it easier to search and match relevant logs. Customers use filter pattern syntax today to search logs, extract metrics using metric filters, and send specific logs to other destinations with subscription filters. With today’s launch, customers will be able to further customize these opera

                                                                      Amazon CloudWatch Logs announces regular expression filter pattern syntax support
                                                                    • Regular Expression Improvements in .NET 7 - .NET Blog

                                                                      A friend once quipped to me that “computer science is entirely about sorting and searching”. While that’s a gross overgeneralization, there’s a grain of truth to it. Searching is, in one way, shape, or form, at the heart of many workloads, and it’s so important that multiple domain-specific languages have been created over the years to ease the task of expressing searches. Arguably none is more ub

                                                                        Regular Expression Improvements in .NET 7 - .NET Blog
                                                                      • Free Online Cron Expression Generator and Describer - FreeFormatter.com

                                                                        Generate a quartz cron expression with an easy to use online interface. Convert a cron expression into a readable text that clearly explains when it will execute, and visualize the next execution dates of your cron expression.

                                                                        1