package snippet import ( "context" "github.com/qdrant/go-client/qdrant" ) func Main() { // @hide-start client, err := qdrant.NewClient(&qdrant.Config{ Host: "xyz-example.qdrant.io", Port: 6334, APIKey: "", UseTLS: true, }) // @hide-end if err != nil { panic(err) } // @hide client.Query(context.Background(), &qdrant.QueryPoints{ CollectionName: "{collection_name}", Query: qdrant.NewQueryNearest( qdrant.NewVectorInputDocument(&qdrant.Document{ Text: "My Query Text", Model: "", }), ), }) }