Documentation ¶
Index ¶
- func CleanUpWeaviate(t *testing.T, client *weaviate.Client)
- func CreateTestClient() *weaviate.Client
- func CreateTestSchemaAndData(t *testing.T, client *weaviate.Client)
- func CreateWeaviateTestSchemaFood(t *testing.T, client *weaviate.Client)
- func CreateWeaviateTestSchemaFoodWithReferenceProperty(t *testing.T, client *weaviate.Client)
- func CreateWeaviateTestSchemaWithVectorizorlessClass(t *testing.T, client *weaviate.Client)
- func ParseReferenceResponseToStruct(t *testing.T, reference interface{}) models.MultipleRef
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanUpWeaviate ¶
CleanUpWeaviate removes the schema and thereby all data
func CreateTestClient ¶
CreateTestClient running on local host 8080
func CreateTestSchemaAndData ¶
CreateTestSchemaAndData with a few pizzas and soups
func CreateWeaviateTestSchemaFood ¶
CreateWeaviateTestSchemaFood creates a class for each semantic type (Pizza and Soup) and adds some primitive properties (name and description)
func CreateWeaviateTestSchemaFoodWithReferenceProperty ¶
CreateWeaviateTestSchemaFoodWithReferenceProperty create the testing schema with a reference field otherFoods on both classes
func CreateWeaviateTestSchemaWithVectorizorlessClass ¶ added in v2.4.1
func ParseReferenceResponseToStruct ¶
func ParseReferenceResponseToStruct(t *testing.T, reference interface{}) models.MultipleRef
ParseReferenceResponseToStruct from the interface typed property schema returned by the client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.