Working huggingface endpoint

This commit is contained in:
2024-05-22 22:48:53 +02:00
parent d139f36efd
commit 1603532150
8 changed files with 150 additions and 6 deletions
+8
View File
@@ -87,6 +87,14 @@ module default {
required user: User {
on target delete allow;
};
custom_endpoint: CustomEndpoint {
on source delete delete target;
};
}
type CustomEndpoint {
required endpoint: str;
required key: str;
}
type Company {
+8
View File
@@ -0,0 +1,8 @@
CREATE MIGRATION m1eiric4fqayh7eieleesdm2s66f3sk7j4incugnyk2xzncp2t4rxa
ONTO m1nonmddagbu3p7dcqmy3bvxkwinjfosg7iuna5xxwruig4rcnr4yq
{
CREATE TYPE default::customEndpoint {
CREATE REQUIRED PROPERTY endpoint: std::str;
CREATE REQUIRED PROPERTY key: std::str;
};
};
+10
View File
@@ -0,0 +1,10 @@
CREATE MIGRATION m1x75hdgm27pmshypxbzfrhje6xru5ypx65efdiu6zuwnute2xschq
ONTO m1eiric4fqayh7eieleesdm2s66f3sk7j4incugnyk2xzncp2t4rxa
{
ALTER TYPE default::customEndpoint RENAME TO default::CustomEndpoint;
ALTER TYPE default::LLM {
CREATE LINK custom_endpoint: default::CustomEndpoint {
ON SOURCE DELETE DELETE TARGET;
};
};
};