File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
acorn-examples/acorn-example-rick-and-morty
acorn-graphql/src/main/java/com/datasqrl/ai/converter Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ mvn spring-boot:run
4949Then query the API:
5050
5151```
52- curl --location 'http://localhost:8080/agent?message =List all characters who appeared in episode Pilot'
52+ curl --location 'http://localhost:8080/agent?prompt =List all characters who appeared in episode Pilot'
5353```
5454
5555
Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ private static GraphQLSchema getSchema(String schemaString) {
8585 TypeDefinitionRegistry typeRegistry = new SchemaParser ().parse (schemaString );
8686 RuntimeWiring .Builder runtimeWiringBuilder = RuntimeWiring .newRuntimeWiring ();
8787 getExtendedScalars ().forEach (runtimeWiringBuilder ::scalar );
88+ // custom name for bigInteger on sqrl
89+ runtimeWiringBuilder .scalar (
90+ ExtendedScalars .GraphQLBigInteger .transform (builder -> builder .name ("GraphQLBigInteger" )));
8891 return new SchemaGenerator ().makeExecutableSchema (typeRegistry , runtimeWiringBuilder .build ());
8992 }
9093
You can’t perform that action at this time.
0 commit comments