Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AncientTrait ¶
type Card ¶
type Card struct { Id string `json:"id"` Name string `json:"name"` Supertype string `json:"supertype"` Subtypes []string `json:"subtypes"` Level string `json:"level"` HP int `json:"hp"` Types []string `json:"types"` EvolvesFrom string `json:"evolves_from"` EvolvesTo []string `json:"evolves_to"` Rules []string `json:"rules"` AncientTrait AncientTrait `json:"ancient_trait"` Abilities []Ability `json:"abilities"` Attacks []Attack `json:"attack"` Weaknessess []TypeRelationship `json:"weaknesses"` Resistances []TypeRelationship `json:"resistances"` SetId string `json:"set_id"` Number string `json:"number"` Artist string `json:"artist"` Rarity string `json:"rarity"` NationalPokedexNumber int `json:"national_pokedex_number"` RetreatCost []string `json:"retreat_cost"` ConvertedRetreatCost int `json:"converted_retreat_cost"` Images Images `json:"images"` }
func FromJsonToPg ¶
type CardJson ¶
type CardJson struct { Id string `json:"id"` Name string `json:"name"` Supertype string `json:"supertype"` Subtypes []string `json:"subtypes"` Level string `json:"level"` HP string `json:"hp"` Types []string `json:"types"` EvolvesFrom string `json:"evolvesFrom"` EvolvesTo []string `json:"evolvesTo"` Rules []string `json:"rules"` AncientTrait AncientTrait `json:"ancientTrait"` Abilities []Ability `json:"abilities"` Attacks []Attack `json:"attacks"` Weaknessess []TypeRelationship `json:"weaknesses"` Resistances []TypeRelationship `json:"resistances"` Number string `json:"number"` Artist string `json:"artist"` Rarity string `json:"rarity"` NationalPokedexNumber []int `json:"nationalPokedexNumbers"` RetreatCost []string `json:"retreatCost"` ConvertedRetreatCost int `json:"convertedRetreatCost"` Images Images `json:"images"` }
type EmbeddingRequest ¶
type EmbeddingResponse ¶
type EmbeddingResponse struct {
Embeddings [][]float32 `json:"embeddings"`
}
type SimilarSearchResponse ¶
type TypeRelationship ¶
Click to show internal directories.
Click to hide internal directories.