Upload intrinsic README.
Browse files
README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
# stembolts Intrinsic Adapter
|
| 2 |
|
| 3 |
-
This intrinsic adapter is designed to diagnose and predict potential issues
|
| 4 |
|
| 5 |
## Training Data
|
| 6 |
|
| 7 |
-
The training dataset consists of
|
| 8 |
|
| 9 |
### Examples
|
| 10 |
|
|
@@ -68,14 +68,14 @@ class StemboltsAdapter(CustomGraniteCommonAdapter):
|
|
| 68 |
|
| 69 |
|
| 70 |
class StemboltsIntrinsic(Intrinsic, SimpleComponent):
|
| 71 |
-
def __init__(self,
|
| 72 |
Intrinsic.__init__(self, intrinsic_name=_INTRINSIC_ADAPTER_NAME)
|
| 73 |
SimpleComponent.__init__(self, mechanic_notes=mechanic_notes)
|
| 74 |
|
| 75 |
def format_for_llm(self):
|
| 76 |
return SimpleComponent.format_for_llm(self)
|
| 77 |
|
| 78 |
-
async def async_stembolts(
|
| 79 |
# Backend.add_adapter should be idempotent, but we'll go ahead and check just in case.
|
| 80 |
if adapter.qualified_name not in backend.list_adapters():
|
| 81 |
backend.add_adapter(StemboltsAdapter(backend.base_model_name))
|
|
@@ -84,7 +84,7 @@ async def async_stembolts((description: str) -> Dict[str, float], ctx: Context,
|
|
| 84 |
return mot
|
| 85 |
|
| 86 |
|
| 87 |
-
def stembolts(
|
| 88 |
# Backend.add_adapter should be idempotent, but we'll go ahead and check just in case.
|
| 89 |
adapter = StemboltsAdapter(backend.base_model_name)
|
| 90 |
if adapter.qualified_name not in backend.list_adapters():
|
|
|
|
| 1 |
# stembolts Intrinsic Adapter
|
| 2 |
|
| 3 |
+
This intrinsic adapter is designed to diagnose and predict potential issues in internal combustion engines based on descriptive text inputs related to engine performance problems.
|
| 4 |
|
| 5 |
## Training Data
|
| 6 |
|
| 7 |
+
The training dataset consists of plain string entries describing various symptoms and issues found in internal combustion engines. Each entry includes a predicted part that may be defective along with an associated likelihood score.
|
| 8 |
|
| 9 |
### Examples
|
| 10 |
|
|
|
|
| 68 |
|
| 69 |
|
| 70 |
class StemboltsIntrinsic(Intrinsic, SimpleComponent):
|
| 71 |
+
def __init__(self, description: str):
|
| 72 |
Intrinsic.__init__(self, intrinsic_name=_INTRINSIC_ADAPTER_NAME)
|
| 73 |
SimpleComponent.__init__(self, mechanic_notes=mechanic_notes)
|
| 74 |
|
| 75 |
def format_for_llm(self):
|
| 76 |
return SimpleComponent.format_for_llm(self)
|
| 77 |
|
| 78 |
+
async def async_stembolts(description: str, ctx: Context, backend: Backend | AdapterMixin):
|
| 79 |
# Backend.add_adapter should be idempotent, but we'll go ahead and check just in case.
|
| 80 |
if adapter.qualified_name not in backend.list_adapters():
|
| 81 |
backend.add_adapter(StemboltsAdapter(backend.base_model_name))
|
|
|
|
| 84 |
return mot
|
| 85 |
|
| 86 |
|
| 87 |
+
def stembolts(description: str, ctx: Context, backend: Backend | AdapterMixin):
|
| 88 |
# Backend.add_adapter should be idempotent, but we'll go ahead and check just in case.
|
| 89 |
adapter = StemboltsAdapter(backend.base_model_name)
|
| 90 |
if adapter.qualified_name not in backend.list_adapters():
|