feat: Add combinatorial reasoning as a component (#4782)
* Add Icosa's Combinatorial Reasoner as component under tools * Remove temporary testing tool revert unit test script * reverting changes to locks * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * Moved combinatorial reasoner component to separate icosacomputing folder for Icosa's bundle --------- Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
4d599590e2
commit
2a434f6844
8 changed files with 205 additions and 2 deletions
|
|
@ -44,6 +44,28 @@ This component creates a tool for performing basic arithmetic operations on a gi
|
|||
|
||||
This component allows you to evaluate basic arithmetic expressions. It supports addition, subtraction, multiplication, division, and exponentiation. The tool uses a secure evaluation method that prevents the execution of arbitrary Python code.
|
||||
|
||||
## Combinatorial Reasoner
|
||||
|
||||
This component runs Icosa's Combinatorial Reasoning (CR) pipeline on an input to create an optimized prompt with embedded reasons. Sign up for access here: https://forms.gle/oWNv2NKjBNaqqvCx6
|
||||
|
||||
### Parameters
|
||||
|
||||
#### Inputs
|
||||
| Name | Display Name | Description |
|
||||
|------------------------|--------------|---------------------------------------|
|
||||
| prompt | Prompt | Input to run CR on |
|
||||
| openai_api_key | OpenAI API Key | OpenAI API key for authentication |
|
||||
| username | Username | Username for Icosa API authentication |
|
||||
| password | Password | Password for Icosa API authentication |
|
||||
| model_name | Model Name | OpenAI LLM to use for reason generation|
|
||||
|
||||
#### Outputs
|
||||
|
||||
| Name | Display Name | Description |
|
||||
|---------|-----------|--------------------------------------|
|
||||
| optimized_prompt | Optimized Prompt| A message object containing the optimized prompt |
|
||||
| reasons | Selected Reasons| A list of the selected reasons that are embedded in the optimized prompt|
|
||||
|
||||
## Glean Search API
|
||||
|
||||
This component allows you to call the Glean Search API.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
[tool.uv.sources]
|
||||
langflow-base = { workspace = true }
|
||||
langflow = { workspace = true }
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
from .combinatorial_reasoner import CombinatorialReasonerComponent
|
||||
|
||||
__all__ = [
|
||||
"CombinatorialReasonerComponent",
|
||||
]
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
import requests
|
||||
from requests.auth import HTTPBasicAuth
|
||||
|
||||
from langflow.base.models.openai_constants import OPENAI_MODEL_NAMES
|
||||
from langflow.custom import Component
|
||||
from langflow.inputs import DropdownInput, SecretStrInput, StrInput
|
||||
from langflow.io import MessageTextInput, Output
|
||||
from langflow.schema import Data
|
||||
from langflow.schema.message import Message
|
||||
|
||||
|
||||
class CombinatorialReasonerComponent(Component):
|
||||
display_name = "Combinatorial Reasoner"
|
||||
description = "Uses Combinatorial Optimization to construct an optimal prompt with embedded reasons. Sign up here:\nhttps://forms.gle/oWNv2NKjBNaqqvCx6"
|
||||
icon = "Icosa"
|
||||
name = "Combinatorial Reasoner"
|
||||
|
||||
inputs = [
|
||||
MessageTextInput(name="prompt", display_name="Prompt"),
|
||||
SecretStrInput(
|
||||
name="openai_api_key",
|
||||
display_name="OpenAI API Key",
|
||||
info="The OpenAI API Key to use for the OpenAI model.",
|
||||
advanced=False,
|
||||
value="OPENAI_API_KEY",
|
||||
),
|
||||
StrInput(
|
||||
name="username",
|
||||
display_name="Username",
|
||||
info="Username to authenticate access to Icosa CR API",
|
||||
advanced=False,
|
||||
),
|
||||
SecretStrInput(
|
||||
name="password",
|
||||
display_name="Password",
|
||||
info="Password to authenticate access to Icosa CR API.",
|
||||
advanced=False,
|
||||
),
|
||||
DropdownInput(
|
||||
name="model_name",
|
||||
display_name="Model Name",
|
||||
advanced=False,
|
||||
options=OPENAI_MODEL_NAMES,
|
||||
value=OPENAI_MODEL_NAMES[0],
|
||||
),
|
||||
]
|
||||
|
||||
outputs = [
|
||||
Output(
|
||||
display_name="Optimized Prompt",
|
||||
name="optimized_prompt",
|
||||
method="build_prompt",
|
||||
),
|
||||
Output(display_name="Selected Reasons", name="reasons", method="build_reasons"),
|
||||
]
|
||||
|
||||
def build_prompt(self) -> Message:
|
||||
params = {
|
||||
"prompt": self.prompt,
|
||||
"apiKey": self.openai_api_key,
|
||||
"model": self.model_name,
|
||||
}
|
||||
|
||||
creds = HTTPBasicAuth(self.username, password=self.password)
|
||||
response = requests.post(
|
||||
"https://cr-api.icosacomputing.com/cr/langflow",
|
||||
json=params,
|
||||
auth=creds,
|
||||
timeout=100,
|
||||
)
|
||||
response.raise_for_status()
|
||||
|
||||
prompt = response.json()["prompt"]
|
||||
|
||||
self.reasons = response.json()["finalReasons"]
|
||||
return prompt
|
||||
|
||||
def build_reasons(self) -> Data:
|
||||
# list of selected reasons
|
||||
final_reasons = [reason[0] for reason in self.reasons]
|
||||
return Data(value=final_reasons)
|
||||
41
src/frontend/src/icons/Icosa/Icosa.jsx
Normal file
41
src/frontend/src/icons/Icosa/Icosa.jsx
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
const SvgIcosa = ({ ...props }) => (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
width="1.4em"
|
||||
height="1.4em"
|
||||
viewBox="0 0 676.47998 742.08002"
|
||||
>
|
||||
<defs id="defs1" />
|
||||
<path
|
||||
fill="#cac2db"
|
||||
d="m 8.4799998,519.97203 -2.56,-0.59069 L 2.959677,519.16342 -6.4587278e-4,518.9455 0.07967706,361.86368 0.16,204.78185 l 2.582911,-0.89438 2.582911,-0.89438 2.8259414,-1.50331 2.8259416,-1.50332 1.951147,-1.43116 1.951148,-1.43116 1.040303,-0.84331 1.040302,-0.84331 61.839696,27.92691 61.839699,27.92691 v 5.31433 5.31434 l 0.58256,2.72 0.58256,2.72 0.79573,2.4 0.79574,2.4 1.23618,2.56 1.23619,2.56 1.78109,2.65387 1.7811,2.65387 L 80.715574,401.6131 12,520.63844 l -0.48,-0.0378 -0.48,-0.0379 z"
|
||||
/>
|
||||
<path
|
||||
fill="#b5aad0"
|
||||
d="m 40.814853,552.88001 -0.12506,-0.4 -0.388575,-1.76 -0.388575,-1.76 -0.792184,-2.24 -0.792185,-2.24 -1.592389,-3.11722 -1.59239,-3.11723 -1.573315,-2.15807 -1.573316,-2.15807 0.08157,-0.20037 0.08157,-0.20036 68.480006,-118.615 68.47999,-118.615 0.64,0.18216 0.64,0.18217 2.87999,0.68728 2.88,0.68728 5.5834,0.0589 5.58339,0.0589 59.06615,114.81858 59.06615,114.81858 -1.71007,2.55487 -1.71008,2.55488 -0.81433,1.60701 -0.81434,1.60702 -1.05444,2.74183 -1.05443,2.74183 -0.65098,3.04 -0.65097,3.04 -0.22373,2.8 -0.22373,2.8 H 168.74595 40.939913 Z m 48.945144,-350.81014 -60.479998,-27.3366 0.07893,-0.32342 0.07893,-0.32342 0.513962,-3.12321 0.513963,-3.12322 -0.178521,-4.48 -0.17852,-4.48 -0.192226,-0.64556 -0.192226,-0.64556 136.402429,-78.75212 136.40243,-78.75212259 1.77542,2.50104469 1.77542,2.5010447 1.02168,1.2395491 1.02167,1.239549 -60.06167,104.0632851 -60.06168,104.06329 -1.28,-0.21698 -1.28,-0.21697 -4,0.0241 -4,0.0241 -3.2,0.63495 -3.19999,0.63495 -2.08,0.69813 -2.08,0.69813 -2.68447,1.25367 -2.68447,1.25366 -2.69175,1.79104 -2.69176,1.79103 -2.82556,2.68889 -2.82556,2.68889 -0.11822,-0.0168 -0.11821,-0.0168 z"
|
||||
/>
|
||||
<path
|
||||
fill="#856fa7"
|
||||
d="M 169.84,663.28372 33.919999,584.80846 v -0.23343 -0.23342 l 1.2,-1.86427 1.2,-1.86427 0.7747,-1.66653 0.7747,-1.66653 H 171.22803 304.58666 l 0.10666,0.30091 0.10667,0.30091 1.76,2.13963 1.76,2.13964 2.5383,2.20894 2.5383,2.20895 2.11196,1.39137 2.11197,1.39137 2.22974,1.10577 2.22973,1.10576 2,0.73239 2,0.7324 v 67.59043 67.59043 l -2.32,0.89877 -2.32,0.89878 -1.78259,0.8874 -1.78259,0.88741 -2.98671,1.99778 -2.98672,1.99778 -2.98659,2.98659 -2.98659,2.9866 -0.0841,-5.2e-4 -0.0841,-5.2e-4 z m 50.94378,-420.96371 -0.38585,-1.2 -1.41601,-2.84712 -1.41602,-2.84713 -0.99454,-1.47287 -0.99453,-1.47288 -1.44305,-1.76 -1.44304,-1.76 -1.44434,-1.51086 -1.44434,-1.51086 0.39371,-0.72914 0.39371,-0.72914 59.1278,-102.40001 59.1278,-102.4 1.09745,0.03614 1.09746,0.03614 3.62271,0.413567 3.62271,0.413568 3.57729,-0.423131 3.57729,-0.42313 1.0881,-0.02658 1.08809,-0.02658 59.81212,103.590266 59.81211,103.59027 -2.12176,2.43284 -2.12175,2.43284 -1.59642,2.44547 -1.59642,2.44547 -1.06007,2.25142 -1.06008,2.25143 -0.42624,1.2 -0.42625,1.2 H 339.00052 221.16963 Z"
|
||||
/>
|
||||
<path
|
||||
fill="#6b4d96"
|
||||
d="m 267.67385,401.82204 -57.59386,-111.93796 -0.43617,-0.89583 -0.43617,-0.89582 2.17552,-2.20621 2.17552,-2.20621 1.78945,-2.41168 1.78944,-2.41168 1.40869,-2.70767 1.40868,-2.70767 1.02853,-2.88065 1.02853,-2.88065 H 339.0194 456.02679 l 0.9081,2.59463 0.90811,2.59464 1.52613,2.95487 1.52613,2.95487 1.43867,1.97049 1.43867,1.9705 1.98645,2.24 1.98645,2.24 -58.19207,113.11977 -58.19208,113.11978 -0.31404,0.10468 -0.31405,0.10468 -2.63923,-0.6674 -2.63922,-0.66741 -3.60741,-0.37603 -3.60741,-0.37603 -3.63057,0.37845 -3.63058,0.37844 -2.85556,0.72054 -2.85557,0.72053 z"
|
||||
/>
|
||||
<path
|
||||
fill="#5f3c8c"
|
||||
d="m 368.16918,739.30148 -2.23082,-2.40505 -2.72918,-2.05456 -2.72919,-2.05455 -3.04,-1.55642 -3.04,-1.55643 -2,-0.7201 -2,-0.72011 v -67.6114 -67.61141 l 1.68,-0.54615 1.68,-0.54615 2.73353,-1.34496 2.73354,-1.34497 2.38725,-1.61091 2.38726,-1.6109 2.46987,-2.30658 2.46986,-2.30658 1.6369,-2.05712 1.6369,-2.05712 h 137.02376 137.02376 l 1.01473,2.05777 1.01473,2.05777 -1.34605,0.78317 -1.34605,0.78318 -137.53035,79.39906 -137.53035,79.39906 -0.0696,-0.0267 -0.0697,-0.0267 z m 11.5239,-188.82147 -0.2226,-2.8 -0.47811,-2.4 -0.47811,-2.4 -0.92598,-2.78493 -0.92599,-2.78492 -1.2551,-2.49627 -1.2551,-2.49627 -1.5063,-2.2388 -1.50629,-2.23881 2.03024,-4.05373 2.03025,-4.05374 57.12,-111.03632 57.12,-111.03633 0.96,0.21006 0.96,0.21006 5.28,-0.0262 5.28,-0.0262 2.78899,-0.63978 2.78899,-0.63978 70.2605,121.6963 70.2605,121.6963 -0.98678,1.95481 -0.98679,1.95481 -1.08758,3.25488 -1.08758,3.25487 -0.21603,1.36 -0.21603,1.36 H 511.67694 379.91569 Z"
|
||||
/>
|
||||
<path
|
||||
fill="#563c8a"
|
||||
d="m 524.94997,226.86823 -1.90999,-1.93178 -2.72,-1.94102 -2.71999,-1.94102 -2.81728,-1.41909 -2.81728,-1.41909 -2.79523,-0.93649 -2.79524,-0.93649 -3.02749,-0.53548 -3.02748,-0.53547 -4.32,0.0175 -4.32,0.0175 -1.48875,0.29919 -1.48875,0.2992 -60.14735,-104.17962 -60.14735,-104.1796132 1.61208,-1.9332334 1.61208,-1.9332333 1.14402,-1.7625779 1.14402,-1.76257794 134.89323,77.88146374 134.89324,77.881462 -0.40054,2.28112 -0.40054,2.28111 -0.0127,4.38866 -0.0127,4.38865 0.63575,3.2796 0.63575,3.27959 -0.23575,0.22786 -0.23575,0.22785 -58.18434,26.2639 -58.18433,26.2639 h -0.22568 -0.22568 z"
|
||||
/>
|
||||
<path
|
||||
fill="#422766"
|
||||
d="m 596.91994,403.42353 -69.12729,-119.73189 1.8134,-2.44574 1.8134,-2.44573 1.65162,-3.21535 1.65161,-3.21535 0.92807,-2.84001 0.92807,-2.84001 0.55275,-3.30566 0.55275,-3.30566 -0.15042,-4.68618 -0.15042,-4.68617 59.98398,-27.08507 59.98397,-27.08507 2.48419,1.84192 2.4842,1.84191 3.16008,1.60945 3.16008,1.60945 2.56,0.83465 2.56,0.83465 1.28,0.26049 1.28,0.26049 0.0803,157.0195 0.0803,157.01951 -0.88033,0.18496 -0.88032,0.18496 -3.2,1.05346 -3.2,1.05347 -1.13637,0.50546 -1.13638,0.50546 z"
|
||||
/>
|
||||
</svg>
|
||||
);
|
||||
export default SvgIcosa;
|
||||
45
src/frontend/src/icons/Icosa/Icosa.svg
Normal file
45
src/frontend/src/icons/Icosa/Icosa.svg
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
<svg
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
width="676.47998"
|
||||
height="742.08002"
|
||||
viewBox="0 0 676.47998 742.08002"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlnsSvg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
id="g1">
|
||||
<g
|
||||
id="g2">
|
||||
<path
|
||||
style="fill:#cac2db"
|
||||
d="m 8.4799998,519.97203 -2.56,-0.59069 L 2.959677,519.16342 -6.4587278e-4,518.9455 0.07967706,361.86368 0.16,204.78185 l 2.582911,-0.89438 2.582911,-0.89438 2.8259414,-1.50331 2.8259416,-1.50332 1.951147,-1.43116 1.951148,-1.43116 1.040303,-0.84331 1.040302,-0.84331 61.839696,27.92691 61.839699,27.92691 v 5.31433 5.31434 l 0.58256,2.72 0.58256,2.72 0.79573,2.4 0.79574,2.4 1.23618,2.56 1.23619,2.56 1.78109,2.65387 1.7811,2.65387 L 80.715574,401.6131 12,520.63844 l -0.48,-0.0378 -0.48,-0.0379 z"
|
||||
id="path8" />
|
||||
<path
|
||||
style="fill:#b5aad0"
|
||||
d="m 40.814853,552.88001 -0.12506,-0.4 -0.388575,-1.76 -0.388575,-1.76 -0.792184,-2.24 -0.792185,-2.24 -1.592389,-3.11722 -1.59239,-3.11723 -1.573315,-2.15807 -1.573316,-2.15807 0.08157,-0.20037 0.08157,-0.20036 68.480006,-118.615 68.47999,-118.615 0.64,0.18216 0.64,0.18217 2.87999,0.68728 2.88,0.68728 5.5834,0.0589 5.58339,0.0589 59.06615,114.81858 59.06615,114.81858 -1.71007,2.55487 -1.71008,2.55488 -0.81433,1.60701 -0.81434,1.60702 -1.05444,2.74183 -1.05443,2.74183 -0.65098,3.04 -0.65097,3.04 -0.22373,2.8 -0.22373,2.8 H 168.74595 40.939913 Z m 48.945144,-350.81014 -60.479998,-27.3366 0.07893,-0.32342 0.07893,-0.32342 0.513962,-3.12321 0.513963,-3.12322 -0.178521,-4.48 -0.17852,-4.48 -0.192226,-0.64556 -0.192226,-0.64556 136.402429,-78.75212 136.40243,-78.75212259 1.77542,2.50104469 1.77542,2.5010447 1.02168,1.2395491 1.02167,1.239549 -60.06167,104.0632851 -60.06168,104.06329 -1.28,-0.21698 -1.28,-0.21697 -4,0.0241 -4,0.0241 -3.2,0.63495 -3.19999,0.63495 -2.08,0.69813 -2.08,0.69813 -2.68447,1.25367 -2.68447,1.25366 -2.69175,1.79104 -2.69176,1.79103 -2.82556,2.68889 -2.82556,2.68889 -0.11822,-0.0168 -0.11821,-0.0168 z"
|
||||
id="path7" />
|
||||
<path
|
||||
style="fill:#856fa7"
|
||||
d="M 169.84,663.28372 33.919999,584.80846 v -0.23343 -0.23342 l 1.2,-1.86427 1.2,-1.86427 0.7747,-1.66653 0.7747,-1.66653 H 171.22803 304.58666 l 0.10666,0.30091 0.10667,0.30091 1.76,2.13963 1.76,2.13964 2.5383,2.20894 2.5383,2.20895 2.11196,1.39137 2.11197,1.39137 2.22974,1.10577 2.22973,1.10576 2,0.73239 2,0.7324 v 67.59043 67.59043 l -2.32,0.89877 -2.32,0.89878 -1.78259,0.8874 -1.78259,0.88741 -2.98671,1.99778 -2.98672,1.99778 -2.98659,2.98659 -2.98659,2.9866 -0.0841,-5.2e-4 -0.0841,-5.2e-4 z m 50.94378,-420.96371 -0.38585,-1.2 -1.41601,-2.84712 -1.41602,-2.84713 -0.99454,-1.47287 -0.99453,-1.47288 -1.44305,-1.76 -1.44304,-1.76 -1.44434,-1.51086 -1.44434,-1.51086 0.39371,-0.72914 0.39371,-0.72914 59.1278,-102.40001 59.1278,-102.4 1.09745,0.03614 1.09746,0.03614 3.62271,0.413567 3.62271,0.413568 3.57729,-0.423131 3.57729,-0.42313 1.0881,-0.02658 1.08809,-0.02658 59.81212,103.590266 59.81211,103.59027 -2.12176,2.43284 -2.12175,2.43284 -1.59642,2.44547 -1.59642,2.44547 -1.06007,2.25142 -1.06008,2.25143 -0.42624,1.2 -0.42625,1.2 H 339.00052 221.16963 Z"
|
||||
id="path6" />
|
||||
<path
|
||||
style="fill:#6b4d96"
|
||||
d="m 267.67385,401.82204 -57.59386,-111.93796 -0.43617,-0.89583 -0.43617,-0.89582 2.17552,-2.20621 2.17552,-2.20621 1.78945,-2.41168 1.78944,-2.41168 1.40869,-2.70767 1.40868,-2.70767 1.02853,-2.88065 1.02853,-2.88065 H 339.0194 456.02679 l 0.9081,2.59463 0.90811,2.59464 1.52613,2.95487 1.52613,2.95487 1.43867,1.97049 1.43867,1.9705 1.98645,2.24 1.98645,2.24 -58.19207,113.11977 -58.19208,113.11978 -0.31404,0.10468 -0.31405,0.10468 -2.63923,-0.6674 -2.63922,-0.66741 -3.60741,-0.37603 -3.60741,-0.37603 -3.63057,0.37845 -3.63058,0.37844 -2.85556,0.72054 -2.85557,0.72053 z"
|
||||
id="path5" />
|
||||
<path
|
||||
style="fill:#5f3c8c"
|
||||
d="m 368.16918,739.30148 -2.23082,-2.40505 -2.72918,-2.05456 -2.72919,-2.05455 -3.04,-1.55642 -3.04,-1.55643 -2,-0.7201 -2,-0.72011 v -67.6114 -67.61141 l 1.68,-0.54615 1.68,-0.54615 2.73353,-1.34496 2.73354,-1.34497 2.38725,-1.61091 2.38726,-1.6109 2.46987,-2.30658 2.46986,-2.30658 1.6369,-2.05712 1.6369,-2.05712 h 137.02376 137.02376 l 1.01473,2.05777 1.01473,2.05777 -1.34605,0.78317 -1.34605,0.78318 -137.53035,79.39906 -137.53035,79.39906 -0.0696,-0.0267 -0.0697,-0.0267 z m 11.5239,-188.82147 -0.2226,-2.8 -0.47811,-2.4 -0.47811,-2.4 -0.92598,-2.78493 -0.92599,-2.78492 -1.2551,-2.49627 -1.2551,-2.49627 -1.5063,-2.2388 -1.50629,-2.23881 2.03024,-4.05373 2.03025,-4.05374 57.12,-111.03632 57.12,-111.03633 0.96,0.21006 0.96,0.21006 5.28,-0.0262 5.28,-0.0262 2.78899,-0.63978 2.78899,-0.63978 70.2605,121.6963 70.2605,121.6963 -0.98678,1.95481 -0.98679,1.95481 -1.08758,3.25488 -1.08758,3.25487 -0.21603,1.36 -0.21603,1.36 H 511.67694 379.91569 Z"
|
||||
id="path4" />
|
||||
<path
|
||||
style="fill:#563c8a"
|
||||
d="m 524.94997,226.86823 -1.90999,-1.93178 -2.72,-1.94102 -2.71999,-1.94102 -2.81728,-1.41909 -2.81728,-1.41909 -2.79523,-0.93649 -2.79524,-0.93649 -3.02749,-0.53548 -3.02748,-0.53547 -4.32,0.0175 -4.32,0.0175 -1.48875,0.29919 -1.48875,0.2992 -60.14735,-104.17962 -60.14735,-104.1796132 1.61208,-1.9332334 1.61208,-1.9332333 1.14402,-1.7625779 1.14402,-1.76257794 134.89323,77.88146374 134.89324,77.881462 -0.40054,2.28112 -0.40054,2.28111 -0.0127,4.38866 -0.0127,4.38865 0.63575,3.2796 0.63575,3.27959 -0.23575,0.22786 -0.23575,0.22785 -58.18434,26.2639 -58.18433,26.2639 h -0.22568 -0.22568 z"
|
||||
id="path3" />
|
||||
<path
|
||||
style="fill:#422766"
|
||||
d="m 596.91994,403.42353 -69.12729,-119.73189 1.8134,-2.44574 1.8134,-2.44573 1.65162,-3.21535 1.65161,-3.21535 0.92807,-2.84001 0.92807,-2.84001 0.55275,-3.30566 0.55275,-3.30566 -0.15042,-4.68618 -0.15042,-4.68617 59.98398,-27.08507 59.98397,-27.08507 2.48419,1.84192 2.4842,1.84191 3.16008,1.60945 3.16008,1.60945 2.56,0.83465 2.56,0.83465 1.28,0.26049 1.28,0.26049 0.0803,157.0195 0.0803,157.01951 -0.88033,0.18496 -0.88032,0.18496 -3.2,1.05346 -3.2,1.05347 -1.13637,0.50546 -1.13638,0.50546 z"
|
||||
id="path2" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6 KiB |
8
src/frontend/src/icons/Icosa/index.tsx
Normal file
8
src/frontend/src/icons/Icosa/index.tsx
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import React, { forwardRef } from "react";
|
||||
import SvgIcosa from "./Icosa";
|
||||
|
||||
export const IcosaIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
|
||||
(props, ref) => {
|
||||
return <SvgIcosa ref={ref} {...props} />;
|
||||
},
|
||||
);
|
||||
|
|
@ -263,6 +263,7 @@ import { GroqIcon } from "../icons/Groq";
|
|||
import { HCDIcon } from "../icons/HCD";
|
||||
import { HuggingFaceIcon } from "../icons/HuggingFace";
|
||||
import { IFixIcon } from "../icons/IFixIt";
|
||||
import { IcosaIcon } from "../icons/Icosa";
|
||||
import { LMStudioIcon } from "../icons/LMStudio";
|
||||
import { LangChainIcon } from "../icons/LangChain";
|
||||
import { MaritalkIcon } from "../icons/Maritalk";
|
||||
|
|
@ -506,6 +507,7 @@ export const SIDEBAR_BUNDLES = [
|
|||
{ display_name: "Notion", name: "Notion", icon: "Notion" },
|
||||
{ display_name: "NVIDIA", name: "nvidia", icon: "NVIDIA" },
|
||||
{ display_name: "Vectara", name: "vectara", icon: "Vectara" },
|
||||
{ display_name: "Icosa Computing", name: "icosacomputing", icon: "Icosa" },
|
||||
{ display_name: "Google", name: "google", icon: "Google" },
|
||||
{ display_name: "CrewAI", name: "crewai", icon: "CrewAI" },
|
||||
{ display_name: "NotDiamond", name: "notdiamond", icon: "NotDiamond" },
|
||||
|
|
@ -633,6 +635,7 @@ export const nodeIconsLucide: iconsType = {
|
|||
HuggingFaceHub: HuggingFaceIcon,
|
||||
HuggingFace: HuggingFaceIcon,
|
||||
HuggingFaceEmbeddings: HuggingFaceIcon,
|
||||
Icosa: IcosaIcon,
|
||||
IFixitLoader: IFixIcon,
|
||||
CrewAI: CrewAiIcon,
|
||||
NotDiamond: NotDiamondIcon,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue