Skip to content

Instantly share code, notes, and snippets.

View goxiaoy's full-sized avatar
🎯
Focusing

goxiaoy

🎯
Focusing
  • Shanghai
  • 11:43 (UTC +08:00)
View GitHub Profile
{
"name": "Samples for Schema Registry"
}
{
"$id": "https://example.com/person.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Person",
"type": "object",
"properties": {
"firstName": {
"type": "string",
"description": "The person's first name."
},
{
"name": "Samples for Schema Registry"
}
@goxiaoy
goxiaoy / getstream.py
Created February 24, 2021 10:33
Rasa GetStream Custom Connector.
import inspect
import logging
from asyncio import CancelledError
from typing import (Any, Awaitable, Callable, Dict, Iterable, List, Optional,
Text)
from rasa.core.channels.channel import (CollectingOutputChannel, InputChannel,
OutputChannel, UserMessage)
#https://github.com/RasaHQ/rasa/pull/7692/files
from sanic import Blueprint, response
@goxiaoy
goxiaoy / Survey.cs
Last active January 31, 2020 10:52
Survey js
//----------------------
// <auto-generated>
// Generated using the NJsonSchema v10.0.27.0 (Newtonsoft.Json v10.0.0.0) (http://NJsonSchema.org)
// </auto-generated>
//----------------------
namespace SurveyJs
{
#pragma warning disable // Disable all warnings
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "SurveyJS Library json schema",
"type": "object",
"properties": {
"pages": {
"type": "array",
"items": {
"$ref": "#/definitions/page"
}