Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/godel/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def disambiguate_triples(
}
) {
errors
call_id
disambiguationCallId
entities {
name
distance
Expand Down
3 changes: 2 additions & 1 deletion src/godel/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,10 @@ class CreateAllNftRequestsInput(sgqlc.types.Input):

class CreateEntityInput(sgqlc.types.Input):
__schema__ = schema
__field_names__ = ('client_mutation_id', 'statements')
__field_names__ = ('client_mutation_id', 'statements', 'disambiguation_call_id')
client_mutation_id = sgqlc.types.Field(String, graphql_name='clientMutationId')
statements = sgqlc.types.Field(sgqlc.types.list_of('StatementInputRecordInput'), graphql_name='statements')
disambiguation_call_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='disambiguationCallId')


class CreateQualifierInput(sgqlc.types.Input):
Expand Down
4 changes: 2 additions & 2 deletions tutorials/Create Entities.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
"source": [
"name = \"John Doe\"\n",
"is_a = \"0c4e6054-5fd8-48a8-817c-f6611278f755\" # Person Template Entity Id\n",
"ceo_of = \"20ab9281-fd5f-4717-ab73-ecd24fff66fe\" # Huel and Sons Entity ID\n",
"ceo_of = \"6086ed2c-3e45-4480-8ad6-aced06fac6fd\" # Golden Entity ID\n",
"email_address = \"[email protected]\"\n",
"citation_urls = [\"https://golden.com/wiki/johndoe\"]"
]
Expand Down Expand Up @@ -237,7 +237,7 @@
"# Add Email Address\n",
"statements.append(\n",
" StatementInputRecordInput(\n",
" predicate_id=predicates[\"Email address\"][\"id\"],\n",
" predicate_id=predicates[\"Email Address\"][\"id\"],\n",
" object_value=email_address,\n",
" citation_urls=citation_urls,\n",
" qualifiers=[],\n",
Expand Down